Graxpert pyhton script error

Hello,
i’ve got an issue with the graxpert pyhton script not working. I’ve had it since 1.4 beta 2 but i didn’t reported it as i thought that someone would probably also have the same issue and report it. I just installed beta 3 and the error is still there so i’m reporting it now(i guess lesson learned haha)

Here is the error i get in the siril console

20:17:10: Starting script C:\Users\%username%\AppData\Local\siril-scripts\processing/GraXpert-AI.py
20:17:10: Traceback (most recent call last):
20:17:10:   File "C:\Users\%username%\AppData\Local\siril-scripts\processing/GraXpert-AI.py", line 66, in <module>
20:17:10:     import sirilpy as s
20:17:10:   File "C:\Users\%username%\AppData\Local\siril\venv\Lib\site-packages\sirilpy\__init__.py", line 186, in <module>
20:17:10:     _fix_locale()
20:17:10:   File "C:\Users\%username%\AppData\Local\siril\venv\Lib\site-packages\sirilpy\__init__.py", line 148, in _fix_locale
20:17:10:     current_locale = locale.getlocale()
20:17:10:                      ^^^^^^^^^^^^^^^^^^
20:17:10:   File "C:\Users\%username%\AppData\Local\Programs\Python\Python311\Lib\locale.py", line 610, in getlocale
20:17:10:     return _parse_localename(localename)
20:17:10:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
20:17:10:   File "C:\Users\%username%\AppData\Local\Programs\Python\Python311\Lib\locale.py", line 511, in _parse_localename
20:17:10:     raise ValueError('unknown locale: %s' % localename)
20:17:10: ValueError: unknown locale: en_150
20:17:10: Python process (PID: 5704) exited with status 1

I just replace my user name with %username% for privacy reasons.
Not sure what to do in the mean time until it gets fixed aside from downgrading back to beta 1.

I fixed this on Windows 11 by going to: Settings → Time & Language → Language and region and in this page under “Region” changed “Regional format” to English (United Kingdom). Restart Siril after changing the settings if it’s running.

Thanks, that did it :slight_smile: