Gnuradio and GRC on Ubuntu 11.04

After quite a while away, I’m trying to get gnuradio, grc, and uhd
running on my Ubuntu 11.04 machine.

The .deb packages I grab via the Ubuntu software manager install fine,
but when I try to run grc I get a crash. I see that this has been
reported as a bug a month or so ago; the error I see seems to be the
same as that bug.

Is there a fix or workaround? If not, is my best bet to build from
source?

Thanks,

John

Your best bet is to build from source:
http://gnuradio.org/redmine/wiki/gnuradio/BuildGuide is a good guide and
covers Ubuntu 11.04 quite well.

On Wed, Jun 15, 2011 at 1:07 PM, John Ackermann N8UR [email protected]
wrote:

John

What versions are these?

Tom

Hello,
What kind of error does the GRC give? Occurs the error while making the
GRC?Because I had an error while making the GRC and I worked around it.
I have downloaded the latest GNURadio from the site. Then I copied the
files of my own signalblocks from the old GNURadio to the new one.In the
new GNURadio I adjusted the makefile and … .i file (the dots means the
module name).
Hopefully this helps.
Regards,Nimsips. sorry for my bad English.
From: [email protected]
Date: Wed, 15 Jun 2011 15:06:55 -0400
To: [email protected]
CC: [email protected]
Subject: Re: [Discuss-gnuradio] Gnuradio and GRC on Ubuntu 11.04

On Wed, Jun 15, 2011 at 1:07 PM, John Ackermann N8UR [email protected]
wrote:

After quite a while away, I’m trying to get gnuradio, grc, and uhd
running on my Ubuntu 11.04 machine.

The .deb packages I grab via the Ubuntu software manager install fine,
but when I try to run grc I get a crash. I see that this has been
reported as a bug a month or so ago; the error I see seems to be the
same as that bug.

Is there a fix or workaround? If not, is my best bet to build from
source?

Thanks,

John

What versions are these?
Tom

This was an error on execution. Building from sources with Marcus’
script solved the problem.

John

nimsi stouwdam said the following on 06/15/2011 05:37 PM:

Tom, the metapackage is 3.2.2.dfsg-1ubuntu6 and it appears to date from
late April.

John

Tom R. said the following on 06/15/2011 03:06 PM:

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’