broccoli/swig issue with 2.0-beta

10073 ~ % sudo /spare/tmp/bro/bin/broctl status
warning: removing stale lock
Name Type Host Status Pid Peers Started
Traceback (most recent call last):
  File "/spare/tmp/bro/bin/broctl", line 888, in <module>
  File "/usr/lib/python2.5/", line 219, in onecmd
    return func(arg)
  File "/spare/tmp/bro/bin/broctl", line 280, in do_status
  File "/spare/tmp/bro/lib/broctl/BroControl/", line 495, in status
    for (node, success, args) in _queryPeerStatus(nodes):
  File "/spare/tmp/bro/lib/broctl/BroControl/", line 1049, in _queryPeerStatus
    return execute.sendEventsParallel(events)
  File "/spare/tmp/bro/lib/broctl/BroControl/", line 513, in sendEventsParallel
    (success, bc) = _sendEventInit(node, event, args, result_event)
  File "/spare/tmp/bro/lib/broctl/BroControl/", line 529, in _sendEventInit
    flags=broccoli.BRO_CFLAG_ALWAYS_QUEUE, connect=False)
  File "/spare/tmp/bro/lib/broctl/", line 14, in __init__
    self.bc = bro_conn_new_str(destination, flags)
TypeError: in method 'bro_conn_new_str', argument 1 of type 'char const *'
abnormal termination, saving state ...

I verified that 'destination' is a string containing host:port.

Ah.. False alarm. My system has 2 python versions installed plus a
local python environment. The fix here was to reset PATH to make sure
bro was built against, and ran against, the default system wide python

I believe the error is caused by building against one version of python,
but running against a different one.

Pls. remove me from this distro.

Thank you,



Pls. remove me from this distro. Pardon the spam.