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

Cannot launch rqt_image_view #308

Open
Gaby-253 opened this issue May 8, 2024 · 0 comments
Open

Cannot launch rqt_image_view #308

Gaby-253 opened this issue May 8, 2024 · 0 comments

Comments

@Gaby-253
Copy link

Gaby-253 commented May 8, 2024

$ rqt Cannot mix incompatible Qt library (5.15.8) with this library (5.15.2) Aborted (core dumped)

I have this error when launching rqt

$ qmake --version QMake version 3.1 Using Qt version 5.15.8 in /home/gat/mambaforge/envs/ros_env/lib
If i change the QT_path plugins to :
export QT_PLUGIN_PATH=/home/gat/miniconda3/lib/python3.9/site-packages/PyQt5/Qt5/plugins/platforms/ export QT_QPA_PLATFORM_PLUGIN_PATH=/usr/bin/plateforms

I got this warning when launching rqt, but rqt is running :
`$ rqt
QtBindingHelper using pyside
PluginManager._discover() force discovery of plugins
RospkgPluginProvider._find_plugins() crawling for plugins of type 'qt_gui'
Could not import "pyside" bindings of qt_gui_cpp library - so C++ plugins will not be available:
Traceback (most recent call last):
File "/home/gat/mambaforge/envs/ros_env/lib/python3.9/site-packages/qt_gui_cpp/cpp_binding_helper.py", line 39, in
from . import libqt_gui_cpp_shiboken
ImportError: cannot import name 'libqt_gui_cpp_shiboken' from 'qt_gui_cpp' (/home/gat/mambaforge/envs/ros_env/lib/python3.9/site-packages/qt_gui_cpp/init.py)

RospkgPluginProvider._find_plugins() crawling for plugins of type 'rqt_gui'
PerspectiveManager.switch_perspective() switching to perspective "Default"
MainWindow.restore_settings()
PluginManager.restore_settings()
PluginManager.restore_settings() loading 2 plugins
RosPyPluginProvider._init_node() initialize ROS node "rqt_gui_py_node_45331"
PluginManager._load_plugin(rqt_nav_view/NavigationView#1) successful
PluginManager._load_plugin(rqt_reconfigure/Param#1) successful
PluginManager.restore_settings() all missing plugins loaded
PluginHandler.restore_settings()
PluginHandler.emit_restore_settings_completed()
PluginHandler.restore_settings()
PluginHandler.emit_restore_settings_completed()
PluginManager.restore_settings() all plugin settings restored
MainWindow.restore_state()
MainWindow.closeEvent()
PluginManager.save_settings()
PluginHandler.save_settings()
PluginHandler.emit_save_settings_completed()
PluginHandler.save_settings()
PluginHandler.emit_save_settings_completed()
PluginManager.save_settings() completed
PluginManager.close_application() completed
Traceback (most recent call last):
File "/home/gat/mambaforge/envs/ros_env/lib/python3.9/site-packages/rqt_nav_view/nav_view.py", line 446, in close
super(NavView, self).close()
RuntimeError: Internal C++ object (NavView) already deleted.
Traceback (most recent call last):
File "/home/gat/mambaforge/envs/ros_env/lib/python3.9/site-packages/rqt_reconfigure/paramedit_widget.py", line 125, in close
self._paramedit_scrollarea.deleteLater()
`

But the rqt_image_view rqt_image_view doesn't work i got this :
`$ rqt_image_view rqt_image_view
PluginManager._discover() force discovery of plugins
RospkgPluginProvider._find_plugins() crawling for plugins of type 'qt_gui'
Could not import "pyside" bindings of qt_gui_cpp library - so C++ plugins will not be available:
Traceback (most recent call last):
File "/home/gat/mambaforge/envs/ros_env/lib/python3.9/site-packages/qt_gui_cpp/cpp_binding_helper.py", line 39, in
from . import libqt_gui_cpp_shiboken
ImportError: cannot import name 'libqt_gui_cpp_shiboken' from 'qt_gui_cpp' (/home/gat/mambaforge/envs/ros_env/lib/python3.9/site-packages/qt_gui_cpp/init.py)

RospkgPluginProvider._find_plugins() crawling for plugins of type 'rqt_gui'
qt_gui_main() found no plugin matching "rqt_image_view/ImageView"
try passing the option "--force-discover"
`

Do you have any idea how can i handle this ? I'm on ROS NOETIC UBUNTU 22

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

1 participant