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
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:
Code:
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
Code:
~]# 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