Hi! I am a new GNU Radio user. I will be using it mainly for educational purposes. I use a legit Windows 7 installation. ( the installation was done about 3 years ago, not a clean install). I followed step by step the instructions presented here (on the code.ettus site): http://code.ettus.com/redmine/ettus/projects/uhd/w... I am able to start GNU Radio. I'm trying to simulate a very basic situation: a signal generator, with the output connected to a throttle and the throttle's output connected to a WX Gui Widget Scope Sink (wxgui_scopesink2_0). When i try to execute the flowgraph. The WX Gui Scope window appears but nothing happens. I am receiving the following error: Traceback (most recent call last): File "F:\Win7\gnuradio\lib\site-packages\gnuradio\wxgui\forms\forms.py", line 100, in <lambda> widget.Bind(EVT_DATA, lambda x: self._update(x.data)) File "F:\Win7\gnuradio\lib\site-packages\gnuradio\wxgui\forms\forms.py", line 503, in _update def _update(self, i): self._notebook.SetSelection(i) File "C:\Python27\lib\site-packages\wx-2.8-msw-unicode\wx\_controls.py", line 3021, in SetSelection return _controls_.BookCtrlBase_SetSelection(*args, **kwargs) ValueError: in method 'BookCtrlBase_SetSelection', expected argument 2 of type 'size_t' NOTE: I managed to see the signal in QT Gui Widget. Everything was fine. Why can't i use the WX Gui Widgets? ( i've tried several more like the waterfall, fft... still nothing ) Hope this is the right place to ask. And hope i'll know how to reply :)) Have a great day! Mihai, Polytechnics University of Bucharest.
on 2013-02-06 13:52
on 2013-02-09 22:20
Same problem, just downloaded everything today from Ettus site. Windows XP/SP3. Except when I try to use the Qt GUI Sink, there is an error message box flashes up for < 1 second and disappears. The command window has an error .gr_fftw_wisdom: Invalid argument gri_fttw:
on 2013-02-09 22:48
I captured the error box for the QT GUI Sink: top_block.py, line 68, in <module> tb= top_block() top_block.py, line 46, in __init__ self.top_layout.addWidget(self._qtgui_sink_x_1_win) top_block.py, line 94, in __getattr__ return getattr(self._tb,name) AttributeError: 'gr_top_block_sptr' object has no attribute 'top_layout'
on 2013-03-01 14:46
Mihai Chermaneanu <chrmihai <at> gmail.com> writes: > ....(*args, **kwargs)ValueError: in method 'BookCtrlBase_SetSelection', expected argument 2 of type 'size_t' > I get the same error. I just installed gnuradio for windows as per the instructions on the ettus website (http://code.ettus.com/redmine/ettus/projects/uhd/w...). When I run the cvsd_sweep.grc example I get the same error: ... return _controls_.BookCtrlBase_SetSelection(*args, **kwargs) ValueError: in method 'BookCtrlBase_SetSelection', expected argument 2 of type 'size_t'. I hear the sweet tone but all the plots a re messed up and do not display any data. I uninstalled and reinstalled exverything but still get the same error. I even tried going back to versions of each item, one at a time, that a coworker had working last year but I still get the same error. I also ran the dial_tone.grc example and I hear the tone and the gui seems to work but I get this error: ...\AppData\Roaming\.gnuradio\prefs\gr_vmcircbuf_default_factoryC:\app s\gnuradio\lib\site-packages\gnuradio\grc\gui\Dialogs.py:36: GtkWarning: gtk_tex t_buffer_emit_insert: assertion `g_utf8_validate (text, len, NULL)' failed self.insert = lambda line: text_buffer.insert(text_buffer.get_end_iter(), line ) : Invalid argument ÉÖI?°êI?\bhehn\AppData\Roaming\.gnuradio\prefs\gr_vmcircbuf_default_factory: Inv alid argument Thanks for any help, B
on 2013-03-01 15:10
On Fri, Mar 1, 2013 at 8:42 AM, B Hun <bhehn@harris.com> wrote: > (http://code.ettus.com/redmine/ettus/projects/uhd/w...). > > : Invalid argument > I?I?\bhehn\AppData\Roaming\.gnuradio\prefs\gr_vmcircbuf_default_factory: > Inv > alid argument > > Thanks for any help, > B What version of wxPython are you running? They've released a 2.9 which might have an API change causing this problem. If you are using 2.9, try going back to a 2.8 release and see if that help. Tom
on 2013-03-01 16:43
> What version of wxPython are you running? ... > Tom Here is what I installed: wxPython2.8-win32-unicode-2.8.12.1-py27 gnuradio_3.6.3_Win32 lxml-3.1.0.win32-py2.7 numpy-1.6.2-win32-superpack-python2.7 pygtk-all-in-one-2.24.2.win32-py2.7 PyQt4.Qwt5-5.2.1.win32-py27 PyQt-Py2.7-x86-gpl-4.9.6-1 python-2.7.3 setuptools-0.6c11.win32-py2.7 uhd_003.005.001-release_Win32 vcredist_x86 Win7 64 bit I also did a fresh install on another PC and the exact same results.
on 2013-03-01 19:20
On 03/01/2013 07:42 AM, B Hun wrote: > (http://code.ettus.com/redmine/ettus/projects/uhd/w...). > So, gnuradio doesnt actually build against wx python, its just a runtime dependency when using the WX GUI plotters and widgets. So, you shouldnt have to reinstall everything, potentially, just wx python. Now it looks like the error is within wx python guts. Which might mean there is a bug in this version of wx python, or perhaps we are using one of its widgets in an incompatible way. For a quick fix. I recommend trying a older version of the wx python installer and see if any errors become fixed. But we should really find out what widget is calling into this BookCtrlBase and double check that API that we are using it right. > : Invalid argument > ÉÖI?°êI?\bhehn\AppData\Roaming\.gnuradio\prefs\gr_vmcircbuf_default_factory: > Inv > alid argument > I think these are warnings that can be ignored. -josh
on 2013-03-01 21:00
Unfortunately that is not the only error I get. When I run the cvsd_sweep.gr example I get some more serious errors: >>>> def _update(self, i): self._notebook.SetSelection(i) File "C:\apps\Python27\lib\site-packages\wx-2.8-msw-unicode\wx\_controls.py", line 3021, in SetSelection return _controls_.BookCtrlBase_SetSelection(*args, **kwargs) ValueError: in method 'BookCtrlBase_SetSelection', expected argument 2 of type 'size_t' <<<< I also get this in the cmd window: >>>> n\AppData\Roaming\.gnuradio\prefs\gr_vmcircbuf_default_fact oryC:\apps\gnuradio\lib\site-packages\gnuradio\grc\gui\Dialogs.py:36: GtkWarning : gtk_text_buffer_emit_insert: assertion `g_utf8_validate (text, len, NULL)' fai led self.insert = lambda line: text_buffer.insert(text_buffer.get_end_iter(), line ) : Invalid argument <<<< I hear the sweep tone but the GUI is messed up. Nothing displays on the plots and the sliders do not work.
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.