On Tue, Mar 19, 2013 at 1:37 PM, Marcus D. Leech <
address@hidden> wrote:
> 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__
> self._BootstrapApp()
> 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
> self._max_noutput_items)
> 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__
> self.scope.set_callback(fftsink_callback)
> 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
>
http://www.sbrac.org