Known PyQtGraph issues

While testing some of our users ran into some pyqtgraph issues. One group was related to the Qt platform plugin “xcb”. The error message reads:

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

To resolve that issue some more dependencies have to be installed. On Ubuntu this is:

sudo apt-get install -y libxkbcommon-x11-0 x11-utils
sudo apt-get install --no-install-recommends -y libyaml-dev libegl1-mesa libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0

More information about this can be cound here.

Using a Docker container

A similar error may appear when running DMT inside a Docker container as shown here.

There the solution is to give Docker access to X windows system. The easiest way to acchive that is by disabling the access control:

xhost +

before starting the container.