# Binpac analyzer error

**URL:** <https://community.zeek.org/t/binpac-analyzer-error/3990>\
**Category:** Zeek\
**Created:** [February 1, 2016, 4:22am UTC](https://community.zeek.org/t/binpac-analyzer-error/3990 "2016-02-01T04:22:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matias\_Davaro](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@Matias\_Davaro](https://community.zeek.org/u/Matias_Davaro)\
**Post date:** [February 1, 2016, 4:22am UTC](https://community.zeek.org/t/binpac-analyzer-error/3990/1 "2016-02-01T04:22:57Z")

</div>

Hello,

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$ ./start.py RIP “Routing Internet Protocol” …/bro --udp  
Traceback (most recent call last):  
File “./start.py”, line 177, in   
main(arguments)  
File “./start.py”, line 59, in main  
if do\_plugin:  
UnboundLocalError: local variable ‘do\_plugin’ referenced before assignment  
elcabezon@elcabezon:~/binpac\_quickstart$

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,

Matias

---

<div class="post-metadata">

**Author:** ![Vlad\_Grigorescu3](https://avatars.discourse-cdn.com/v4/letter/v/dec6dc/32.png) [@Vlad\_Grigorescu3](https://community.zeek.org/u/Vlad_Grigorescu3)\
**Post date:** [February 1, 2016, 3:30pm UTC](https://community.zeek.org/t/binpac-analyzer-error/3990/2 "2016-02-01T15:30:42Z")

</div>

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.

Thanks,

&nbsp;&nbsp;--Vlad

Matias Davaro \<[matiasdavaro@gmail.com](mailto:matiasdavaro@gmail.com)\> writes:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/zeek/original/1X/f09d732bc2cc7c7cc7e35db67cf4e1d5233ce7a7.png) [@system](https://community.zeek.org/u/system)\
**Post date:** [May 6, 2022, 3:43pm UTC](https://community.zeek.org/t/binpac-analyzer-error/3990/3 "2022-05-06T15:43:22Z")

</div>


