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

Error : qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. #11

Open
caseybecking opened this issue Feb 4, 2022 · 3 comments

Comments

@caseybecking
Copy link

pipenv run python3 sumotoolbox.py
[I 220204 10:00:02 sumotoolbox:49] SumoLogicToolBox started. Version 0.11.1
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
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, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.

Fatal Python error: Aborted

Current thread 0x00007f0b1304d740 (most recent call first):
File "sumotoolbox.py", line 1288 in main
File "sumotoolbox.py", line 1310 in
[1] 30807 abort pipenv run python3 sumotoolbox.py

uname -a
Linux debian 4.19.0-9-amd64 #1 SMP Debian 4.19.118-2+deb10u1 (2020-06-07) x86_64 GNU/Linux

cat /proc/version
Linux version 4.19.0-9-amd64 (debian-kernel@lists.debian.org) (gcc version 8.3.0 (Debian 8.3.0-6)) #1 SMP Debian 4.19.118-2+deb10u1 (2020-06-07)

Any thoughts?

@tmac1973
Copy link
Contributor

tmac1973 commented Feb 4, 2022

Maybe xcb isn't installed?

Try this (if you have access):

sudo apt install libcb-util0

@caseybecking
Copy link
Author

That is already installed -

sudo apt install libxcb-util0
Reading package lists... Done
Building dependency tree
Reading state information... Done
libxcb-util0 is already the newest version (0.3.8-3+b2).

@tmac1973
Copy link
Contributor

tmac1973 commented Feb 4, 2022

Hmm...

All the googling I've done points to some xcb package either being corrupt or missing. This page recommends another variation of an apt install:
https://askubuntu.com/questions/308128/failed-to-load-platform-plugin-xcb-while-launching-qt5-app-on-linux-without/1069502#1069502

sudo apt-get --reinstall install libqt5dbus5 \
libqt5widgets5 libqt5network5 libqt5gui5 libqt5core5a \
libdouble-conversion1 libxcb-xinerama0

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