Re: [Discuss-gnuradio] Error in OP25 Decoder block

2014-07-29 Thread Doug Hutton
Max - Thanks a bunch for the new P25-2 code. I have been trying to figure out how to compile and use your new .py modules to play audio, but I just don't know enuff Linux to get it done. I did use the rtl_sdr app to do the capture and that worked. I have 180 MB of data. But I need some gu

Re: [Discuss-gnuradio] Error in OP25 Decoder block

2014-07-24 Thread ikjtel
Hi Doug It appears that more extensive changes (than just the tiny patch I sent yesterday) would be needed to gz-baz to make it compatible with the latest (3.7) versions of GR and of op25.  Also (AFAIK) there is no support for P25 Phase II in gr-baz. The version of op25 (the GR-3.7.x compatibl

Re: [Discuss-gnuradio] Error in OP25 Decoder block

2014-07-18 Thread Doug Hutton
I probably overdid the stuff below, but I did try your other suggestion. I made your change in - Home/usr/local/lib/python2.7/dist-packages/baz/op25.py I kept the original stuff in the copyright comments. The lines in your suggestion above the _verbose = True line were not in my op25.p

Re: [Discuss-gnuradio] Error in OP25 Decoder block

2014-07-18 Thread ikjtel
> > >>> import op25 > >>> > > I got the prompt right back, no error message. Right - pretty much as expected.  This strongly suggests that the python code you're attempting to use (in this case, from gr-baz) has not yet been forward-ported so as to be compatible with the new GR version 3.7.x A

Re: [Discuss-gnuradio] Error in OP25 Decoder block

2014-07-18 Thread Doug Hutton
Max - >>> import op25 >>> I got the prompt right back, no error message. I haven't tried your other suggestion yet. Doug --- > from gnuradio import gr, gru, op25 as _op25 >ImportError: cannot import n

Re: [Discuss-gnuradio] Error in OP25 Decoder block

2014-07-18 Thread ikjtel
Doug One thing you could try is to make the following change in gr-baz python/op25.py - YMMV. Max diff --git a/python/op25.py b/python/op25.py index 19669da..d45d794 100644 --- a/python/op25.py +++ b/python/op25.py @@ -22,7 +22,8 @@  _verbose = True    import math -from gnuradio import gr, gru

Re: [Discuss-gnuradio] Error in OP25 Decoder block

2014-07-18 Thread ikjtel
>     from gnuradio import gr, gru, op25 as _op25 >    ImportError: cannot import name op25 It's slightly challenging to attempt remote diagnosis of this type of issue; at first glance I thought this might just be an easy one (need to run ldconfig, perhaps; or a need to set the proper environme

Re: [Discuss-gnuradio] Error in OP25 Decoder block

2014-07-18 Thread Sylvain Munaut
On Fri, Jul 18, 2014 at 3:37 PM, Doug Hutton 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 wit

[Discuss-gnuradio] Error in OP25 Decoder block

2014-07-18 Thread Doug Hutton
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 file