Siril python scripts not working in Linux Mint 22.2

I’m running the 1.4.0 appimage

log: Starting script /home/franco/.local/share/siril-scripts/core/Siril_Catalog_Installer.py
log: Error: python not ready yet. This may happen at first run if the python venv and module setup has not yet completed. Please wait a short time for a completion message in the log and try again.
python3 --version
Python 3.12.3

PYTHONHOME=/tmp/.mount_Siril-eOpCHf python3 /home/franco/.local/share/siril-scripts/core/Siril_Catalog_Installer.py
Python path configuration:
PYTHONHOME = ‘/tmp/.mount_Siril-eOpCHf’
PYTHONPATH = (not set)
program name = ‘python3’
isolated = 0
environment = 1
user site = 1
safe_path = 0
import site = 1
is in build tree = 0
stdlib dir = ‘/tmp/.mount_Siril-eOpCHf/lib/python3.12’
sys._base_executable = ‘/usr/bin/python3’
sys.base_prefix = ‘/tmp/.mount_Siril-eOpCHf’
sys.base_exec_prefix = ‘/tmp/.mount_Siril-eOpCHf’
sys.platlibdir = ‘lib’
sys.executable = ‘/usr/bin/python3’
sys.prefix = ‘/tmp/.mount_Siril-eOpCHf’
sys.exec_prefix = ‘/tmp/.mount_Siril-eOpCHf’
sys.path = [
‘/tmp/.mount_Siril-eOpCHf/lib/python312.zip’,
‘/tmp/.mount_Siril-eOpCHf/lib/python3.12’,
‘/tmp/.mount_Siril-eOpCHf/lib/python3.12/lib-dynload’,
]
Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding
Python runtime state: core initialized
ModuleNotFoundError: No module named ‘encodings’

Current thread 0x0000781664def080 (most recent call first):

You need to be sure to have the python3-venv package, then reset your Venv in the siril preferences.

Thanks, that looks like it might have done the trick. Spent a while trying to find the Venv reset.

counter question: how can distro packagers ensure that python modules are used from the distro and you dont just side load stuff with venv?

I’m now able to install scripts but the catalog installer wouldn’t start, had to install libxcb-cursor-dev

Cheers

1 Like

You have a theme issue
In Siril preferences change your theme to light. You’ll see the script list.

Ironically it’s the other way around, the theme is light (Mint-L-Aqua) and changing it to dark (Mint-X-Aqua) makes the text visible. Seeing as no other applications has this problem with the L theme I’m tempted to say it’s a Siril problem.

Also a bit off topic but although the image processing and tools drop down menus look snazzy the way they expand to show options, it’s a real pain if you just want to see submenu contents when hovering over the expander buttons. Not an issue for people familiar with where options are but hard work for novices like me. The Scripts menu behaves differently, more like a conventional drop down. Can this be changed with css?

It’s not a css thing.
And no, we won’t change it. Probably script menu will be changed like the others someday.

Sorry.