Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rqt_graph prints KeyError 'bb' #321

Closed
ablasdel opened this issue May 13, 2015 · 10 comments
Closed

rqt_graph prints KeyError 'bb' #321

ablasdel opened this issue May 13, 2015 · 10 comments

Comments

@ablasdel
Copy link
Contributor

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'

This seems to be the same thing experienced in this ros answers question: http://answers.ros.org/question/192782/rqt_graph-crashes/

Unfortunately re-installing rqt_graph doesn't seem to fix it for us after installing 0.3.11.

rqt-graph & rqt-common-plugins

$ dpkg -l | grep rqt-graph
ii  ros-indigo-rqt-graph                                  0.3.11-0trusty-20150506-0526-+0000                  amd64        rqt_graph provides a GUI plugin for visualizing the ROS computation graph. Its components are made generic so that other packages where you want to achieve graph representation can depend upon this pkg (use rqt_dep to find out the pkgs that depend. rqt_dep itself depends on rqt_graph too).
$ dpkg -l | grep rqt-common
ii  ros-indigo-rqt-common-plugins                         0.3.11-0trusty-20150506-1410-+0000                  amd64        rqt_common_plugins metapackage provides ROS backend graphical tools suite that can be used on/off of robot runtime. To run any rqt plugins, just type in a single command "rqt", then select any plugins you want from the GUI that launches afterwards. rqt consists of three following metapackages: rqt - core modules of rqt (ROS GUI) framework. rqt plugin developers barely needs to pay attention to this metapackage. rqt_common_plugins (you're here!) rqt_robot_plugins - rqt plugins that are particularly used with robots during their runtime.

content of the rqt_gui.ini file of the computer in question

[General]
perspectives=@@rqt_graph__RosGraph, @@rqt_plot__Plot, @@rqt_console__Console, @@rqt_logger_level__LoggerLevel, Default
current-perspective=Default

[plugin_manager]
7517170443106272166\discovery_data\rqt_gui.RospkgPluginProvider\qt_gui\rqt_web=/opt/ros/indigo/share/rqt_web/plugin.xml
7517170443106272166\discovery_data\rqt_gui.RospkgPluginProvider\qt_gui\rqt_gui_cpp=/opt/ros/indigo/share/rqt_gui_cpp/plugin.xml
7517170443106272166\discovery_data\rqt_gui.RospkgPluginProvider\qt_gui\rqt_shell=/opt/ros/indigo/share/rqt_shell/plugin.xml
7517170443106272166\discovery_data\rqt_gui.RospkgPluginProvider\qt_gui\rqt_py_console=/opt/ros/indigo/share/rqt_py_console/plugin.xml
7517170443106272166\discovery_data\rqt_gui.RospkgPluginProvider\qt_gui\rqt_dep=/opt/ros/indigo/share/rqt_dep/plugin.xml
7517170443106272166\discovery_data\rqt_gui.RospkgPluginProvider\qt_gui\qt_gui_cpp=/opt/ros/indigo/share/qt_gui_cpp/plugin.xml
7517170443106272166\discovery_data\qt_gui_cpp.RosPluginlibPluginProvider\qt_gui%20qt_gui_cpp%3A%3APlugin=/opt/ros/indigo/share/qt_gui_cpp/plugin.xml, /opt/ros/indigo/share/rqt_shell/plugin.xml, /opt/ros/indigo/share/rqt_dep/plugin.xml, /opt/ros/indigo/share/rqt_py_console/plugin.xml, /opt/ros/indigo/share/rqt_web/plugin.xml, /opt/ros/indigo/share/rqt_gui_cpp/plugin.xml
7517170443106272166\discovery_data\qt_gui_cpp.RosPluginlibPluginProvider\qt_gui%20qt_gui_cpp%3A%3APluginProvider=/opt/ros/indigo/share/qt_gui_cpp/plugin.xml, /opt/ros/indigo/share/rqt_shell/plugin.xml, /opt/ros/indigo/share/rqt_dep/plugin.xml, /opt/ros/indigo/share/rqt_py_console/plugin.xml, /opt/ros/indigo/share/rqt_web/plugin.xml, /opt/ros/indigo/share/rqt_gui_cpp/plugin.xml
7517170443106272166\discovery_data\qt_gui_cpp.RosPluginlibPluginProvider\rqt_gui%20rqt_gui_cpp%3A%3APlugin=/opt/ros/indigo/share/rqt_launch/plugin.xml, /opt/ros/indigo/share/rqt_service_caller/plugin.xml, /opt/ros/indigo/share/rqt_pose_view/plugin.xml, /opt/ros/indigo/share/rqt_plot/plugin.xml, /opt/ros/indigo/share/rqt_msg/plugin.xml, /opt/ros/indigo/share/rqt_srv/plugin.xml, /opt/ros/indigo/share/rqt_publisher/plugin.xml, /opt/ros/indigo/share/rqt_runtime_monitor/plugin.xml, /opt/ros/indigo/share/rqt_image_view/plugin.xml, /opt/ros/indigo/share/rqt_top/plugin.xml, /opt/ros/indigo/share/rqt_reconfigure/plugin.xml, /opt/ros/indigo/share/rqt_topic/plugin.xml, /opt/ros/indigo/share/rqt_robot_steering/plugin.xml, /opt/ros/indigo/share/rqt_logger_level/plugin.xml, /opt/ros/indigo/share/rqt_graph/plugin.xml, /opt/ros/indigo/share/rqt_rviz/plugin.xml, /opt/ros/indigo/share/rqt_nav_view/plugin.xml, /opt/ros/indigo/share/rqt_console/plugin.xml, /opt/ros/indigo/share/rqt_tf_tree/plugin.xml, /opt/ros/indigo/share/rqt_moveit/plugin.xml, /opt/ros/indigo/share/rqt_gui_py/plugin.xml, /opt/ros/indigo/share/rqt_robot_monitor/plugin.xml, /opt/ros/indigo/share/rqt_bag/plugin.xml
7517170443106272166\discovery_data\rqt_gui.RospkgPluginProvider\rqt_gui\rqt_image_view=/opt/ros/indigo/share/rqt_image_view/plugin.xml
7517170443106272166\discovery_data\rqt_gui.RospkgPluginProvider\rqt_gui\rqt_graph=/opt/ros/indigo/share/rqt_graph/plugin.xml
7517170443106272166\discovery_data\rqt_gui.RospkgPluginProvider\rqt_gui\rqt_console=/opt/ros/indigo/share/rqt_console/plugin.xml
7517170443106272166\discovery_data\rqt_gui.RospkgPluginProvider\rqt_gui\rqt_runtime_monitor=/opt/ros/indigo/share/rqt_runtime_monitor/plugin.xml
7517170443106272166\discovery_data\rqt_gui.RospkgPluginProvider\rqt_gui\rqt_srv=/opt/ros/indigo/share/rqt_srv/plugin.xml
7517170443106272166\discovery_data\rqt_gui.RospkgPluginProvider\rqt_gui\rqt_reconfigure=/opt/ros/indigo/share/rqt_reconfigure/plugin.xml
7517170443106272166\discovery_data\rqt_gui.RospkgPluginProvider\rqt_gui\rqt_bag=/opt/ros/indigo/share/rqt_bag/plugin.xml
7517170443106272166\discovery_data\rqt_gui.RospkgPluginProvider\rqt_gui\rqt_plot=/opt/ros/indigo/share/rqt_plot/plugin.xml
7517170443106272166\discovery_data\rqt_gui.RospkgPluginProvider\rqt_gui\rqt_publisher=/opt/ros/indigo/share/rqt_publisher/plugin.xml
7517170443106272166\discovery_data\rqt_gui.RospkgPluginProvider\rqt_gui\rqt_robot_steering=/opt/ros/indigo/share/rqt_robot_steering/plugin.xml
7517170443106272166\discovery_data\rqt_gui.RospkgPluginProvider\rqt_gui\rqt_nav_view=/opt/ros/indigo/share/rqt_nav_view/plugin.xml
7517170443106272166\discovery_data\rqt_gui.RospkgPluginProvider\rqt_gui\rqt_launch=/opt/ros/indigo/share/rqt_launch/plugin.xml
7517170443106272166\discovery_data\rqt_gui.RospkgPluginProvider\rqt_gui\rqt_topic=/opt/ros/indigo/share/rqt_topic/plugin.xml
7517170443106272166\discovery_data\rqt_gui.RospkgPluginProvider\rqt_gui\rqt_action=/opt/ros/indigo/share/rqt_action/plugin.xml
7517170443106272166\discovery_data\rqt_gui.RospkgPluginProvider\rqt_gui\rqt_top=/opt/ros/indigo/share/rqt_top/plugin.xml
7517170443106272166\discovery_data\rqt_gui.RospkgPluginProvider\rqt_gui\rqt_gui_py=/opt/ros/indigo/share/rqt_gui_py/plugin.xml
7517170443106272166\discovery_data\rqt_gui.RospkgPluginProvider\rqt_gui\rqt_rviz=/opt/ros/indigo/share/rqt_rviz/plugin.xml
7517170443106272166\discovery_data\rqt_gui.RospkgPluginProvider\rqt_gui\rqt_tf_tree=/opt/ros/indigo/share/rqt_tf_tree/plugin.xml
7517170443106272166\discovery_data\rqt_gui.RospkgPluginProvider\rqt_gui\rqt_moveit=/opt/ros/indigo/share/rqt_moveit/plugin.xml
7517170443106272166\discovery_data\rqt_gui.RospkgPluginProvider\rqt_gui\rqt_service_caller=/opt/ros/indigo/share/rqt_service_caller/plugin.xml
7517170443106272166\discovery_data\rqt_gui.RospkgPluginProvider\rqt_gui\rqt_msg=/opt/ros/indigo/share/rqt_msg/plugin.xml
7517170443106272166\discovery_data\rqt_gui.RospkgPluginProvider\rqt_gui\rqt_logger_level=/opt/ros/indigo/share/rqt_logger_level/plugin.xml
7517170443106272166\discovery_data\rqt_gui.RospkgPluginProvider\rqt_gui\rqt_pose_view=/opt/ros/indigo/share/rqt_pose_view/plugin.xml
7517170443106272166\discovery_data\rqt_gui.RospkgPluginProvider\rqt_gui\rqt_robot_monitor=/opt/ros/indigo/share/rqt_robot_monitor/plugin.xml
7517170443106272166\discovery_timestamp=1431384260.72279

[perspective]
%40rqt_graph__RosGraph\mainwindow\geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x1\0\0\0\0\x3\x19\0\0\x1\x13\0\0\x6\xb6\0\0\x3\x4\0\0\x3#\0\0\x1\x39\0\0\x6\xac\0\0\x2\xfa\0\0\0\0\0\0)
%40rqt_graph__RosGraph\mainwindow\state=@ByteArray(\0\0\0\xff\0\0\0\0\xfd\0\0\0\x1\0\0\0\x3\0\0\x3\x8a\0\0\x1\xac\xfc\x1\0\0\0\x1\xfb\0\0\0\x44\0r\0q\0t\0_\0g\0r\0\x61\0p\0h\0_\0_\0R\0o\0s\0G\0r\0\x61\0p\0h\0_\0_\0\x30\0_\0_\0R\0o\0s\0G\0r\0\x61\0p\0h\0U\0i\x1\0\0\0\0\0\0\x3\x8a\0\0\x3\x8a\0\xff\xff\xff\0\0\x3\x8a\0\0\0\0\0\0\0\x4\0\0\0\x4\0\0\0\b\0\0\0\b\xfc\0\0\0\x1\0\0\0\x3\0\0\0\x1\0\0\0\x36\0M\0i\0n\0i\0m\0i\0z\0\x65\0\x64\0\x44\0o\0\x63\0k\0W\0i\0\x64\0g\0\x65\0t\0s\0T\0o\0o\0l\0\x62\0\x61\0r\0\0\0\0\0\xff\xff\xff\xff\0\0\0\0\0\0\0\0)
%40rqt_graph__RosGraph\mainwindow\toolbar_areas\MinimizedDockWidgetsToolbar=8
%40rqt_plot__Plot\mainwindow\geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x1\0\0\0\0\x3\x64\0\0\0t\0\0\x5\xcf\0\0\x2\x65\0\0\x3n\0\0\0\x9a\0\0\x5\xc5\0\0\x2[\0\0\0\0\0\0)
%40rqt_plot__Plot\mainwindow\state=@ByteArray(\0\0\0\xff\0\0\0\0\xfd\0\0\0\x1\0\0\0\x3\0\0\x2X\0\0\x1\xac\xfc\x1\0\0\0\x1\xfb\0\0\0\x42\0r\0q\0t\0_\0p\0l\0o\0t\0_\0_\0P\0l\0o\0t\0_\0_\0\x30\0_\0_\0\x44\0\x61\0t\0\x61\0P\0l\0o\0t\0W\0i\0\x64\0g\0\x65\0t\x1\0\0\0\0\0\0\x2X\0\0\x1w\0\xff\xff\xff\0\0\x2X\0\0\0\0\0\0\0\x4\0\0\0\x4\0\0\0\b\0\0\0\b\xfc\0\0\0\x1\0\0\0\x3\0\0\0\x1\0\0\0\x36\0M\0i\0n\0i\0m\0i\0z\0\x65\0\x64\0\x44\0o\0\x63\0k\0W\0i\0\x64\0g\0\x65\0t\0s\0T\0o\0o\0l\0\x62\0\x61\0r\0\0\0\0\0\xff\xff\xff\xff\0\0\0\0\0\0\0\0)
%40rqt_plot__Plot\mainwindow\toolbar_areas\MinimizedDockWidgetsToolbar=8
%40rqt_plot__Plot\pluginmanager\running-plugins=@Variant(\0\0\0\b\0\0\0\x1\0\0\0\x1a\0r\0q\0t\0_\0p\0l\0o\0t\0/\0P\0l\0o\0t\0\0\0\t\0\0\0\x1\0\0\0\x2\0\0\0\0)
%40rqt_plot__Plot\pluginmanager\plugin__rqt_plot__Plot__0\plugin\plot_type=1
%40rqt_plot__Plot\pluginmanager\plugin__rqt_plot__Plot__0\plugin\x_limits=88.25528216362, 89.25528216362
%40rqt_plot__Plot\pluginmanager\plugin__rqt_plot__Plot__0\plugin\y_limits=0, 6.59138107299805
%40rqt_plot__Plot\pluginmanager\plugin__rqt_plot__Plot__0\plugin\autoscroll=true
%40rqt_plot__Plot\pluginmanager\plugin__rqt_plot__Plot__0\plugin\topics=/turtle1/pose/x, /turtle1/pose/y
%40rqt_plot__Plot\pluginmanager\plugin__rqt_plot__Plot__0\dock_widget__DataPlotWidget\parent=__NoneType__
%40rqt_plot__Plot\pluginmanager\plugin__rqt_plot__Plot__0\dock_widget__DataPlotWidget\dockable=true
%40rqt_graph__RosGraph\pluginmanager\running-plugins=@Variant(\0\0\0\b\0\0\0\x1\0\0\0$\0r\0q\0t\0_\0g\0r\0\x61\0p\0h\0/\0R\0o\0s\0G\0r\0\x61\0p\0h\0\0\0\t\0\0\0\x1\0\0\0\x2\0\0\0\0)
%40rqt_graph__RosGraph\pluginmanager\plugin__rqt_graph__RosGraph__0\plugin\graph_type_combo_box_index=2
%40rqt_graph__RosGraph\pluginmanager\plugin__rqt_graph__RosGraph__0\plugin\filter_line_edit_text=/
%40rqt_graph__RosGraph\pluginmanager\plugin__rqt_graph__RosGraph__0\plugin\topic_filter_line_edit_text=/
%40rqt_graph__RosGraph\pluginmanager\plugin__rqt_graph__RosGraph__0\plugin\namespace_cluster_check_box_state=false
%40rqt_graph__RosGraph\pluginmanager\plugin__rqt_graph__RosGraph__0\plugin\actionlib_check_box_state=true
%40rqt_graph__RosGraph\pluginmanager\plugin__rqt_graph__RosGraph__0\plugin\dead_sinks_check_box_state=true
%40rqt_graph__RosGraph\pluginmanager\plugin__rqt_graph__RosGraph__0\plugin\leaf_topics_check_box_state=true
%40rqt_graph__RosGraph\pluginmanager\plugin__rqt_graph__RosGraph__0\plugin\quiet_check_box_state=true
%40rqt_graph__RosGraph\pluginmanager\plugin__rqt_graph__RosGraph__0\plugin\auto_fit_graph_check_box_state=true
%40rqt_graph__RosGraph\pluginmanager\plugin__rqt_graph__RosGraph__0\plugin\highlight_connections_check_box_state=true
%40rqt_graph__RosGraph\pluginmanager\plugin__rqt_graph__RosGraph__0\dock_widget__RosGraphUi\parent=__NoneType__
%40rqt_graph__RosGraph\pluginmanager\plugin__rqt_graph__RosGraph__0\dock_widget__RosGraphUi\dockable=true
%40rqt_console__Console\mainwindow\geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x1\0\0\0\0\0Z\0\0\0Z\0\0\x2\xc5\0\0\x2K\0\0\0\x64\0\0\0\x80\0\0\x2\xbb\0\0\x2\x41\0\0\0\0\0\0)
%40rqt_console__Console\mainwindow\state=@ByteArray(\0\0\0\xff\0\0\0\0\xfd\0\0\0\x1\0\0\0\x3\0\0\x2X\0\0\x1\xac\xfc\x1\0\0\0\x1\xfb\0\0\0L\0r\0q\0t\0_\0\x63\0o\0n\0s\0o\0l\0\x65\0_\0_\0\x43\0o\0n\0s\0o\0l\0\x65\0_\0_\0\x30\0_\0_\0\x43\0o\0n\0s\0o\0l\0\x65\0W\0i\0\x64\0g\0\x65\0t\x1\0\0\0\0\0\0\x2X\0\0\x1\xbd\0\xff\xff\xff\0\0\x2X\0\0\0\0\0\0\0\x4\0\0\0\x4\0\0\0\b\0\0\0\b\xfc\0\0\0\x1\0\0\0\x3\0\0\0\x1\0\0\0\x36\0M\0i\0n\0i\0m\0i\0z\0\x65\0\x64\0\x44\0o\0\x63\0k\0W\0i\0\x64\0g\0\x65\0t\0s\0T\0o\0o\0l\0\x62\0\x61\0r\0\0\0\0\0\xff\xff\xff\xff\0\0\0\0\0\0\0\0)
%40rqt_console__Console\mainwindow\toolbar_areas\MinimizedDockWidgetsToolbar=8
%40rqt_logger_level__LoggerLevel\mainwindow\geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x1\0\0\0\0\x4\x19\0\0\0o\0\0\x6\x84\0\0\x2`\0\0\x4#\0\0\0\x95\0\0\x6z\0\0\x2V\0\0\0\0\0\0)
%40rqt_logger_level__LoggerLevel\mainwindow\state=@ByteArray(\0\0\0\xff\0\0\0\0\xfd\0\0\0\x1\0\0\0\x3\0\0\x2X\0\0\x1\xac\xfc\x1\0\0\0\x1\xfb\0\0\0\x66\0r\0q\0t\0_\0l\0o\0g\0g\0\x65\0r\0_\0l\0\x65\0v\0\x65\0l\0_\0_\0L\0o\0g\0g\0\x65\0r\0L\0\x65\0v\0\x65\0l\0_\0_\0\x30\0_\0_\0L\0o\0g\0g\0\x65\0r\0L\0\x65\0v\0\x65\0l\0W\0i\0\x64\0g\0\x65\0t\x1\0\0\0\0\0\0\x2X\0\0\x1\t\0\xff\xff\xff\0\0\x2X\0\0\0\0\0\0\0\x4\0\0\0\x4\0\0\0\b\0\0\0\b\xfc\0\0\0\x1\0\0\0\x3\0\0\0\x1\0\0\0\x36\0M\0i\0n\0i\0m\0i\0z\0\x65\0\x64\0\x44\0o\0\x63\0k\0W\0i\0\x64\0g\0\x65\0t\0s\0T\0o\0o\0l\0\x62\0\x61\0r\0\0\0\0\0\xff\xff\xff\xff\0\0\0\0\0\0\0\0)
%40rqt_logger_level__LoggerLevel\mainwindow\toolbar_areas\MinimizedDockWidgetsToolbar=8
%40rqt_console__Console\pluginmanager\running-plugins=@Variant(\0\0\0\b\0\0\0\x1\0\0\0&\0r\0q\0t\0_\0\x63\0o\0n\0s\0o\0l\0\x65\0/\0\x43\0o\0n\0s\0o\0l\0\x65\0\0\0\t\0\0\0\x1\0\0\0\x2\0\0\0\0)
%40rqt_console__Console\pluginmanager\plugin__rqt_console__Console__0\plugin\settings_exist=true
%40rqt_console__Console\pluginmanager\plugin__rqt_console__Console__0\plugin\table_splitter=@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x2\0\0\0K\0\0\0\xe7\x1\0\0\0\t\x1\0\0\0\x2)
%40rqt_console__Console\pluginmanager\plugin__rqt_console__Console__0\plugin\filter_splitter=@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x2\0\0\0o\0\0\0o\x1\0\0\0\t\x1\0\0\0\x2)
%40rqt_console__Console\pluginmanager\plugin__rqt_console__Console__0\plugin\paused=false
%40rqt_console__Console\pluginmanager\plugin__rqt_console__Console__0\plugin\show_highlighted_only=false
%40rqt_console__Console\pluginmanager\plugin__rqt_console__Console__0\plugin\exclude_filter_0\enabled=true
%40rqt_console__Console\pluginmanager\plugin__rqt_console__Console__0\plugin\exclude_filter_0\itemlist=
%40rqt_console__Console\pluginmanager\plugin__rqt_console__Console__0\plugin\exclude_filters=severity
%40rqt_console__Console\pluginmanager\plugin__rqt_console__Console__0\plugin\highlight_filter_0\enabled=true
%40rqt_console__Console\pluginmanager\plugin__rqt_console__Console__0\plugin\highlight_filter_0\text=
%40rqt_console__Console\pluginmanager\plugin__rqt_console__Console__0\plugin\highlight_filter_0\regex=false
%40rqt_console__Console\pluginmanager\plugin__rqt_console__Console__0\plugin\highlight_filters=message
%40rqt_console__Console\pluginmanager\plugin__rqt_console__Console__0\plugin\message_limit=20000
%40rqt_console__Console\pluginmanager\plugin__rqt_console__Console__0\dock_widget__ConsoleWidget\parent=__NoneType__
%40rqt_console__Console\pluginmanager\plugin__rqt_console__Console__0\dock_widget__ConsoleWidget\dockable=true
%40rqt_logger_level__LoggerLevel\pluginmanager\running-plugins=@Variant(\0\0\0\b\0\0\0\x1\0\0\0\x38\0r\0q\0t\0_\0l\0o\0g\0g\0\x65\0r\0_\0l\0\x65\0v\0\x65\0l\0/\0L\0o\0g\0g\0\x65\0r\0L\0\x65\0v\0\x65\0l\0\0\0\t\0\0\0\x1\0\0\0\x2\0\0\0\0)
%40rqt_logger_level__LoggerLevel\pluginmanager\plugin__rqt_logger_level__LoggerLevel__0\dock_widget__LoggerLevelWidget\parent=__NoneType__
%40rqt_logger_level__LoggerLevel\pluginmanager\plugin__rqt_logger_level__LoggerLevel__0\dock_widget__LoggerLevelWidget\dockable=true
Default\mainwindow\geometry="@ByteArray(\x1\xd9\xd0\xcb\0\x1\0\0\0\0\x3\x43\0\0\x1\x15\0\0\x6\xe0\0\0\x3\x6\0\0\x3M\0\0\x1;\0\0\x6\xd6\0\0\x2\xfc\0\0\0\0\0\0)"
Default\mainwindow\state=@ByteArray(\0\0\0\xff\0\0\0\0\xfd\0\0\0\x1\0\0\0\x3\0\0\x3\x8a\0\0\x1\x93\xfc\x1\0\0\0\x1\xfb\0\0\0\x44\0r\0q\0t\0_\0g\0r\0\x61\0p\0h\0_\0_\0R\0o\0s\0G\0r\0\x61\0p\0h\0_\0_\0\x31\0_\0_\0R\0o\0s\0G\0r\0\x61\0p\0h\0U\0i\x1\0\0\0\0\0\0\x3\x8a\0\0\x3\x8a\0\xff\xff\xff\0\0\x3\x8a\0\0\0\0\0\0\0\x4\0\0\0\x4\0\0\0\b\0\0\0\b\xfc\0\0\0\x1\0\0\0\x3\0\0\0\x1\0\0\0\x36\0M\0i\0n\0i\0m\0i\0z\0\x65\0\x64\0\x44\0o\0\x63\0k\0W\0i\0\x64\0g\0\x65\0t\0s\0T\0o\0o\0l\0\x62\0\x61\0r\0\0\0\0\0\xff\xff\xff\xff\0\0\0\0\0\0\0\0)
Default\mainwindow\toolbar_areas\MinimizedDockWidgetsToolbar=8
Default\pluginmanager\running-plugins=@Variant(\0\0\0\b\0\0\0\x1\0\0\0$\0r\0q\0t\0_\0g\0r\0\x61\0p\0h\0/\0R\0o\0s\0G\0r\0\x61\0p\0h\0\0\0\t\0\0\0\x1\0\0\0\x2\0\0\0\x1)
Default\pluginmanager\plugin__rqt_graph__RosGraph__1\plugin\graph_type_combo_box_index=1
Default\pluginmanager\plugin__rqt_graph__RosGraph__1\plugin\filter_line_edit_text=/
Default\pluginmanager\plugin__rqt_graph__RosGraph__1\plugin\topic_filter_line_edit_text=/
Default\pluginmanager\plugin__rqt_graph__RosGraph__1\plugin\namespace_cluster_check_box_state=true
Default\pluginmanager\plugin__rqt_graph__RosGraph__1\plugin\actionlib_check_box_state=true
Default\pluginmanager\plugin__rqt_graph__RosGraph__1\plugin\dead_sinks_check_box_state=true
Default\pluginmanager\plugin__rqt_graph__RosGraph__1\plugin\leaf_topics_check_box_state=true
Default\pluginmanager\plugin__rqt_graph__RosGraph__1\plugin\quiet_check_box_state=true
Default\pluginmanager\plugin__rqt_graph__RosGraph__1\plugin\auto_fit_graph_check_box_state=true
Default\pluginmanager\plugin__rqt_graph__RosGraph__1\plugin\highlight_connections_check_box_state=true
Default\pluginmanager\plugin__rqt_graph__RosGraph__1\dock_widget__RosGraphUi\parent=__NoneType__
Default\pluginmanager\plugin__rqt_graph__RosGraph__1\dock_widget__RosGraphUi\dockable=true
@awesomebytes
Copy link

Same happened to me and some other users. I needed to kill everything that was running and launch everything again to make rqt_graph work.

@dirk-thomas
Copy link
Contributor

A SSCCE (Short, Self Contained, Correct (Compilable), Example) would really help to find the actual problem. Please consider providing step-by-step instructions how to reproduce this.

@ablasdel
Copy link
Contributor Author

ablasdel commented Jun 4, 2015

Agreed but I haven't been able to get it to happen consistently.

@awesomebytes
Copy link

Ok, I just got it to reproduce in one easy way.

Shell 1:

roscore

Shell 2:

rosrun turtlesim turtlesim_node

Now do Control+Z (send to background) to this shell. Then we can execute:

rosrun rqt_graph rqt_graph

And it will crash with that problem. I suspect it has something to do with the node not being able to answer (rosnode ping /turtlesim fails).

@dirk-thomas
Copy link
Contributor

@awesomebytes I can reproduce your use case. But I think your expectations are wrong. Ctrl-Z does not send the process to background - it suspends the process. And therefore it can not respond to any requests anymore.

If you run bg %jobnum after pressing Ctrl+Z the process continues to run and you should be able to ping it and use it with rqt_graph.

@ablasdel I assume you are having a similar situation where one of the nodes is not responding. But in your case it might be a node doing some long-running operation and is therefore not able to respond.

@ablasdel
Copy link
Contributor Author

ablasdel commented Jun 8, 2015

@dirk-thomas That makes sense I will look into trying to reproduce that knowing that.

Either way rqt dotgraph should probably handle it more gracefully than a trace if it can't communicate with a node right?

dirk-thomas added a commit to ros-visualization/qt_gui_core that referenced this issue Jun 8, 2015
@dirk-thomas
Copy link
Contributor

The better handling has been added in ros-visualization/qt_gui_core@97985bd

But it would be good to fix rqt_graph to not generate an empty subgraph in the first place.

@dirk-thomas
Copy link
Contributor

If you uncheck the hide_debug option you should see the not-responding node (which is otherwise not rendered).

@dirk-thomas
Copy link
Contributor

I don't think rqt_graph can do anything about it. The stacktrace will be fixed in the upcoming release 0.2.28 of qt_dotgraph.

@ablasdel
Copy link
Contributor Author

ablasdel commented Jun 9, 2015

awesome thanks dirk!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants