Hello,
I have created a python script to save a snapshot of the system and it works.
I want to run to many directories on the cluster, so I will use bash to run the script in parallel. But I got this error when I tested on one file.
qt.qpa.xcb: could not connect to display
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: minimalegl, eglfs, xcb, minimal, linuxfb, vnc, offscreen.
Aborted
P.S. running it without OpenGL and removing
app = PySide6.QtWidgets.QApplication()
resolves the issue, is it solvable since its a cluster without a screen?
Sorry I didnt notice that its already mentioned in the documentation.