ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

gallantandre's profile - activity

2021-03-25 01:38:20 -0500 received badge  Notable Question (source)
2021-03-25 01:38:20 -0500 received badge  Popular Question (source)
2021-03-25 01:38:20 -0500 received badge  Famous Question (source)
2020-01-15 09:55:13 -0500 commented answer rqt won't launch: KeyError: 'label'

Indeed, when the main rqt interface tries to load its menu, it looks for all plugins. For each plugin, it needs a label

2020-01-15 09:49:58 -0500 marked best answer rqt won't launch: KeyError: 'label'

Hello, I am getting a trace error when I try to launch rqt.

Traceback (most recent call last):
      File "/opt/ros/melodic/bin/rqt", line 13, in <module>
        sys.exit(main.main())
      File "/opt/ros/melodic/lib/python2.7/dist-packages/rqt_gui/main.py", line 59, in main
        return super(Main, self).main(argv, standalone=standalone, plugin_argument_provider=plugin_argument_provider, plugin_manager_settings_prefix=str(hash(os.environ['ROS_PACKAGE_PATH'])))
      File "/opt/ros/melodic/lib/python2.7/dist-packages/qt_gui/main.py", line 596, in main
        plugin_manager.discover()
      File "/opt/ros/melodic/lib/python2.7/dist-packages/qt_gui/plugin_manager.py", line 125, in discover
        self._plugin_menu.add_plugin(plugin_descriptor)
      File "/opt/ros/melodic/lib/python2.7/dist-packages/qt_gui/plugin_menu.py", line 81, in add_plugin
        action = QAction(action_attributes['label'], menu_manager.menu)
    KeyError: 'label'

However, rqt launches correctly when I launch my plugin in standalone, e.g.:

rqt --standalone rqt_mypkg

The standard plugins such as rqt_graph and rqt_bag also work correctly.

Any ideas?

2020-01-15 09:49:58 -0500 received badge  Scholar (source)
2020-01-15 09:49:36 -0500 received badge  Supporter (source)
2020-01-15 09:41:56 -0500 commented question rqt won't launch: KeyError: 'label'

OH! My bad, it was my plugin that was causing the problem! There was no label field and the rqt_gui could not add my plu

2020-01-15 08:56:20 -0500 commented question rqt won't launch: KeyError: 'label'

Hmm, I seem to be missing something. I am not trying to launch a plugin, so would there be a plugin.xml file? Is there a

2020-01-15 08:05:10 -0500 commented question rqt won't launch: KeyError: 'label'

Thank you for the comment. But the problem is not with my plugin, it is when I try to launch rqt via rqt command. It see

2020-01-15 08:05:02 -0500 commented question rqt won't launch: KeyError: 'label'

Thank you for the comment. But the problem is not with my plugin, it is when I try to launch rqt via rqt command. It see

2020-01-15 08:04:08 -0500 commented question rqt won't launch: KeyError: 'label'

Thank you for the comment. But the problem is not with my plugin, it is when I try to launch rqt via rqt command. When I

2019-12-24 06:07:00 -0500 asked a question rqt won't launch: KeyError: 'label'

rqt won't launch: KeyError: 'label' Hello, I am getting a trace error when I try to launch rqt. Traceback (most recent