discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] uhd_fft.py erroring out today


From: Marcus D. Leech
Subject: [Discuss-gnuradio] uhd_fft.py erroring out today
Date: Sun, 08 Jan 2012 18:27:32 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.1.16-1.fc14 Thunderbird/3.1.16

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





reply via email to

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