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

NormCap-0.4.3-x86_64.AppImage crashs - could not load the qt platform plugin #457

Closed
MInessota opened this issue Jun 3, 2023 · 5 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@MInessota
Copy link

MInessota commented Jun 3, 2023

What happened?

NormCap-0.4.3-x86_64.AppImage is not working.

How did you install NormCap?

AppImage (Linux)

Operating System + Version?

Linux Mint 20.3

[Linux only] Display Server (DS) + Desktop environment (DE)?

e.g. DS: Xorg DE: Cinnamon

Debug log output?

./NormCap-0.4.3-x86_64.AppImage -v debug

18:25:48 - INFO    - normcap:30 - Start NormCap v0.4.3
18:25:48 - ERROR   - normcap:214 - [QT] qtinfomsg - could not load the qt platform plugin "xcb" in "" even though it was found.
18:25:48 - ERROR   - normcap:219 - Try solving the problem as described here: ('https://github.com/dynobo/normcap/blob/main/FAQ.md#linux-could-not-load-the-qt-platform-plugin-xcb',)
18:25:48 - ERROR   - normcap:220 - If that doesn't help, please open an issue: https://github.com/dynobo/normcap/issues
18:25:48 - ERROR   - normcap:214 - [QT] qtfatalmsg - this application failed to start because no qt platform plugin could be initialized. reinstalling the application may fix this problem.

available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vkkhrdisplay, vnc, wayland-egl, wayland, xcb.

/tmp/.mount_NormCaxgqKwZ/AppRun, line 11: 43739 Aborted (core image saved) "${APPDIR}/usr/python/bin/python3" -u -s -X utf8 -c "import runpy, sys; sys. path.pop(0); runpy.run_module('${BRIEFCASE_MAIN_MODULE}', run_name='__main__', alter_sys=True)" "$@"
@MInessota MInessota added bug Something isn't working triage Needs confirmation and priotization labels Jun 3, 2023
@dynobo dynobo removed the triage Needs confirmation and priotization label Jun 4, 2023
@dynobo
Copy link
Owner

dynobo commented Jun 4, 2023

Can reproduce on LinuxMint 20.3, and I wouldn't be surprised if every distro based on Ubuntu 20.04 is affected.
I strongly suspect 4b6e20c , which updates PySide6 (the QT Python bindings) from 6.4.2 to 6.5.1.

Investigating...

@dynobo dynobo changed the title NormCap-0.4.3-x86_64.AppImage is not working!!! NormCap-0.4.3-x86_64.AppImage crashs - could not load the qt platform plugin Jun 4, 2023
@dynobo dynobo self-assigned this Jun 4, 2023
@dynobo
Copy link
Owner

dynobo commented Jun 4, 2023

Seems like Qt 6.5 requires Ubuntu 22.04+, while Qt 6.4 was happy with Ubuntu 20.04+.

I'm trying to find out, if adding or updating some build or runtime dependencies might help...

@dynobo dynobo pinned this issue Jun 4, 2023
@dynobo
Copy link
Owner

dynobo commented Jun 4, 2023

@MInessota, a workaround seems to be to install an additional dependency:

sudo apt install libxcb-cursor0

Can you please confirm, that this works for you, too?

Notes to myself:

  • Investigate if libxcb-cursor0 can be included in the AppImage
  • Check if this dependency needs to be added somewhere else, too.

@MInessota
Copy link
Author

Hi dynobo,

It worked installing libxcb-cursor0 (^o^)//

Thank you very much, your program is very good and useful, I use it a lot, it is simple and very practical to use!!!

@sojusnik
Copy link

sojusnik commented Jul 6, 2023

Had the same error message when upgrading with pip install normcap --upgrade to 0.4.4 on Ubuntu 22.10.

sudo apt install libxcb-cursor0 helped in this case.

@dynobo dynobo modified the milestones: 0.5.0, 0.5.0b1 Oct 1, 2023
@dynobo dynobo unpinned this issue Oct 8, 2023
@dynobo dynobo modified the milestones: 0.5.0, 0.5.0b2 Oct 25, 2023
@dynobo dynobo modified the milestones: 0.5.0b2, 0.5.0 Nov 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants