sumologictoolbox icon indicating copy to clipboard operation
sumologictoolbox copied to clipboard

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

Open caseybecking opened this issue 3 years ago • 3 comments

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 ([email protected]) (gcc version 8.3.0 (Debian 8.3.0-6)) #1 SMP Debian 4.19.118-2+deb10u1 (2020-06-07)

Any thoughts?

caseybecking avatar Feb 04 '22 19:02 caseybecking

Maybe xcb isn't installed?

Try this (if you have access):

sudo apt install libcb-util0

tmac1973 avatar Feb 04 '22 19:02 tmac1973

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).

caseybecking avatar Feb 04 '22 19:02 caseybecking

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

tmac1973 avatar Feb 04 '22 20:02 tmac1973