# Error in OP25 Decoder block

**URL:** <https://www.ruby-forum.com/t/error-in-op25-decoder-block/231053>\
**Category:** GNU Radio\
**Created:** [July 18, 2014, 3:38pm UTC](https://www.ruby-forum.com/t/error-in-op25-decoder-block/231053 "2014-07-18T15:38:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![addis\_a](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c4cdca/32.png) [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Post date:** [July 18, 2014, 3:38pm UTC](https://www.ruby-forum.com/t/error-in-op25-decoder-block/231053/1 "2014-07-18T15:38:29Z")

</div>

I have built Ubuntu 14.04 and installed Pybombs, GNURadio 3.7.2, op25  
and gr-baz. Tom R. helped me through an error with unresolved baz  
imports. Now, I brought in the blocks to decode op25 and the OP25  
Decoder block fails at run-time with -

Generating: “/home/doug/Documents/Op25 project files/top\_block.py”

Executing: “/home/doug/Documents/Op25 project files/top\_block.py”

linux; GNU C++ version 4.8.2; Boost\_105400; UHD\_003.007.001-84-gd99ce4ef

Traceback (most recent call last):  
File “/home/doug/Documents/Op25 project files/top\_block.py”, line 8,  
in   
from baz import op25  
File “/home/doug/usr/local/lib/python2.7/dist-packages/baz/op25.py”,  
line 25, in   
from gnuradio import gr, gru, op25 as \_op25  
ImportError: cannot import name op25

> > > Done

This is as vanilla a setup as I can make it. What am I missing?

Doug H.

---

<div class="post-metadata">

**Author:** ![douha](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/bc8723/32.png) [@douha](https://www.ruby-forum.com/u/douha)\
**Post date:** [July 18, 2014, 4:41pm UTC](https://www.ruby-forum.com/t/error-in-op25-decoder-block/231053/2 "2014-07-18T16:41:40Z")

</div>

On Fri, Jul 18, 2014 at 3:37 PM, Doug H. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> I have built Ubuntu 14.04 and installed Pybombs, GNURadio 3.7.2, op25 and  
> gr-baz. Tom R. helped me through an error with unresolved baz imports.  
> Now, I brought in the blocks to decode op25 and the OP25 Decoder block fails  
> at run-time with -

Did you use packaged Gnuradio or built with pybombs ?

Did you actually install the OP25 decoder itself ? (and not just the  
gr-baz wrapper around it)

Cheers,

Sylvain
