Open jbramen opened 1 year ago
Hi Jennifer, thanks for opening the issues and sharing the details. As the log says:
Matplotlib is currently using agg, which is a non-GUI backend, so cannot show the figure.
it appears the issue is you don't have an X-server/display environment setup right? seeing keywords like amazon it seems you are trying to run VisualQC over the cloud? if so, you need to add flags to your command such as -X
or -Y
so they forward the GUI as well. That said, I highly recommend you download the Freesurfer outputs to locally and then run VisualQC, it would be much much faster and more reliable that way. See some helpful notes here:
https://raamana.github.io/visualqc/examples_freesurfer.html#generating-and-downloading-required-files-from-a-remote-ssh-server
if that doesn't help, let me know, with all the logs of errors you run into.
Hi Jennifer @jbramen, did you make progress? it's fine if you haven't had a chance to look into this :)
This is actually running on a Amazon Linux 2 cloud machine with a MATE desktop, so I would think the GUI should work. I am running it through remote desktop, not over an SSH connection.
If you don't have any immediate ideas, I can try running some isolated tests with matplotlib outside of this application and see if I can narrow down any issues there.
that's rather a special OS/setup that we are not familiar with at all TBH. We tested it extensively on CentOS, and Amazon Linux is supposed to be CentOS, but there might some differences in setup causing the issues. Is it possible for you to spin up a CentOS instance on your cloud server? that would be easiest solution for now.
Also, again, if it is possible for you I highly recommend you download the Freesurfer outputs to your local linux machine and then run VisualQC, it would be much much faster and more reliable that way. See some helpful notes here: https://raamana.github.io/visualqc/examples_freesurfer.html#generating-and-downloading-required-files-from-a-remote-ssh-server
Description
When I execute visualqc_freesurfer, it successfully opens the FreeView GUI a few times, but then returns an error.
What I Did