Siril_Catalog_Installer.py fails to execute on Linux

Hi,

I just installed Siril 1.4.0-beta1, playing with the astrometry and photometric calibration. The remote server was not available for a moment so I tried looking for having the data locally. But the Python script fails:

20:22:53: Starting script /home/user/.var/app/org.siril.Siril/data/siril-scripts/core/Siril_Catalog_Installer.py
20:22:54: Error initializing application: no display name and no $DISPLAY environment variable
20:22:54: Python process (PID: 1581) exited with status 1

If I show the content of $DISPLAY on a terminal, it does have a content (:0), so I don’t get why Siril does not see it.

We need more information.
How did you get the package?
Did you compile it yourself? etc.

I have the same issue with python scripts in Linux, saying no display name and no $DISPLAY environment.

I’ve tried the Siril catalogue installer script, the Cosmic Clarity denoise and Cosmic Clarity sharpen scripts, all with the same error code.

I got all the scripts from the Siril “get scripts” section by ticking the box next to the scripts.

Any ideas?

well… same questions.

1 Like

Siril installed from flathub, scripts downloaded from within Siril. Nothing compiled myself. Ubuntu 24.04. What else do you need?

I managed to solve the problem. The script does not appear to work with Wayland; I rebooted and selected Xorg as the windowing system and the script worked without issues. If I switch back to Wayland, I get the original error again.

Don’t use flatpak on ubuntu, use apt: Installation on GNU/Linux — Siril 1.4.0-beta1 documentation