Hello all,
I am trying to run Wrap on a linux server. As there is not screen available, I would like to run Wrap on my files purpley from the command line using “WrapCmd compute <file_name>.wrap”. When I try this I reveive the following error:
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 plugin could be installed.
I have tried various solutions from Stackoverflow and other sites, but nothing so far has worked. Should I be able to run Wrap on a server where there can be no GUI interface or have I missed something during the download?
Any advice or insight is much appreciated.
Thank you.
Hello,
Please add “-platform offscreen” to the command line like this:
WrapCmd.sh -platform offscreen compute project.wrap
It will force qt runtime to use offfscreen platform plugin insread of xcb that requires X session to attach.
Ivan
Hello,
Thank you for your response. This has cleared up the issue but I am still uable to run Wrap on the remote server. I think this is due to the fact that there is no xmanager installed, however, so the original issue can be considered resolved.
Best,
Eimear
X manager isn’t needed to run WrapCmd, just some libs.
sudo apt install -y libquadmath0 fontconfig libgl1-mesa-glx for deb-based distros and
sudo yum install -y libquadmath fontconfig mesa-libGL for rpm-based.
Please try it and let me know about the result.
Ivan
Hi Ivan,
I have installed the libraries you suggested (deb-based distro). but unfortunately, I have not yet managed to resolve the issue. The command I am running is the following:
<path_to_wrap>/Wrap.sh -platform offscreen computer process_mesh.wrap
This is the output I get:
“/home//.local/share/R3DS/Wrap/CrashDumps”
This plugin does not support propagateSizeHints()
The program then hangs until I hit Ctrl-C to quit. I have again tried searching this error but none of the suggestions have been helpful. If you have any other insights, please do let me know.
Thank you