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

[BUG] Opening recOrder via napari -w recOrder-napari fails on xfce #109

Closed
talonchandler opened this issue May 5, 2022 · 2 comments
Closed

Comments

@talonchandler
Copy link
Collaborator

napari -w recOrder-napari fails on xfce with the trace below. Does not fail on windows or macOS. This bug was introduced somewhere between before our first PyPI release and 0.1.0b4.

Workaround for now: napari then open recOrder from the plugins menu.

WARNING: QObject::moveToThread: Current thread (0x55f75e6f0740) is not the object's thread (0x55f760772440).
Cannot move to target thread (0x55f75e6f0740)

10:02:32 WARNING QObject::moveToThread: Current thread (0x55f75e6f0740) is not the object's thread (0x55f760772440).
Cannot move to target thread (0x55f75e6f0740)

WARNING: Could not load the Qt platform plugin "xcb" in "/hpc/user_apps/comp_micro/conda_envs/recorder/lib/python3.7/site-packages/cv2/qt/plugins" even though it was found.
10:02:32 WARNING Could not load the Qt platform plugin "xcb" in "/hpc/user_apps/comp_micro/conda_envs/recorder/lib/python3.7/site-packages/cv2/qt/plugins" even though it was found.
WARNING: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: xcb, eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

10:02:32 WARNING This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: xcb, eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)

@ziw-liu
Copy link
Contributor

ziw-liu commented Oct 17, 2022

Workaround for now: napari then open recOrder from the plugins menu.

This raises a warning from a Qt bug. Resolved in later Qt versions but the fix has not been ported to PyQt5.

@ziw-liu
Copy link
Contributor

ziw-liu commented Feb 10, 2023

Tested recOrder-napari==0.2.1 on XFCE and Gnome and they both work.

@ziw-liu ziw-liu closed this as completed Feb 10, 2023
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

2 participants