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

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to