[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnuradio-discuss
Subject:    [Discuss-gnuradio] GNU Radio 3.6.4.1 Windows 7 Install - Wx UI Scope Sink Freeze
From:       Carl Allen <carl.allen02 () gmail ! com>
Date:       2014-01-29 16:51:06
Message-ID: CA+pojrVoaZtTn=27+UutVSnCr0=eN9YgHPgNhZFfB7V_-DUoPA () mail ! gmail ! com
[Download RAW message or body]

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: fcn[1]()
  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>)

[Attachment #3 (text/html)]

<div dir="ltr">Hello,<br><br>I am new to GNU Radio and I followed the new windows \
install directions listed in the thread &quot;Successful installation of GNURadio \
3.6.4.1 on Window XP and Windows 8&quot;  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.<br> <br>I followed the directions mentioned in \
&quot;WX GUI Scope frozen and error-msg gr_vmcircbuf_default_factory: Invalid \
argument&quot; thread with no success.  Namely 1) I created \
C:\Users\&quot;myname&quot;\.gnuradio\config.conf in notepad with &quot; \
[wxgui]&quot; ,&quot; style = nongl&quot;  2) renamed the openGL file folders in \
C:\Python27\Lib\site-packages\ directory.<br> <br>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.<br><br>Below I included the \
messages from the GNU Radio Companion and the WxPython window below.  The error \
message listed in the wxPython window was:<br>  &quot;TypeError: (&quot;No array-type \
handler for type &lt;class &#39;ctypes.c_ulong&#39;&gt; (value: c_ulong(0L)) \
registered&quot;, &lt;OpenGL.converters.CallFuncPyConverter object at \
0x02F8E730&gt;)<br><br>Note that the WxPython message is the same message posted in \
the thread &quot;Gnuradio 3.7.2 Windows?.&quot;  I could not find a resolution to \
this problem in the archives or by searching the net so any assistance would be \
appreciated.<br> <br><br>Thank \
you,<br><br><br>Carl<br><div><br></div><div><br></div><div>************* GNU Radio \
Companion window message************************<br>Generating: \
&quot;C:\Users\562647\Documents\gnuradio\top_block.py&quot;<br>

Executing: &quot;C:\Users\562647\Documents\gnuradio\top_block.py&quot;<br>: \
Permission denied<br>: No such file or \
directory<br></div><div><br></div><div>************* message on &quot;wxPython: \
stdout/stderr: window*******************<br>

Note: this message is the same one 
discussed in a previous post &quot;Gnuradio 3.7.2 Windows?&quot;, 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):</div>***message:******<br>Traceback (most recent call last):<br>  File \
&quot;C:\Program Files \
(x86)\gnuradio\lib\site-packages\gnuradio\wxgui\plotter\plotter_base.py&quot;, line \
198, in _on_paint<br>

    for fcn in self._draw_fcns: fcn[1]()<br>  File &quot;C:\Program Files \
(x86)\gnuradio\lib\site-packages\gnuradio\wxgui\plotter\plotter_base.py&quot;, line \
59, in draw<br>    self._draw()<br>  File &quot;C:\Program Files \
(x86)\gnuradio\lib\site-packages\gnuradio\wxgui\plotter\grid_plotter_base.py&quot;, \
line 216, in _draw_grid<br>

    for tick in self._get_ticks(self.x_min, self.x_max, self.x_step, \
self.x_scalar)]<br>  File &quot;C:\Program Files \
(x86)\gnuradio\lib\site-packages\gnuradio\wxgui\plotter\grid_plotter_base.py&quot;, \
line 314, in _get_tick_label<br>

    return gltext.Text(tick_str, font_size=TICK_TEXT_FONT_SIZE)<br>  File \
&quot;C:\Program Files \
(x86)\gnuradio\lib\site-packages\gnuradio\wxgui\plotter\gltext.py&quot;, line 340, in \
__init__<br>    self._initText()<br>  File &quot;C:\Program Files \
(x86)\gnuradio\lib\site-packages\gnuradio\wxgui\plotter\gltext.py&quot;, line 376, in \
_initText<br>

    self._centered)<br>  File &quot;C:\Program Files \
(x86)\gnuradio\lib\site-packages\gnuradio\wxgui\plotter\gltext.py&quot;, line 73, in \
__init__<br>    self.createTexture()<br>  File &quot;C:\Program Files \
(x86)\gnuradio\lib\site-packages\gnuradio\wxgui\plotter\gltext.py&quot;, line 229, in \
createTexture<br>

    self._texture = glGenTextures(1)<br>  File \
&quot;C:\Python27\lib\site-packages\pyopengl-3.1.0a3-py2.7.egg\OpenGL\latebind.py&quot;, \
line 61, in __call__<br>    return self.wrapperFunction( self.baseFunction, *args, \
**named )<br>

  File &quot;C:\Python27\lib\site-packages\pyopengl-3.1.0a3-py2.7.egg\OpenGL\GL\exceptional.py&quot;, \
line 189, in glGenTextures<br>    baseFunction( count, textures)<br>  File \
&quot;C:\Python27\lib\site-packages\pyopengl-3.1.0a3-py2.7.egg\OpenGL\latebind.py&quot;, \
line 45, in __call__<br>

    return self._finalCall( *args, **named )<br>  File \
&quot;C:\Python27\lib\site-packages\pyopengl-3.1.0a3-py2.7.egg\OpenGL\wrapper.py&quot;, \
line 571, in wrapperCall<br>    pyArgs = tuple( calculate_pyArgs( args ))<br>  File \
&quot;C:\Python27\lib\site-packages\pyopengl-3.1.0a3-py2.7.egg\OpenGL\wrapper.py&quot;, \
line 356, in calculate_pyArgs<br>  yield converter(args[index], self, args)<br>  File \
&quot;C:\Python27\lib\site-packages\pyopengl-3.1.0a3-py2.7.egg\OpenGL\converters.py&quot;, \
line 134, in __call__<br>    return self.function( incoming )<br>  File \
&quot;C:\Python27\lib\site-packages\pyopengl-3.1.0a3-py2.7.egg\OpenGL\arrays\arraydatatype.py&quot;, \
line 141, in asArray<br>

    return cls.getHandler(value).asArray( value, typeCode or cls.typeConstant )<br>  \
File &quot;C:\Python27\lib\site-packages\pyopengl-3.1.0a3-py2.7.egg\OpenGL\arrays\arraydatatype.py&quot;, \
line 52, in __call__<br>    typ, repr(value)[:50]<br>

TypeError: (&quot;No array-type handler for type &lt;class \
&#39;ctypes.c_ulong&#39;&gt; (value: c_ulong(0L)) registered&quot;, \
&lt;OpenGL.converters.CallFuncPyConverter object at 0x02F8E730&gt;)<br><br></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic