Gnuradio-companion error

Hi Guys,

I have done the following steps on my Ubuntu10.04:
git clone http://gnuradio.org/git/gnuradio.git
./bootstrap,
./configure,
make and
sudo make install.

All still seems to be OK.

However, I run
“$ gnuradio-companion
Traceback (most recent call last):
File “/usr/local/bin/gnuradio-companion”, line 45, in
“””%gr.version()
AttributeError: ‘module’ object has no attribute ‘version’ "

There is not the old version of gnuradio in my system.
Who can help me?

Thanks,

Cliff Zhang

Hello Zhang,

export PYTHONPATH=$PYTHONPATH:/usr/local/lib/python2.6/dist-packages

should probably fix the error. Make sure the path specified above exists
and
contains the python gnuradio packages.

Cheers,

Rakesh

Hi Rakesh

Thanks a lot.
The grc have run after adding the PYTHONPATH.

I tested the grc using the simple blocks:
<signal source 32k> --> <Throttle 32k> --> <Scope Sink 32k>
(Accessories is Capture Screen )
And then press "Execute " button

Howerver, I can’t see the waveform.

Why?

Cliff Zhang

Hello Zhang,

export PYTHONPATH=$PYTHONPATH:/usr/local/lib/python2.6/dist-packages

should probably fix the error. Make sure the path specified above exists
and contains the python gnuradio packages.

Cheers,

Rakesh
On Fri, Sep 17, 2010 at 8:01 AM, zhang wei [email protected]
wrote:
Hi Guys,

   I have done the following steps on my Ubuntu10.04:
   git clone http://gnuradio.org/git/gnuradio.git
    ./bootstrap,
   ./configure,
   make and
   sudo make install.

   All still seems to be OK.

   However, I run

“$ gnuradio-companion
Traceback (most recent call last):
File “/usr/local/bin/gnuradio-companion”, line 45, in
“””%gr.version()
AttributeError: ‘module’ object has no attribute ‘version’ "

   There is not the old version of gnuradio in my system.
   Who can help me?

Thanks,

Cliff Zhang

The non-gl scope sink is a little weird. You may have to mess with the
time axis to see anything. If you install python-opengl, you will get
the gl scope sink which works much better. Looks like this:
http://www.joshknows.com/images/wxgui/wxgui_scope.png

My best guess,
-Josh

Hi Josh,

I have installed the python-opengl (See the Accessories).
But I still can’t see the waveform.

Cliff

The non-gl scope sink is a little weird. You may have to mess with the
time axis to see anything. If you install python-opengl, you will get
the gl scope sink which works much better. Looks like this:
http://www.joshknows.com/images/wxgui/wxgui_scope.png

My best guess,
-Josh

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