rqt_graph rqt_tf_tree issue | ros indigo
Hello all,
I am facing an issue with the packages rqt_graph and rqt_tf_tree. When I run the mentioned packages I get the following error:
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
graph.nodes_iter = graph.get_node_list
AttributeError: 'list' object has no attribute 'get_node_list'
Any clue on how can I fix this problem?
Does this persist if you remove
.config/ros.org/rqt_gui.ini
(make a backup first)? It might be in a slightly different location, depending on your desktop environment.Yes, the problem persists after the remotion of the mentioned file.
Must say I have no idea, have not run into this myself. Something like this seems similar. Do you have any name in your ROS tf tree that contains a character that pyDot might not like?
No. I am just running roscore and the command rqt_graph.
Got the same problem, ROS indigo on OSX. Originally I had the error
NameError: global name 'dot_parser' is not defined
, then I updated pydot and pyparsing from 1.0.2->1.2.2 and 2.1.4->2.1.5 and got your error.The packages are updated!!! :(