# Ubuntu 11.04 and Gnuradio-3.3.0

**URL:** <https://www.ruby-forum.com/t/ubuntu-11-04-and-gnuradio-3-3-0/209056>\
**Category:** GNU Radio\
**Created:** [July 4, 2011, 8:13pm UTC](https://www.ruby-forum.com/t/ubuntu-11-04-and-gnuradio-3-3-0/209056 "2011-07-04T20:13:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![luislavena](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/0ea827/32.png) [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Post date:** [July 4, 2011, 8:13pm UTC](https://www.ruby-forum.com/t/ubuntu-11-04-and-gnuradio-3-3-0/209056/1 "2011-07-04T20:13:35Z")

</div>

I humbly apologize for everything wrong I have done, now today, or will  
do in the future…

I am electrical Eng, want to start using gnuradio, coming back to Linux  
after 10 years off. After 2 frustrating weeks, I was finally able to get  
AN install, but the verbose seems _NOT_ completely clean.

I had the “PythonPath” and “LD\_LIB\_CONF” problems, and got through that  
with help from the previous (old) post on this forum (see far below).  
Thanks! Thanks! Thanks!

(Aside: why is there a Gnuradio forum on a Ruby site?  
again, sorry in advance for my ignorance…)

Starting _WITH HOPE_ ,from a forum post over 6 months old but with  
output pretty close to what I get now (scroll to bottom for OLD original  
post).

My $env:  
echo $PATH  
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games

echo $PYTHONPATH  
/usr/local/lib/python2.7/dist-packages:/usr/local/lib/python2.7/site-packages:/usr/local/bin

LIB\_LD\_CONF:  
ls etc/ld.so.conf.d/  
GL.conf gr-audio-alsa.conf gr-wxgui.conf libc.conf  
gnuradio.conf gr-audio-oss.conf i686-linux-gnu.conf  
gnuradio-core.conf grc.conf libasound2.conf

When I execute usrp\_benchmark\_usb.py I get:  
(is it because I do not yet have the usrp HW?) I would LOVE THAT if  
true!

* * *

Testing 2MB/sec… usrp: failed to find usrp[0]  
Traceback (most recent call last):  
File  
“gradio/gnuradio-3.3.0/gnuradio-examples/python/usrp/usrp\_benchmark\_usb.py”,  
line 106, in   
main ()  
File  
“gradio/gnuradio-3.3.0/gnuradio-examples/python/usrp/usrp\_benchmark\_usb.py”,  
line 96, in main  
ok = run\_test (rate, verbose)  
File  
“gradio/gnuradio-3.3.0/gnuradio-examples/python/usrp/usrp\_benchmark\_usb.py”,  
line 63, in run\_test  
usrp\_tx = usrp.sink\_s (0, tx\_interp)  
File  
“/usr/local/lib/python2.7/dist-packages/gnuradio/usrp/usrp\_swig.py”,  
line 2800, in sink\_s  
return \_usrp\_swig.sink\_s(\*args, \*\*kwargs)  
RuntimeError: can’t open usrp

* * *

ORIGINAL POST:

* * *

i am installing every thing according to the gnuradio installation  
document.  
every thing is going fine but when i give the following command

dushyanth@dushyanth-desktop:~/gnuradio/gnuradio-examples/python/usrp$  
./usrp\_benchmark\_usb.py

Traceback (most recent call last):  
File “./usrp\_benchmark\_usb.py”, line 30, in   
from gnuradio import gr  
ImportError: No module named gnuradio

This is the problem i am facing. please help me in this regard.  
Thank you  
with regards,  
dushyanth

---

<div class="post-metadata">

**Author:** ![eigentone](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/c4cdca/32.png) [@eigentone](https://www.ruby-forum.com/u/eigentone)\
**Post date:** [July 9, 2011, 7:54pm UTC](https://www.ruby-forum.com/t/ubuntu-11-04-and-gnuradio-3-3-0/209056/2 "2011-07-09T19:54:25Z")

</div>

Craig,

I sympathise greatly. Is there a really good reason you can’t go back to  
Ubuntu 10.10 and install from there? That is what I have done. I also  
installed the more recent version from source using the script from the  
forum, which was needed to make things work properly. There are a huge  
number of Gotchas to deal with as it is, see my post not being able to  
make grc run simply because the name of the program was changed without  
telling making it obvious to us novices. Starting from a bleeding edge  
new distribution is likely to be result in tears and/or loss of hair.

Mike

---

<div class="post-metadata">

**Author:** ![eigentone](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/c4cdca/32.png) [@eigentone](https://www.ruby-forum.com/u/eigentone)\
**Post date:** [October 30, 2011, 6:24am UTC](https://www.ruby-forum.com/t/ubuntu-11-04-and-gnuradio-3-3-0/209056/3 "2011-10-30T06:24:31Z")

</div>

Please Help Me!!!  
engrawais@ubuntu:~$ grc

(grc:2743): Gtk-WARNING \*\*: Unable to locate theme engine in  
module\_path: “pixmap”,

(grc:2743): Gtk-WARNING \*\*: Unable to locate theme engine in  
module\_path: “pixmap”,

(grc:2743): Gtk-WARNING \*\*: Unable to locate theme engine in  
module\_path: “pixmap”,

(grc:2743): Gtk-WARNING \*\*: Unable to locate theme engine in  
module\_path: “pixmap”,  
\<\<\< Welcome to GNU Radio Companion 3.2.2 \>\>\>  
Error: ‘options’

> > > Failue  
> > > Traceback (most recent call last):  
> > > File  
> > > “/usr/lib/python2.7/dist-packages/gnuradio/grc/gui/MainWindow.py”, line  
> > > 174, in new\_page  
> > > flow\_graph = self.\_platform.get\_new\_flow\_graph()  
> > > File “/usr/lib/python2.7/dist-packages/gnuradio/grc/base/Platform.py”,  
> > > line 149, in get\_new\_flow\_graph  
> > > def get\_new\_flow\_graph(self): return self.FlowGraph(self)  
> > > File “”, line 4, in **init**  
> > > File  
> > > “/usr/lib/python2.7/dist-packages/gnuradio/grc/base/FlowGraph.py”, line  
> > > 37, in **init**  
> > > self.import\_data()  
> > > File  
> > > “/usr/lib/python2.7/dist-packages/gnuradio/grc/base/FlowGraph.py”, line  
> > > 192, in import\_data  
> > > self.\_options\_block = self.get\_parent().get\_new\_block(self,  
> > > ‘options’)  
> > > File “/usr/lib/python2.7/dist-packages/gnuradio/grc/base/Platform.py”,  
> > > line 159, in get\_new\_block  
> > > def get\_new\_block(self, flow\_graph, key): return  
> > > self.Block(flow\_graph, n=self.\_blocks\_n[key])  
> > > File “/usr/lib/python2.7/dist-packages/gnuradio/grc/base/odict.py”,  
> > > line 34, in **getitem**  
> > > return self.\_data[key]  
> > > KeyError: ‘options’  
> > > Error: ‘options’  
> > > Failue  
> > > Traceback (most recent call last):  
> > > File  
> > > “/usr/lib/python2.7/dist-packages/gnuradio/grc/gui/MainWindow.py”, line  
> > > 174, in new\_page  
> > > flow\_graph = self.\_platform.get\_new\_flow\_graph()  
> > > File “/usr/lib/python2.7/dist-packages/gnuradio/grc/base/Platform.py”,  
> > > line 149, in get\_new\_flow\_graph  
> > > def get\_new\_flow\_graph(self): return self.FlowGraph(self)  
> > > File “”, line 4, in **init**  
> > > File  
> > > “/usr/lib/python2.7/dist-packages/gnuradio/grc/base/FlowGraph.py”, line  
> > > 37, in **init**  
> > > self.import\_data()  
> > > File  
> > > “/usr/lib/python2.7/dist-packages/gnuradio/grc/base/FlowGraph.py”, line  
> > > 192, in import\_data  
> > > self.\_options\_block = self.get\_parent().get\_new\_block(self,  
> > > ‘options’)  
> > > File “/usr/lib/python2.7/dist-packages/gnuradio/grc/base/Platform.py”,  
> > > line 159, in get\_new\_block  
> > > def get\_new\_block(self, flow\_graph, key): return  
> > > self.Block(flow\_graph, n=self.\_blocks\_n[key])  
> > > File “/usr/lib/python2.7/dist-packages/gnuradio/grc/base/odict.py”,  
> > > line 34, in **getitem**  
> > > return self.\_data[key]  
> > > KeyError: ‘options’  
> > > Traceback (most recent call last):  
> > > File “/usr/bin/grc”, line 53, in   
> > > ActionHandler(args, Platform())  
> > > File  
> > > “/usr/lib/python2.7/dist-packages/gnuradio/grc/gui/ActionHandler.py”,  
> > > line 70, in **init**  
> > > self.handle\_states(Actions.APPLICATION\_INITIALIZE)  
> > > File  
> > > “/usr/lib/python2.7/dist-packages/gnuradio/grc/gui/ActionHandler.py”,  
> > > line 332, in handle\_states  
> > > Actions.get\_action\_from\_name(Actions.ELEMENT\_DELETE).set\_sensitive(bool(self.get\_flow\_graph().get\_selected\_elements()))  
> > > File  
> > > “/usr/lib/python2.7/dist-packages/gnuradio/grc/gui/MainWindow.py”, line  
> > > 281, in get\_flow\_graph  
> > > return self.get\_page().get\_flow\_graph()  
> > > AttributeError: ‘NoneType’ object has no attribute ‘get\_flow\_graph’
