Re: Gnuradio 3.7.2 Windows?

Has anyone actually managed to successfully install and run the latest
gnuradio in Windows 7 based on these
http://code.ettus.com/redmine/ettus/projects/uhd/wiki/GNURadio_Windows
instructions?

I don’t believe this page is up to date as I just cannot get it to work.
It
was OK if something of a struggle with 3.6.

Although it nearly works, the gui modules do not work at all but produce
a
rather unhelpful error message. E.g. this is with a wxgui fft sink added
to
the dialtone example. The tone works fine but not with any gui.

"TypeError: (“No array-type handler for type <class ‘ctypes.c_ulong’>
(value: c_ulong(0L)) registered”, <OpenGL.converters.CallFuncPyConverter
object at 0x0482A3D0>)

"

How am I supposed to understand this? It looks to me like a problem with
pyopengl but that has been installed as indicated in the instructions.
Are
the instructions wrong? Is this the wrong version? Does it just not work
anyway?

I must admit to getting extremely frustrated with gnuradio and its lack
or
usability for those of us who are not professional programmers.

Mike

Here is the debug code.

self._initText()

File “C:\Program
Files\gnuradio\lib\site-packages\gnuradio\wxgui\plotter\gltext.py”, line
376, in _initText

self._centered)

File “C:\Program
Files\gnuradio\lib\site-packages\gnuradio\wxgui\plotter\gltext.py”, line
73,
in init

self.createTexture()

File “C:\Program
Files\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\exceptio
nal.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\arra
ydatatype.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\arra
ydatatype.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
0x0482A3D0>)

Hello,

Has anyone actually managed to successfully install and run the latest
gnuradio in Windows 7

Yes, but not using those instruction, building from source is much more
fun
:), but they look like they worked for you outside of that error.

Also If you Google your error other people are having that problem as
well,
so it’s not Gnuradio related but something with pyopengl on certain
windows
systems. I’d say try installing an older version of pyopengl.

I must admit to getting extremely frustrated with Gnuradio and its lack
or usability for those of us who are not professional programmers.

While I agree it’s not quite user friendly it is a software defined
radio
API and development system, so it’s not gonna be like going to be like
installing a program and listening to the radio, you will need
some software savvyness to build a SDR. If you just want to use a SDR
there
are many already made programs for individual tasks.

Andrew

Instructions for installing on Windows 7 found at:
https://www.liamschneider.com/node/9

Let us know if it works for you.

B


View this message in context:
http://gnuradio.4.n7.nabble.com/Re-Gnuradio-3-7-2-Windows-tp45528p45532.html
Sent from the GnuRadio mailing list archive at Nabble.com.

Thanks Andrew - I had goggled it and not found anything helpful. I am
not
sure an earlier version of pyopengl would work but I suppose it is worth
a
try.

I don’t want an SDR like HDSDR, I want to use Gnuradio to do things most
SDRs can not do - 3.6.5 worked but everyone has now moved on to 3.7 and
I
was hoping, perhaps naively, that it would be sensible to try to install
it
under windows.

Mike

The problem with Gnuradio isn’t so much understanding the DSP side -
it’s
installing and getting the system to work and keeping it working. The
main
problem I find is the continuous changing of the basic framework often
breaks many things in the process in a way that only an experienced
python
programmer can fathom how to fix. Even the supplied examples don’t work
because the modules have been shuffled around, renamed etc. Instructions
rapidly become outdated and the new user then has no clue why the advice
they find on the Gnuradio site doesn’t work. Backwards compatibility
isn’t a
priority when developing a new framework, but Gnuradio in its present
form
has been around for 10 years so it should really have settled down and
there
shouldn’t be these big break everything changes with each new minor
release.
If it were truly stable I think it would be much more successful by now.

From: Andrew D. [mailto:[email protected]]
Sent: 23 December 2013 16:11
To: Mike W.
Cc: GNURadio D.ion List
Subject: Re: [Discuss-gnuradio] Gnuradio 3.7.2 Windows?

Hello,

Has anyone actually managed to successfully install and run the latest
gnuradio in Windows 7

Yes, but not using those instruction, building from source is much more
fun
:), but they look like they worked for you outside of that error.

Also If you Google your error other people are having that problem as
well,
so it’s not Gnuradio related but something with pyopengl on certain
windows
systems. I’d say try installing an older version of pyopengl.

I must admit to getting extremely frustrated with Gnuradio and its lack or
usability for those of us who are not professional programmers.

While I agree it’s not quite user friendly it is a software defined
radio
API and development system, so it’s not gonna be like going to be like
installing a program and listening to the radio, you will need some
software
savvyness to build a SDR. If you just want to use a SDR there are many
already made programs for individual tasks.

Andrew

On Mon, Dec 23, 2013 at 4:47 AM, Mike W. <[email protected]
mailto:[email protected] > wrote:

Has anyone actually managed to successfully install and run the latest
gnuradio in Windows 7 based on these
http://code.ettus.com/redmine/ettus/projects/uhd/wiki/GNURadio_Windows
instructions?

I don’t believe this page is up to date as I just cannot get it to work.
It
was OK if something of a struggle with 3.6.

Although it nearly works, the gui modules do not work at all but produce
a
rather unhelpful error message. E.g. this is with a wxgui fft sink added
to
the dialtone example. The tone works fine but not with any gui.

"TypeError: (“No array-type handler for type <class ‘ctypes.c_ulong’>
(value: c_ulong(0L)) registered”, <OpenGL.converters.CallFuncPyConverter
object at 0x0482A3D0>)

"

How am I supposed to understand this? It looks to me like a problem with
pyopengl but that has been installed as indicated in the instructions.
Are
the instructions wrong? Is this the wrong version? Does it just not work
anyway?

I must admit to getting extremely frustrated with gnuradio and its lack
or
usability for those of us who are not professional programmers.

Mike

Here is the debug code.

self._initText()

File “C:\Program
Files\gnuradio\lib\site-packages\gnuradio\wxgui\plotter\gltext.py”, line
376, in _initText

self._centered)

File “C:\Program
Files\gnuradio\lib\site-packages\gnuradio\wxgui\plotter\gltext.py”, line
73,
in init

self.createTexture()

File “C:\Program
Files\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\exceptio
nal.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\arra
ydatatype.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\arra
ydatatype.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
0x0482A3D0>)

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