← Back to team overview

ubuntu-hams-devel team mailing list archive

[Bug 783685] [NEW] gnuradio-companion, grc, crashes on launch

 

Public bug reported:

Binary package hint: gnuradio

grc on lucid works fine, on natty launch results in the following traceback:
----------------------------------
rec@elf11:~/Projects/arftcl/gnuradio$ grc
<<< 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 "<string>", 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 "<string>", 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 <module>
    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'
------------------------------
rec@elf11:~/Projects/arftcl/gnuradio$ lsb_release -rd
Description:	Ubuntu 11.04
Release:	11.04
rec@elf11:~/Projects/arftcl/gnuradio$ apt-cache policy gnuradio-companion
gnuradio-companion:
  Installed: 3.2.2.dfsg-1ubuntu6
  Candidate: 3.2.2.dfsg-1ubuntu6
  Version table:
 *** 3.2.2.dfsg-1ubuntu6 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty/universe amd64 Packages
        100 /var/lib/dpkg/status

** Affects: gnuradio (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
ham developers, which is subscribed to gnuradio in Ubuntu.
https://bugs.launchpad.net/bugs/783685

Title:
  gnuradio-companion, grc, crashes on launch

Status in “gnuradio” package in Ubuntu:
  New

Bug description:
  Binary package hint: gnuradio

  grc on lucid works fine, on natty launch results in the following traceback:
  ----------------------------------
  rec@elf11:~/Projects/arftcl/gnuradio$ grc
  <<< 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 "<string>", 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 "<string>", 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 <module>
      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'
  ------------------------------
  rec@elf11:~/Projects/arftcl/gnuradio$ lsb_release -rd
  Description:	Ubuntu 11.04
  Release:	11.04
  rec@elf11:~/Projects/arftcl/gnuradio$ apt-cache policy gnuradio-companion
  gnuradio-companion:
    Installed: 3.2.2.dfsg-1ubuntu6
    Candidate: 3.2.2.dfsg-1ubuntu6
    Version table:
   *** 3.2.2.dfsg-1ubuntu6 0
          500 http://us.archive.ubuntu.com/ubuntu/ natty/universe amd64 Packages
          100 /var/lib/dpkg/status


Follow ups

References