Traceback (most recent call last):
File "/opt/ros/kinetic/lib/python2.7/dist-packages/qt_gui/plugin_manager.py", line 454, in restore_settings
self._restore_settings_save_obsolete()
File "/opt/ros/kinetic/lib/python2.7/dist-packages/qt_gui/plugin_manager.py", line 469, in _restore_settings_save_obsolete
self._restore_settings_unload_obsolete_callback()
File "/opt/ros/kinetic/lib/python2.7/dist-packages/qt_gui/plugin_manager.py", line 493, in _restore_settings_unload_obsolete_callback
self._restore_settings_load_missing()
File "/opt/ros/kinetic/lib/python2.7/dist-packages/qt_gui/plugin_manager.py", line 506, in _restore_settings_load_missing
self._load_plugin_load(instance_id, self._restore_settings_load_missing_callback)
File "/opt/ros/kinetic/lib/python2.7/dist-packages/qt_gui/plugin_manager.py", line 225, in _load_plugin_load
plugin_descriptor = self._plugin_descriptors[instance_id.plugin_id]
KeyError: 'rqt_image_view/ImageView'
参考:
https://answers.ros.org/question/251876/cant-run-rqt-after-removing-plugin-package/
解决:
The package you removed is probably still referenced in an ini file that stores the settings for rqt (rqt tries to recreate your perspective from when you last exited the program; it can't find the plugin, hence the error).
You should be able to fix this by either removing ~/.config/ros.org/rqt_gui.ini
, or by editing it such that the plugin is no longer referenced.