GNU Radio 3.6.4.1 Windows 7 Install - Wx UI Scope Sink Freeze

Hello,

I am new to GNU Radio and I followed the new windows install directions
listed in the thread “Successful installation of GNURadio 3.6.4.1 on
Window
XP and Windows 8” for my Windows 7 machine (intel 64 bit OS).
Everything
installed okay except when I created a simple chain in the gnu
radio-companion (signal source, throttle, and WX UI Scope Sink) the WX
GUI
Scope Sink freezes before plotting anything.

I followed the directions mentioned in “WX GUI Scope frozen and
error-msg
gr_vmcircbuf_default_factory: Invalid argument” thread with no success.
Namely 1) I created C:\Users"myname".gnuradio\config.conf in notepad
with " [wxgui]" ," style = nongl" 2) renamed the openGL file folders in
C:\Python27\Lib\site-packages\ directory.

Not sure if this is related, but I can not run the gnuradio-companion.py
from the command prompt. In order to run the script I have to open it
run
it from the python IDE.

Below I included the messages from the GNU Radio Companion and the
WxPython
window below. The error message listed in the wxPython window was:
"TypeError: (“No array-type handler for type <class ‘ctypes.c_ulong’>
(value: c_ulong(0L)) registered”, <OpenGL.converters.CallFuncPyConverter
object at 0x02F8E730>)

Note that the WxPython message is the same message posted in the thread
“Gnuradio 3.7.2 Windows?.” I could not find a resolution to this
problem
in the archives or by searching the net so any assistance would be
appreciated.

Thank you,

Carl

************* GNU Radio Companion window message************************
Generating: “C:\Users\562647\Documents\gnuradio\top_block.py”
Executing: “C:\Users\562647\Documents\gnuradio\top_block.py”
: Permission denied
: No such file or directory

************* message on "wxPython: stdout/stderr:
window*******************
Note: this message is the same one discussed in a previous post
“Gnuradio
3.7.2 Windows?”, but I did not see a resolution on the thread or by
searching internet (I am new to GNU Radio so if there is an obvious
answer
I apologize):
message:***
Traceback (most recent call last):
File “C:\Program Files
(x86)\gnuradio\lib\site-packages\gnuradio\wxgui\plotter\plotter_base.py”,
line 198, in _on_paint
for fcn in self._draw_fcns: fcn1
File “C:\Program Files
(x86)\gnuradio\lib\site-packages\gnuradio\wxgui\plotter\plotter_base.py”,
line 59, in draw
self._draw()
File “C:\Program Files
(x86)\gnuradio\lib\site-packages\gnuradio\wxgui\plotter\grid_plotter_base.py”,
line 216, in _draw_grid
for tick in self._get_ticks(self.x_min, self.x_max, self.x_step,
self.x_scalar)]
File “C:\Program Files
(x86)\gnuradio\lib\site-packages\gnuradio\wxgui\plotter\grid_plotter_base.py”,
line 314, in _get_tick_label
return gltext.Text(tick_str, font_size=TICK_TEXT_FONT_SIZE)
File “C:\Program Files
(x86)\gnuradio\lib\site-packages\gnuradio\wxgui\plotter\gltext.py”, line
340, in init
self._initText()
File “C:\Program Files
(x86)\gnuradio\lib\site-packages\gnuradio\wxgui\plotter\gltext.py”, line
376, in _initText
self._centered)
File “C:\Program Files
(x86)\gnuradio\lib\site-packages\gnuradio\wxgui\plotter\gltext.py”, line
73, in init
self.createTexture()
File “C:\Program Files
(x86)\gnuradio\lib\site-packages\gnuradio\wxgui\plotter\gltext.py”, line
229, in createTexture
self._texture = glGenTextures(1)
File
“C:\Python27\lib\site-packages\pyopengl-3.1.0a3-py2.7.egg\OpenGL\latebind.py”,
line 61, in call
return self.wrapperFunction( self.baseFunction, *args, **named )
File
“C:\Python27\lib\site-packages\pyopengl-3.1.0a3-py2.7.egg\OpenGL\GL\exceptional.py”,
line 189, in glGenTextures
baseFunction( count, textures)
File
“C:\Python27\lib\site-packages\pyopengl-3.1.0a3-py2.7.egg\OpenGL\latebind.py”,
line 45, in call
return self._finalCall( *args, **named )
File
“C:\Python27\lib\site-packages\pyopengl-3.1.0a3-py2.7.egg\OpenGL\wrapper.py”,
line 571, in wrapperCall
pyArgs = tuple( calculate_pyArgs( args ))
File
“C:\Python27\lib\site-packages\pyopengl-3.1.0a3-py2.7.egg\OpenGL\wrapper.py”,
line 356, in calculate_pyArgs
yield converter(args[index], self, args)
File
“C:\Python27\lib\site-packages\pyopengl-3.1.0a3-py2.7.egg\OpenGL\converters.py”,
line 134, in call
return self.function( incoming )
File
“C:\Python27\lib\site-packages\pyopengl-3.1.0a3-py2.7.egg\OpenGL\arrays\arraydatatype.py”,
line 141, in asArray
return cls.getHandler(value).asArray( value, typeCode or
cls.typeConstant )
File
“C:\Python27\lib\site-packages\pyopengl-3.1.0a3-py2.7.egg\OpenGL\arrays\arraydatatype.py”,
line 52, in call
typ, repr(value)[:50]
TypeError: (“No array-type handler for type <class ‘ctypes.c_ulong’>
(value: c_ulong(0L)) registered”, <OpenGL.converters.CallFuncPyConverter
object at 0x02F8E730>)

On Wed, Jan 29, 2014 at 4:51 PM, Carl A. [email protected]
wrote:

gr_vmcircbuf_default_factory: Invalid argument" thread with no success.
"TypeError: (“No array-type handler for type <class ‘ctypes.c_ulong’>
(value: c_ulong(0L)) registered”, <OpenGL.converters.CallFuncPyConverter
object at 0x02F8E730>)

Note that the WxPython message is the same message posted in the thread
“Gnuradio 3.7.2 Windows?.” I could not find a resolution to this problem in
the archives or by searching the net so any assistance would be appreciated.

Thank you,

Carl

Hi Carl,

Any progress on this problem? It would be nice to get an answer, but
I’m afraid it’s going to take someone who understands Windows better
than I do. Not being able to run gnuradio-companion from the command
line suggests a bigger problem, possibly related to paths, which might
be the cause of something.

Tom

a. The “No such file or directory” suggests a paths problem.

b. The “Permission denied” suggests an access rights problem. Try
logging
in with Administrator rights. Windows 7 onwards is very picky with
rights
issues.

c. The "TypeError: (“No array-type handler for type <class
‘ctypes.c_ulong’>” suggests a conflict of library versions.

Some suggested steps to fix:

  1. Start with a clean install. Undo all the changes you made with
    Notepad
    and directory renaming. Unintall Python, GNURadio, etc. Reboot.

Check that all Python, GNURadio and related directories are empty,
otherwise delete manually. Reboot.

  1. Login with full Administrator rights. Now install of Python,
    GNURadio,
    etc. with the exact versions recommended in the “Successful installation
    of
    GNURadio 3.6.4.1 on Window XP and Windows 8” thread.

Do not make any manual changes with Notepad, etc.

  1. Check your paths. Did you set the paths correctly in “systems
    variables”
    and not “user variables”?

Run a “cmd” window and type “SET” to check all the environment variables
for the PYTHONPATH and GRC_BLOCKS_PATH and PATH contents.

Correct the paths if needed.

  1. Run your code with full Administrator rights.

  2. If “WX UI Scope Sink” still freezes, check if other WX widgets work
    ok.
    If they are ok, then try to change the “WX UI Scope Sink” settings.

Let us know what works. Good luck! :slight_smile:

B

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs