WX GUI Scope frozen and error-msg gr_vmcircbuf_default_factory: Invalid argument

Dear gnuradio-enthousiasts:

I get the folowing error-message from gnuradio when I use the WX GUI
Scope from the WX Gui Widgets:

?X?\lonneke\AppData\Roaming.gnuradio\prefs\gr_vmcircbuf_default_factoryC:\Program
Files (x86)\gnuradio\lib\site-packages\gnuradio\grc\gui\Dialogs.py:36:
GtkWarning: gtk_text
_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
?X?\lonneke\AppData\Roaming.gnuradio\prefs\gr_vmcircbuf_default_factory:
Invalid argument

I can see the scope but the image is frozen.

I tried soo many things (and learned a lot from that) but I am stuck
now. What can I do?

Regards,

Kees

On Thu, Jul 25, 2013 at 7:11 PM, Kees de Groot
[email protected] wrote:

line)

Kees

What OS are you using? What version of GNU Radio?

You can try the old trick of disabling OpenGL. Make and edit
~/.gnuradio/config.conf and add the lines:

[wxgui]
style = nongl

Your error looks more involved than that, but it’s possible this will
fix it anyways.

Tom

Tom,

that was a good first shot:

I created ~/.gnuradio/config.conf with the lines:

[wxgui]
style = nongl

I even tried

[wxgui]
style = nogl

not any difference

Then I renamed
C:\Python27\Lib\site-packages\PyOpenGL-3.1.0a1-py2.7.egg-info
to
C:\Python27\Lib\site-packages\PyOpenGL-3.1.0a1-py2.7.egg-info_nope

and renamed C:\Python27\Lib\site-packages\OpenGL
to
C:\Python27\Lib\site-packages\OpenGL_nope

and that helped a lot.
I got a moving display on the scope finally.

In my command window now I get the following message:

<<< Welcome to GNU Radio Companion 3.6.4.1 >>>

Loading: “C:\Users\lonneke\gnuradio\first.grc”

Done

Showing: “C:\Users\lonneke\gnuradio\first.grc”

Loading: “C:\Users\lonneke\gnuradio\sin_src.grc”

Done

Loading: “C:\Users\lonneke\gnuradio\noisy.grc”

Done

Generating: “C:\Users\lonneke\gnuradio\top_block.py”

Generating: “C:\Users\lonneke\gnuradio\top_block.py”

Executing: “C:\Users\lonneke\gnuradio\top_block.py”

↑ý
:slight_smile:
:slight_smile:\lonneke\AppData\Roaming.gnuradio\prefs\gr_vmcircbuf_default_factoryC:\Program
Files (x86)\gnuradio\lib\site-packages\gnuradio\grc\gui\Dialogs.py:36:
GtkWarning: gtk_text_bu
ffer_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

FYI the files I used in an endless combination to intalle gnuradio on
Windows 7 prof on a 64 bit VAIO laptop are:

Microsoft Windows [versie 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Alle rechten voorbehouden.

27-07-2013 14:30 .
27-07-2013 14:30 …
26-07-2013 00:05 449.539 Cheetah-2.4.4.win32-py2.7.exe
16-07-2013 23:48 cheetahtemplate-cheetah-v2.4
16-07-2013 23:46 272.418
cheetahtemplate-cheetah-v2.4.0-0-g7b1c2ad.zip
15-07-2013 16:32 1.300.888 FuzeZipSetup-r158-w-bc.exe
15-07-2013 17:06 71.527.469 gnuradio_3.6.4.1_Win32.exe
15-07-2013 16:50 1.522.840 lxml-3.2.1.win32-py2.7.exe
15-07-2013 16:32 5.746.517
numpy-1.6.2-win32-superpack-python2.7.exe
15-07-2013 16:35 3.139.105 numpy-1.7.0.zip
15-07-2013 15:59 819.200 pygtk-2.24.0.win32-py2.6.msi
15-07-2013 16:26 33.239.562
pygtk-all-in-one-2.24.2.win32-py2.7.msi
15-07-2013 16:56 1.161.617 PyOpenGL-3.0.2.win32.exe
27-07-2013 14:25 1.394.783 PyOpenGL-3.1.0a1.win32-py2.7.exe
15-07-2013 16:39 28.551.998 PyQt-Py2.7-x86-gpl-4.9.6-1.exe
15-07-2013 16:45 968.776 PyQt4.Qwt5-5.2.1.win32-py27.exe
15-07-2013 00:16 15.867.904 python-2.7.3.msi
25-07-2013 23:35 54.703.148
scipy-0.12.0-win32-superpack-python2.7.exe
15-07-2013 16:41 227.956 setuptools-0.6c11.win32-py2.7.exe
15-07-2013 16:09 4.216.840 vcredist_x86.exe
26-07-2013 00:22 11.811.043 wxPython-2.8.12.1.win32-py2.7.exe
26-07-2013 00:20 203.234
wxPython-common-2.8.12.1.win32-py2.7.exe
25-07-2013 17:44 11.259.849
wxPython2.8-win32-ansi-2.8.12.1-py27.exe
15-07-2013 16:43 11.398.572
wxPython2.8-win32-unicode-2.8.12.1-py27.exe
16-07-2013 23:32 12.288 _namemapper.pyd2.5
22 bestand(en) 259.795.546 bytes
3 map(pen) 255.690.354.688 bytes beschikbaar

-----Oorspronkelijk bericht-----
From: Tom R.
Sent: Friday, July 26, 2013 4:07 PM
To: Kees de Groot
Cc: GNURadio D.ion List
Subject: Re: [Discuss-gnuradio] WX GUI Scope frozen and error-msg
gr_vmcircbuf_default_factory: Invalid argument

On Thu, Jul 25, 2013 at 7:11 PM, Kees de Groot
[email protected] wrote:

text_buffer.insert(text_buffer.get_end_iter(),
Regards,

Kees

What OS are you using? What version of GNU Radio?

You can try the old trick of disabling OpenGL. Make and edit
~/.gnuradio/config.conf and add the lines:

[wxgui]
style = nongl

Your error looks more involved than that, but it’s possible this will
fix it anyways.

Tom

On Sat, Jul 27, 2013 at 9:35 AM, Kees de Groot
[email protected] wrote:

I even tried
and renamed C:\Python27\Lib\site-packages\OpenGL
Loading: “C:\Users\lonneke\gnuradio\first.grc”

↑ý
:slight_smile:
:slight_smile:\lonneke\AppData\Roaming.gnuradio\prefs\gr_vmcircbuf_default_factoryC:\Program
Files (x86)\gnuradio\lib\site-packages\gnuradio\grc\gui\Dialogs.py:36:
GtkWarning: gtk_text_bu

ffer_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

Just to be clear, you have GRC executing flowgraphs and the display is
working fine? Is there any other indication of something going wrong
than that assertion you’re seeing on the command line?

16-07-2013 23:46 272.418
27-07-2013 14:25 1.394.783 PyOpenGL-3.1.0a1.win32-py2.7.exe
15-07-2013 16:43 11.398.572
wxPython2.8-win32-unicode-2.8.12.1-py27.exe
16-07-2013 23:32 12.288 _namemapper.pyd2.5
22 bestand(en) 259.795.546 bytes
3 map(pen) 255.690.354.688 bytes beschikbaar

Any chance you could help us update our build guide for windows?

http://gnuradio.org/redmine/projects/gnuradio/wiki/WindowsInstall

Thanks!

Tom