rqt_graph "rqt_graph/RosGraph#0" raised an exception

asked 2016-08-16 03:29:39 -0600

agarwalnaimish gravatar image

updated 2021-05-25 09:11:08 -0600

lucasw gravatar image

I executed the following in Ubuntu 16.04 LTS for ROS Kinetic on the terminal:

roscore

(on terminal 1)

rqt_graph

(on terminal 2)

But on terminal 2, it gave me the following error:

PluginHandlerDirect._restore_settings()
plugin "rqt_graph/RosGraph#0" raised
an exception: Traceback (most recent
call last):   File
"/opt/ros/kinetic/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/kinetic/lib/python2.7/dist-packages/rqt_graph/ros_graph.py",
line 203, in restore_settings
    self._refresh_rosgraph()   File "/opt/ros/kinetic/lib/python2.7/dist-packages/rqt_graph/ros_graph.py",
line 227, in _refresh_rosgraph
    self._update_graph_view(self._generate_dotcode())
File
"/opt/ros/kinetic/lib/python2.7/dist-packages/rqt_graph/ros_graph.py",
line 260, in _update_graph_view
    self._redraw_graph_view()   File "/opt/ros/kinetic/lib/python2.7/dist-packages/rqt_graph/ros_graph.py",
line 293, in _redraw_graph_view
    same_label_siblings=True)   File "/opt/ros/kinetic/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'

Could anyone help me out resolve this issue.

edit retag flag offensive close merge delete