Help answer threads with 0 replies.
Go Back > Blogs > unSpawn
User Name


Rate this Entry

Bro, ImportError: No module named BroControl

Posted 06-14-2014 at 03:32 AM by unSpawn

Should you run bro-1.5.1-9 on Fedora and wonder what
detected unhandled Python exception in '/usr/bin/broctl'
Traceback (most recent call last):
File "/usr/bin/broctl", line 703, in <module>
from BroControl import util
ImportError: No module named BroControl
means and found Fedora Bugzilla wanting for not fixing the same bug in Fedora 14 and 16 with status "CLOSED WONTFIX" then check out the "/usr/bin/broctl" script as it may be a simple build error:

~]# diff -urN /usr/bin/broctl.prev /usr/bin/broctl
--- /usr/bin/broctl.prev        2014-06-10 00:00:00.000000000 +0000
+++ /usr/bin/broctl     2014-06-10 00:00:00.000000001 +0000
@@ -37,7 +37,7 @@
 # Adjust the PYTHONPATH. (If we're installing the make-wrapper will have already
 # set it correctly.)
 if not "BROCTL_INSTALL" in os.environ:
-    sys.path = [os.path.join(BroBase, "/usr//usr/lib/broctl")] + sys.path
+    sys.path = [os.path.join(BroBase, "/usr/lib/broctl")] + sys.path
 # We need to add the directory of the Broccoli library files
 # to the linker's runtime search path. This is hack which
Posted in Uncategorized
Views 4106 Comments 0
« Prev     Main     Next »


All times are GMT -5. The time now is 10:26 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration