Uhd_fft.py erroring out today

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
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 L.
Principal Investigator
Shirleys Bay Radio Astronomy Consortium
http://www.sbrac.org

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs