discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] wxgui errors


From: Charles Irick
Subject: [Discuss-gnuradio] wxgui errors
Date: Fri, 26 Jun 2009 11:21:29 -0400

I'm trying to run the usrp_wfm_rcv.py example and I get the errors
below. The gui interface comes up but appears to lock up immediately.
I have tried to look in the file gr-wxgui/src/python/forms/forms.py
under the radio_buttons class but I see no index parameter. This is
probably a simple error but I'm new to python and having trouble
understanding what is going on. I am using the code from subversion
(maybe not a great idea for starting out). I have python2.5-dev.
Running on Ubuntu 8.10. Thank you in advance.

Using RX d'board A: Basic Rx
>>> gr_fir_ccf: using SSE
>>> gr_fir_fff: using SSE
Form: <class 'gnuradio.wxgui.forms.forms.radio_buttons'> -> y_per_div
Error translating value: "10"
    'tuple' object has no attribute 'index'
    Enter a possible value in choices: "(1, 2, 5, 10, 20)"
Form: <class 'gnuradio.wxgui.forms.forms.radio_buttons'> -> y_per_div
Error translating value: "10"
    'tuple' object has no attribute 'index'
    Enter a possible value in choices: "(1, 2, 5, 10, 20)"
FYI: No Powermate or Contour Knob found
Traceback (most recent call last):
  File "/usr/local/lib/python2.5/site-packages/gnuradio/wxgui/forms/forms.py",
line 100, in <lambda>
    widget.Bind(EVT_DATA, lambda x: self._update(x.data))
  File "/usr/local/lib/python2.5/site-packages/gnuradio/wxgui/forms/forms.py",
line 473, in _update
    def _update(self, i): self._radio_buttons.SetSelection(i)
  File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_controls.py",
line 2425, in SetSelection
    return _controls_.RadioBox_SetSelection(*args, **kwargs)
TypeError: in method 'RadioBox_SetSelection', expected argument 2 of type 'int'
aUTraceback (most recent call last):
  File "/usr/local/lib/python2.5/site-packages/gnuradio/wxgui/forms/forms.py",
line 100, in <lambda>
    widget.Bind(EVT_DATA, lambda x: self._update(x.data))
  File "/usr/local/lib/python2.5/site-packages/gnuradio/wxgui/forms/forms.py",
line 473, in _update
    def _update(self, i): self._radio_buttons.SetSelection(i)
  File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_controls.py",
line 2425, in SetSelection
    return _controls_.RadioBox_SetSelection(*args, **kwargs)
TypeError: in method 'RadioBox_SetSelection', expected argument 2 of type 'int'




reply via email to

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