Ask Your Question
0

rqt_graph errors

asked 2015-05-20 04:58:54 -0500

andrewwi gravatar image

updated 2015-05-20 07:34:39 -0500

gvdhoorn gravatar image

Hi. Following the Beginner Level tutorials in sequence and am currently at Tutorial 8. rqt_graph is throwing errors but at Tutorial 6 it didn't. GUI is visible but Node Graph is not.

This is the error output:

andrew@ubuntu:~$ rosrun rqt_graph rqt_graph
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'
edit retag flag offensive close merge delete

Comments

Thanks Dirk.

andrewwi gravatar image andrewwi  ( 2015-06-08 20:39:06 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-05-21 10:57:21 -0500

wsAndy gravatar image

Well, sometimes if you close the rqt in a worry way , the rqt file in your system will be damaged. So , you can install rqt again.

sudo apt-get install ros-%YOUR_ROS_DISTRO%-rqt ros-%YOUR_ROS_DISTRO%-rqt-common-plugins

edit flag offensive delete link more

Comments

Reinstalling rqt does not affect the stored configuration. If the configuration might be the reason for a problem (which I doubt in this case) you can clear it by calling: rqt --clear-config

Dirk Thomas gravatar image Dirk Thomas  ( 2015-05-21 11:14:19 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2015-05-20 04:58:54 -0500

Seen: 425 times

Last updated: May 21 '15