discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Error executing usrp2_wfm_rcv.py


From: Nick Foster
Subject: Re: [Discuss-gnuradio] Error executing usrp2_wfm_rcv.py
Date: Mon, 06 Jun 2011 11:44:43 -0700

On Mon, 2011-06-06 at 18:42 +0200, Eduardo Lloret Fuentes wrote:
> 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

make the step size of your slider something besides zero

> 
> 
> 
> 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 mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio





reply via email to

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