[op25-dev] error in gnu rc

Balint balint256 at hotmail.com
Thu Feb 14 07:14:35 UTC 2013

Hi Matt,

Looks like your WX FFT Sink is missing a newer feature present in the more recent version of GNU Radio – specifically the ability to click on the FFT and have a variable updated with the frequency of the bin you clicked in (which is weird because GRC generated the Python code with what I’m guessing is an old XML definition).

I’d suggest updating your GNU Radio, or remove that callback attribute from the GRC file (either manually, or check in GRC itself). Worst case – comment out that line of Python. But then you will have to enter the tuning offset manually because you won’t be able to click-select any transmissions appearing on the FFT.

Hope that narrows things down a little,



From: op25-dev at yahoogroups.com [mailto:op25-dev at yahoogroups.com] On Behalf Of md123 at nycap.rr.com
Sent: Wednesday, 13 February 2013 1:32 PM
To: op25-dev at yahoogroups.com
Cc: Steve Glass
Subject: Re: [op25-dev] error in gnu rc



nice. thanks Steve. that worked now the grc file runs. but when i run the file in get this error: AttributeError: 'gr_hier_block2_sptr' object has no attribute 'set_callbac. this is in the terminal part of the grc. here is the whole thing:

Executing: "/home/matt/op25_grc.py"

Imported legacy fsk4
Using Volk machine: ssse3_32
Traceback (most recent call last):
File "/home/matt/op25_grc.py", line 493, in 
tb = op25_grc()
File "/home/matt/op25_grc.py", line 231, in __init__
File "/usr/local/lib/python2.7/dist-packages/gnuradio/gr/hier_block2.py", line 54, in __getattr__
return getattr(self._hb, name)
AttributeError: 'gr_hier_block2_sptr' object has no attribute 'set_callback'

thanks again. any help would be greatly appreciated. 

---- Steve Glass stevie.glass at gmail.com <mailto:stevie.glass%40gmail.com> > wrote: 
> Try changing the "type" field of your audio source from "Float" to
> "Complex".
> I am working on an update of op25 to use the new tools present in the
> latest GNURadio (cmake, grc support, new namespace rules, message passing,
> stream meta-information and so on) . I am particularly impressed by GRC as
> a means for building radios and want to see this side of our project
> improved because I think it allows non-programmers to build radios and play
> around more easily.
> Steve

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/op25-dev/attachments/20130213/d828b09b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 359 bytes
Desc: not available
URL: <http://lists.osmocom.org/pipermail/op25-dev/attachments/20130213/d828b09b/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 332 bytes
Desc: not available
URL: <http://lists.osmocom.org/pipermail/op25-dev/attachments/20130213/d828b09b/attachment-0001.jpg>

More information about the op25-dev mailing list