Robotics StackExchange | Archived questions

can't launch rqt_graph

when I launch the rqt_graph,there are some wrong like below,if anyone know why please tell me,thank you very much:

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 cros on 2015-08-31 02:44:48 UTC

Comments

@cros: in the future, if you include console output in your question, please format it using the preformatted text button on the formatting toolbar. It's the one with 101010 on it. That makes things much easier to read. Thanks.

Asked by gvdhoorn on 2015-08-31 03:59:09 UTC

Also: please add which OS you are trying to run this one, which version of the OS, and any other system details you think may be important. The more details you provide, the easier it is for others to help you.

Asked by gvdhoorn on 2015-08-31 04:00:13 UTC

Answers

Hey there,

Others have had success with this: http://stackoverflow.com/questions/15951748/pydot-and-graphviz-error-couldnt-import-dot-parser-loading-of-dot-files-will

in the future, please try the search bar on the top right, before asking a question, along with listing details as others have requested, and what you have tried.

Cheers :)

Asked by IliaBaranov on 2015-08-31 15:02:13 UTC

Comments