-
Notifications
You must be signed in to change notification settings - Fork 481
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
Could not load the Qt platform plugin "xcb" (Ubuntu 20.04.02) #518
Comments
Hi! On my ubuntu 20.04 wsl I'm able to recreate the problem. By adding
Seems that libxcb-icccm.so is the curlprit here... and it seems to be connected to the opencv headless pip library. Perhaps there is some mismatching going on? |
you can check it too with the same flag to see if you get the same error message |
Yes, with the debug on, I do get the exact same error message |
Following this post and launching Probably not the best solution, but installing pyqt5 using apt-get seems to fix the issue: |
ah good you found a temp solution there. Indeed we need to find what is the curlpit. The pip install of the qt5 seems to have less things installed with than with the sudo-apt, so perhaps there is another python package that we are missing. |
So I did a grep with the library (libqxcb.so), which shows which libraries it is missing
Unfortunately I'm not really able to find a python package wrapper for these which would be the best. It might be annoying to install the apt-get package as the setup.py does not really take that into account. |
I've now added additional comments to the install instructions in PR #519. It's only a temp solution though until we can find a nice python wrapper for this. |
A newly installed Ubuntu 20+ requires libxcb-xinemara0 to be installed manually in order for Qt to work. This commits update the install instructions.
#518: Add libxcb-xinemara0 install req
In PR #523 I updated the readme with the minimum package required and added a message in the console when the client starts to indicate what package needs to be installed. I think this is the best we can do so I am closing this ticket, feel free to re-open or open a new one if you have a better idea on how to solve the problem. |
When launching
cfclient
I get the following error:Starting from a clean installation of Ubuntu 20.04.02, I followed the latest installation instructions:
I set the udev rules and cloned the repo
I get the above error when installing from source (
pip install -e .
) as well as when installing from release (pip install cfclient
).If I install via Ubuntu Software everything works fine (but cannot modify the source then...).
The text was updated successfully, but these errors were encountered: