[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] uhd_fft fails

From: Marcus D. Leech
Subject: Re: [Discuss-gnuradio] uhd_fft fails
Date: Tue, 19 Mar 2013 13:37:24 -0400
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20111108 Fedora/3.1.16-1.fc14 Thunderbird/3.1.16

On 03/19/2013 12:19 PM, M. Ranganathan wrote:

I see the following error when I run uhd_fft off the "latest" git version. Does anybody else have the same issue? Any clues about what could be causing it?

 File "./uhd_fft", line 340, in <module>
    main ()
  File "./uhd_fft", line 336, in main
    app = stdgui2.stdapp(app_top_block, "UHD FFT", nstatus=1)
  File "/users/mranga/proj-dynspect.git/gnuradio/build/install/lib64/python2.6/site-packages/gnuradio/wxgui/stdgui2.py", line 38, in __init__
    wx.App.__init__ (self, redirect=False)
  File "/usr/lib64/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7981, in __init__
  File "/usr/lib64/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7555, in _BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File "/users/mranga/proj-dynspect.git/gnuradio/build/install/lib64/python2.6/site-packages/gnuradio/wxgui/stdgui2.py", line 42, in OnInit
  File "/users/mranga/proj-dynspect.git/gnuradio/build/install/lib64/python2.6/site-packages/gnuradio/wxgui/stdgui2.py", line 64, in __init__
    self.panel = stdpanel (self, self, top_block_maker, max_nouts)
  File "/users/mranga/proj-dynspect.git/gnuradio/build/install/lib64/python2.6/site-packages/gnuradio/wxgui/stdgui2.py", line 86, in __init__
    self.top_block = top_block_maker (frame, self, vbox, sys.argv)
  File "./uhd_fft", line 124, in __init__
  File "/users/mranga/proj-dynspect.git/gnuradio/build/install/lib64/python2.6/site-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'

M. Ranganathan
_______________________________________________ Discuss-gnuradio mailing list address@hidden https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
I'm going to guess that you're using the non-gl versions of the FFT sinks.  And uhd_fft was recently updated to include a "frequency setter" callback.

I have some patches that should fix this -- I'll try to get them in today.

Marcus Leech
Principal Investigator
Shirleys Bay Radio Astronomy Consortium

reply via email to

[Prev in Thread] Current Thread [Next in Thread]