rqt_graph errors
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'
Asked by andrewwi on 2015-05-20 04:58:54 UTC
Answers
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
Asked by wsAndy on 2015-05-21 10:57:21 UTC
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
Asked by Dirk Thomas on 2015-05-21 11:14:19 UTC
Comments
See https://github.com/ros-visualization/rqt_common_plugins/issues/321
Asked by Dirk Thomas on 2015-06-08 18:08:28 UTC
Thanks Dirk.
Asked by andrewwi on 2015-06-08 20:39:06 UTC