Robotics StackExchange | Archived questions

rosrun rqt_graph rqt_graph plugin exception

I'm running Ubuntu 14.04 LTS a completely fresh install in a VirtualBox. I installed the full package version of ROS indigo, and then started going through the tutorials. When running:

rosrun rqt_graph rqt_graph

I get:

PluginHandlerDirect._restore_settings() plugin "rqt_graph/RosGraph#0" raised an exception:
Traceback (most recent call last):
  File "/opt/ros/indigo/lib/python2.7/dist-packages/qt_gui/plugin_handler_direct.py", line 116, in _restore_settings
    self._plugin.restore_settings(plugin_settings_plugin, instance_settings_plugin)
  File "/opt/ros/indigo/lib/python2.7/dist-packages/rqt_graph/ros_graph.py", line 202, in restore_settings
    self._refresh_rosgraph()
  File "/opt/ros/indigo/lib/python2.7/dist-packages/rqt_graph/ros_graph.py", line 226, in _refresh_rosgraph
    self._update_graph_view(self._generate_dotcode())
  File "/opt/ros/indigo/lib/python2.7/dist-packages/rqt_graph/ros_graph.py", line 259, in _update_graph_view
    self._redraw_graph_view()
  File "/opt/ros/indigo/lib/python2.7/dist-packages/rqt_graph/ros_graph.py", line 292, in _redraw_graph_view
    same_label_siblings=True)
  File "/opt/ros/indigo/lib/python2.7/dist-packages/qt_dotgraph/dot_to_qt.py", line 254, in dotcode_to_qt_items
    subgraph_nodeitem = self.getNodeItemForSubgraph(subgraph, highlight_level)
  File "/opt/ros/indigo/lib/python2.7/dist-packages/qt_dotgraph/dot_to_qt.py", line 83, in getNodeItemForSubgraph
    bb = subgraph.attr['bb'].strip('"').split(',')
KeyError: 'bb'

The graph window then opens, but there are no drawings at all within. Please advise.

Asked by alex233 on 2014-09-14 14:35:52 UTC

Comments

It's been awhile, but how did you solve the problem if you did? I just have a fresh native install like yours and the same problem.

Asked by einrob on 2014-11-11 07:56:42 UTC

@einrob I never solved it, I just avoid using the apps that crash.

Asked by alex233 on 2014-11-11 11:24:11 UTC

Do other rqt tools work, e.g. rosrun rqt_bag rqt_bag?

Asked by 130s on 2014-11-16 19:52:52 UTC

@130s Looks like it yes.

Asked by alex233 on 2014-12-20 14:38:15 UTC

Answers