rqt_graph show problem

asked 2014-12-30 12:52:44 -0500

lnnx2006 gravatar image

I encountered a problem when I used

rosrun rqt_graph rqt_graph

It showed:

PluginHandlerDirect._restore_settings() plugin "rqt_graph/RosGraph#0" raised an exception:
Traceback (most recent call last):
  File "/opt/ros/hydro/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/hydro/lib/python2.7/dist-packages/rqt_graph/ros_graph.py", line 202, in restore_settings
    self._refresh_rosgraph()
  File "/opt/ros/hydro/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/hydro/lib/python2.7/dist-packages/rqt_graph/ros_graph.py", line 253, in _generate_dotcode
    quiet=quiet)
  File "/opt/ros/hydro/lib/python2.7/dist-packages/rqt_graph/dotcode.py", line 568, in generate_dotcode
    dotcode = dotcode_factory.create_dot(dotgraph)
  File "/opt/ros/hydro/lib/python2.7/dist-packages/qt_dotgraph/pydotfactory.py", line 160, in create_dot
    dot = graph.create_dot()
  File "/usr/lib/pymodules/python2.7/pydot.py", line 1595, in <lambda>
    lambda f=frmt, prog=self.prog : self.create(format=f, prog=prog))
  File "/usr/lib/pymodules/python2.7/pydot.py", line 1796, in create
    status, stderr_output) )
InvocationException: Program terminated with status: 1. stderr follows: Error: /tmp/tmpY9wRli:8: syntax error near line 8
context:  >>> label=NODE <<< ;

Could anyone figure out the reason? Thanks in advance!

edit retag flag offensive close merge delete

Comments

there are many topics about rqt_graph crashes and many could be the reasons. Maybe a shutdown could fix the problem, otherwise try here or something similar.

alextoind gravatar image alextoind  ( 2014-12-30 15:36:55 -0500 )edit
1

Hi I've already tried the similar problem here, but it didn't work.

lnnx2006 gravatar image lnnx2006  ( 2014-12-30 20:47:35 -0500 )edit