R: Re: Gnuradio companion newbie problem

Thanks but… how it is possible?
The git repo is exacvtly what I did…
Isn’t
there any way to be sure this is the problem, and wouldn’t some kind of
update
just solve the matter, or even tellingthe system to use the newest
library?

On
the other side -cause honestly I’m sure enough about having just one gnu
radio-
maybe it is possible I have one gnuradio but multiple companion, or
multiple
python?

Sorry if what I’m telling doesn’t mmake sense but my linux culture is
still very basic :frowning:

----Messaggio originale----
Da: [email protected]

Data: 02/11/2009 20.36
A: "[email protected]"[email protected]
Cc:
[email protected]
Ogg: Re: [Discuss-gnuradio] Gnuradio companion
newbie problem

It looks like you have multiple versions of gnuradio
installed. The grc
bin script is recent, but an older version of the gr
library is taking
precedent over the newer version.

Purge your file system
of all gnuradio stuff, and reinstall the version
that you want… preferably
from the git repo :slight_smile:

$git clone http://gnuradio.org/git/gnuradio.git

Josh

[email protected] wrote:

Hi everyone.

Finally I was able
to install gnuradio (last version) on ubuntu

9.04!
I tried some examples
running them manually and they worked.

I never used
the gnuradio
companion so i wanted to try it…

I digited grc on the bash and
getting
the following error:

Traceback (most recent call last):
File

“/usr/local/bin/grc”, line 45, in

"""%gr.version()

AttributeError:

‘module’ object has no attribute ‘version’

I checked
on synaptics and looked

like grc was not installed… so I installed it
from synaptic but still I have

the same error.

Anyone got any clue?

Thanks for your help!


Discuss-gnuradio mailing
list

[email protected]
http://lists.gnu.
org/mailman/listinfo/discuss-gnuradio

[email protected] wrote:

Thanks but… how it is possible?

You mentioned that you installed something from synaptic. So its
possible that you have one recent gnuradio install from git, and an
older install from synaptic.

Or… one day after an ubuntu 9.04 update, gnuradio randomly decided to
start installing in a new python site packages directory. This was
repeatable, because it occurred on both of my machines. This created a
problem because the older python path took precedent. Perhaps this
happened to you as well.

Either way, your issue can only be caused by having more than one
gnuradio install on your system. The solution, remove all gnuradio
packages installed by synaptic, then find all gnradio directories in
/usr and rm -rf all of them. Then reinstall from git

help me!!!
grc

(grc:1774): Gtk-WARNING **: Unable to locate theme engine in
module_path: “pixmap”,

(grc:1774): Gtk-WARNING **: Unable to locate theme engine in
module_path: “pixmap”,

(grc:1774): Gtk-WARNING **: Unable to locate theme engine in
module_path: “pixmap”,

(grc:1774): 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’

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