casualsnek/cassowary

no Qt platform plugin could be initialized

xMarcinator opened this issue · 1 comments

Describe the bug
I'm unable to start the GUI with python3 -m cassowary -a as listed in page 2 install Linux host . But i get this output in the console

[ 2022-06-22 11:50:04,334 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  Starting configuration GUI 
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.

To Reproduce
Follow provided installation instructions except instaling virtual machine (see additional context to why)

Expected behavior
I expected the gui to open to configure cassowary

System information:

  • Cassowary Linux client version: 0.6A
  • Cassowary windows component version: 0.6A
  • Linux Distribution: Pop!_OS
  • Windows/Edition used: Windows 10 pro

Additional context
My current setup is currently for evaluating Linux with the purpose to maybe change to Linux. Therefore my current Host is a windows 10 pro machine with and windows 10 pro and Pop!_OS guest.

I have found some of the problem it seems like PyQt5 cant find libxcb-xinerama.so

Console output
Output with QT_DEBUG_PLUGINS set 1 when opening gui
libxcb.so contents

Feeling a bit dumb but found a solution after i posted this issue. Found this Ask Ubuntu thread where the solution was to get PyQt5 through the package manager instead of python.