discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] radio-button widgets now being really stringent


From: Marcus D. Leech
Subject: [Discuss-gnuradio] radio-button widgets now being really stringent
Date: Sat, 21 Apr 2012 23:57:53 -0400
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

One of my apps that uses radio buttons and uses a default value that is supplied in the command line is giving this error:

  1. Using Volk machine: sse4_2_32
  2. Form: <class 'gnuradio.wxgui.forms.forms.radio_buttons'> ->  Error translating value: "103500000.0"
  3.         103500000.0 is not in list
  4.         Enter a possible value in choices: "[91500000.0, 92300000.0, 101100000.0, 103300000.0, 106100000.0, 106900000.0]"
  5. Using device #0 (Generic RTL2832U (e.g. hama nano))
  6. Found Elonics E4000 tuner
  7. >>> gr_fir_fff: using SSE
  8. >>> gr_fir_ccc: using SSE
  9. >>> gr_fir_ccf: using SSE
  10. aUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUTraceback (most recent call last):
  11.   File "/usr/local/lib/python2.7/dist-packages/gnuradio/wxgui/forms/forms.py", line 100, in <lambda>
  12.     widget.Bind(EVT_DATA, lambda x: self._update(x.data))
  13.   File "/usr/local/lib/python2.7/dist-packages/gnuradio/wxgui/forms/forms.py", line 484, in _update
  14.     def _update(self, i): self._radio_buttons.SetSelection(i)
  15.   File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_controls.py", line 2425, in SetSelection
  16.     return _controls_.RadioBox_SetSelection(*args, **kwargs)
  17. TypeError: in method 'RadioBox_SetSelection', expected argument 2 of type 'int'

On *SOME* instances of Ubuntu 11.10, but not others.  Seems like a change in semantics for the radio-button widget--for some versions
  it's "picky", and for others, it just ignores the non-existent button selection. 

Any clue from anyone?  



-- 
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]