[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss-gnuradio] Error executing usrp2_wfm_rcv.py
From: |
Eduardo Lloret Fuentes |
Subject: |
[Discuss-gnuradio] Error executing usrp2_wfm_rcv.py |
Date: |
Mon, 6 Jun 2011 18:42:14 +0200 |
Hello to everybody.
First of all, I am working with Ubuntu 10.10 and GNU Radio 3.4.0. I tried to run the usrp2_wfm_rcv.py graph but I got the following error:
Traceback (most recent call last):
File "./usrp2_wfm_rcv.py", line 289, in <module>
app = stdgui2.stdapp (wfm_rx_block, "USRP2 WFM RX")
File "/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/stdgui2.py", line 36, in __init__
wx.App.__init__ (self, redirect=False)
File "/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7978, in __init__
self._BootstrapApp()
File "/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7552, in _BootstrapApp
return _core_.PyApp__BootstrapApp(*args, **kwargs)
File "/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/stdgui2.py", line 39, in OnInit
frame = stdframe (self.top_block_maker, self.title, self._nstatus)
File "/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/stdgui2.py", line 60, in __init__
self.panel = stdpanel (self, self, top_block_maker)
File "/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/stdgui2.py", line 81, in __init__
self.top_block = top_block_maker (frame, self, vbox, sys.argv)
File "./usrp2_wfm_rcv.py", line 118, in __init__
self._build_gui(vbox, usrp_rate, demod_rate, audio_rate)
File "./usrp2_wfm_rcv.py", line 201, in _build_gui
callback=self.set_gain)
File "/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/form.py", line 225, in __init__
nsteps = int((self.max-self.min)/self.step_size)
ZeroDivisionError: float division
I read in the mailing list that this problem could be related to the setting up of the gain slider control but I don't know how to fix it. Could anybody help me?
A lot of thanks!
Regards.
Eduardo.
- [Discuss-gnuradio] Error executing usrp2_wfm_rcv.py,
Eduardo Lloret Fuentes <=