rosrun rqt_graph rqt_graph plugin exception

asked 2014-09-14 14:35:52 -0600

alex233 gravatar image

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.

edit retag flag offensive close merge delete

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.

einrob gravatar image einrob  ( 2014-11-11 06:56:42 -0600 )edit
1

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

alex233 gravatar image alex233  ( 2014-11-11 10:24:11 -0600 )edit

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

130s gravatar image 130s  ( 2014-11-16 18:52:52 -0600 )edit
1

@130s Looks like it yes.

alex233 gravatar image alex233  ( 2014-12-20 13:38:15 -0600 )edit