Binpac analyzer error


I am trying to learn the bro programming language and following along with Jon Schipp’s youtube video bro - writing an analyzer. When I attempt to generate the files for the protocol I receive the following error:

/binpac_quickstart$ ./ RIP “Routing Internet Protocol” …/bro --udp
Traceback (most recent call last):
File “./”, line 177, in
File “./”, line 59, in main
if do_plugin:
UnboundLocalError: local variable ‘do_plugin’ referenced before assignment

However when I append plugin at the end of the command, the files are generated in the src and scripts directory. I just want to know what I am doing wrong. Thank you very much.

Very respectfully,


You're not doing anything wrong, this was a bug in
binpac_quickstart. Two people submitted pull requests fixing this issue,
I just hadn't gotten around to merging it in yet.

I just merged a fix for this into master and it should work for you now. Please let
me know if you run into any more issues.



Matias Davaro <> writes: