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

Unable to run rqt_console

asked 2018-11-28 06:48:27 -0500

fran15 gravatar image

updated 2018-11-28 07:37:32 -0500

Hi, I'm using ROS kinetic on Ubuntu 16.04. When I try to run rqt_console

rosrun rqt_console rqt_console

I get the following error

PluginManager._load_plugin() could not load plugin "rqt_console/Console":
Traceback (most recent call last):
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/qt_gui/plugin_handler.py", line 99, in load
    self._load()
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/qt_gui/plugin_handler_direct.py", line 54, in _load
    self._plugin = self._plugin_provider.load(self._instance_id.plugin_id, self._context)
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/qt_gui/composite_plugin_provider.py", line 71, in load
    instance = plugin_provider.load(plugin_id, plugin_context)
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/qt_gui/composite_plugin_provider.py", line 71, in load
    instance = plugin_provider.load(plugin_id, plugin_context)
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rqt_gui_py/ros_py_plugin_provider.py", line 60, in load
    return super(RosPyPluginProvider, self).load(plugin_id, plugin_context)
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/qt_gui/composite_plugin_provider.py", line 71, in load
    instance = plugin_provider.load(plugin_id, plugin_context)
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rqt_gui/ros_plugin_provider.py", line 101, in load
    return class_ref(plugin_context)
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rqt_console/console.py", line 66, in __init__
    self._widget = ConsoleWidget(self._proxy_model, self._rospack)
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rqt_console/console_widget.py", line 85, in __init__
    loadUi(ui_file, self)
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/python_qt_binding/binding_helper.py", line 266, in loadUi
    return _loadUi(uifile, baseinstance, custom_widgets)
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/python_qt_binding/binding_helper.py", line 169, in _loadUi
    from PyQt5 import uic
ImportError: cannot import name uic

Maybe something is wrong with the module PyQt5? Has anyone encountered this error? I'm quite new to ROS and any discussion would be of help.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2018-11-28 09:40:22 -0500

krl101 gravatar image

only as a suspicion because you said pyqt: link text unter Section 1.1:

Also if you're on Ubuntu and like to know the most recommended plotting result, simply get a .deb file of pyqtgraph here, which is not available via rosdep. And run it by something like:

dpkg -i %NAME_OF_DOT_DEB_FILE%.deb

More or less than kick off

edit flag offensive delete link more

Comments

Thank you. The problem is solved

fran15 gravatar image fran15  ( 2018-12-01 02:24:02 -0500 )edit
0

answered 2018-12-01 02:23:10 -0500

fran15 gravatar image

Indeed something wrong with the PyQt module. I solved the issue by recompiling PyQt5

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2018-11-28 06:48:27 -0500

Seen: 397 times

Last updated: Dec 01 '18