After pull of latest Gnu Radio code, I'm having a problem with
uhd_fft.py, but only for USRP2. It works fine for USRP1:
Traceback (most recent call last):
File "/usr/local/bin/uhd_fft.py", line 286, in <module>
main ()
File "/usr/local/bin/uhd_fft.py", line 282, in main
app = stdgui2.stdapp(app_top_block, "UHD FFT", nstatus=1)
File
"/usr/local/lib64/python2.7/site-packages/gnuradio/wxgui/stdgui2.py",
line 38, in __init__
wx.App.__init__ (self, redirect=False)
File
"/usr/lib64/python2.7/site-packages/wx-2.8-gtk2-unicode/wx/_core.py",
line 7981, in __init__
self._BootstrapApp()
File
"/usr/lib64/python2.7/site-packages/wx-2.8-gtk2-unicode/wx/_core.py",
line 7555, in _BootstrapApp
return _core_.PyApp__BootstrapApp(*args, **kwargs)
File
"/usr/local/lib64/python2.7/site-packages/gnuradio/wxgui/stdgui2.py",
line 42, in OnInit
self._max_noutput_items)
File
"/usr/local/lib64/python2.7/site-packages/gnuradio/wxgui/stdgui2.py",
line 64, in __init__
self.panel = stdpanel (self, self, top_block_maker, max_nouts)
File
"/usr/local/lib64/python2.7/site-packages/gnuradio/wxgui/stdgui2.py",
line 86, in __init__
self.top_block = top_block_maker (frame, self, vbox, sys.argv)
File "/usr/local/bin/uhd_fft.py", line 143, in __init__
self.myform['samprate'].set_value(self.u.get_samp_rate())
KeyError: 'samprate'
I don't even need to explicitly specify a sample rate for this to
happen, and it only happens on USRP2.
For example, this produces the above error:
uhd_fft.py --args "addr=192.168.10.2"
A uhd_usrp_probe works fine against the device
--
Marcus Leech
Principal Investigator
Shirleys Bay Radio Astronomy Consortium
http://www.sbrac.org
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio