CohenLabPrinceton / pvp

Raspberry pi code for controlling the rapid-deploy critical care ventilator
GNU General Public License v3.0
13 stars 15 forks source link

UI fails in my Ubuntu desktop #60

Closed sunnyszy closed 4 years ago

sunnyszy commented 4 years ago

When running main.py, the UI doesn't start.

Code hash: ce66e4fbfa1f1318c02233c68c52124d893ce2dc OS: ubuntu 18.04

/home/zhenyus/anaconda3/envs/Ventilator-Dev/bin/python /home/zhenyus/Ventilator-Dev/vent/main.py --simulation --single_process
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, minimal, minimalegl, offscreen, vnc, xcb.

Process finished with exit code 134 (interrupted by signal 6: SIGABRT)
sneakers-the-rat commented 4 years ago

definitely an environment issue. try this

https://forum.qt.io/topic/93247/qt-qpa-plugin-could-not-load-the-qt-platform-plugin-xcb-in-even-though-it-was-found/9

sunnyszy commented 4 years ago

I tried this, however, the answer seems to assume the distribution is archlinux. Let's not worry about this right now, as I don't feel like this is a very important issue.