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,

Balint

 

From: op25-dev@yahoogroups.com [mailto:op25-dev@yahoogroups.com] On Behalf Of md123@nycap.rr.com
Sent: Wednesday, 13 February 2013 1:32 PM
To: op25-dev@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__
self.wxgui_fftsink2_0_0.set_callback(wxgui_fftsink2_0_0_callback)
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@gmail.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.
>
> ATB
>
> Steve

__._,_.___
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (10)
Recent Activity:
Visit Your Group
.

__,_._,___