GNU radio 3.2.1 problem in GRC

i am using ubuntu 9.04 and when i updated it to gnu 3.2.1 i get this
problem when i try to run GRC

<<< Welcome to GNU Radio Companion 3.2.1 >>>
Error: ‘options’

Failue
Traceback (most recent call last):
 File
“/usr/lib/python2.6/dist-packages/gnuradio/grc/gui/MainWindow.py”,
line 174, in new_page
  flow_graph = self._platform.get_new_flow_graph()
 File “/usr/lib/python2.6/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.6/dist-packages/gnuradio/grc/base/FlowGraph.py”,
line 37, in init
  self.import_data()
 File
“/usr/lib/python2.6/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.6/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.6/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.6/dist-packages/gnuradio/grc/gui/MainWindow.py”,
line 174, in new_page
  flow_graph = self._platform.get_new_flow_graph()
 File “/usr/lib/python2.6/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.6/dist-packages/gnuradio/grc/base/FlowGraph.py”,
line 37, in init
  self.import_data()
 File
“/usr/lib/python2.6/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.6/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.6/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.6/dist-packages/gnuradio/grc/gui/ActionHandler.py”,
line 70, in init
  self.handle_states(Actions.APPLICATION_INITIALIZE)
 File
“/usr/lib/python2.6/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.6/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’

i updated my version through the binaries, is there a certain way to
roll back to version 3.2 till this problem is fixed
i need to use GRC right now but also dont want to install Ubuntu from
the start

Do this:

Johnathan C. wrote:

It looks like we’re having some sort of problem with the GNU Radio
prefs system. We’ve at least established that you can get this
working by copying the /etc/gnuradio/conf.d/grc.conf contents into
your local ~/.gnuradio/config.conf:

$ touch ~/.gnuradio/config.conf
$ cat /etc/gnuradio/conf.d/grc.conf >> ~/.gnuradio/config.conf

Johnathan


Discuss-gnuradio mailing list
[email protected]
Discuss-gnuradio Info Page

Please Help me i have same Problem.

touch ~/.gnuradio/config.conf
where is this file?

muhammad j. wrote in post #1030338:

touch ~/.gnuradio/config.conf
where is this file?

If you cannot touch because .gnuradio/config.conf does not exist, do
this:

$ cd ~/
$ mkdir .gnuradio
$ cat /etc/gnuradio/conf.d/grc.conf >> ~/.gnuradio/config.conf