I have installed Siril 1.4 Beta2 and tried to run the Graxpert Python script.
I get the following in red in the console window.
Can you help please.
18:45:51: Starting script C:\Users\pjmah\AppData\Local\siril-scripts\processing/GraXpert-AI.py
18:45:53: opencv-python is installed
18:45:59: Traceback (most recent call last):
18:45:59: File “C:\Users\pjmah\AppData\Local\siril-scripts\processing/GraXpert-AI.py”, line 67, in
18:45:59: import onnxruntime
18:45:59: File “C:\Users\pjmah\AppData\Local\siril\venv\Lib\site-packages\onnxruntime_init_.py”, line 61, in
18:45:59: raise import_capi_exception
18:45:59: File “C:\Users\pjmah\AppData\Local\siril\venv\Lib\site-packages\onnxruntime_init_.py”, line 24, in
18:45:59: from onnxruntime.capi._pybind_state import (
18:45:59: File “C:\Users\pjmah\AppData\Local\siril\venv\Lib\site-packages\onnxruntime\capi_pybind_state.py”, line 32, in
18:45:59: from .onnxruntime_pybind11_state import * # noqa
18:45:59: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
18:45:59: ImportError: DLL load failed while importing onnxruntime_pybind11_state: A dynamic link library (DLL) initialization routine failed.
18:45:59: Python process (PID: 9952) exited with status 1
Same updated updating Visual C++ library’s, now get this:-
20:11:11: Starting script C:\Users\pjmah\AppData\Local\siril-scripts\processing/GraXpert-AI.py
20:11:20: opencv-python is installed
20:11:25: Detected ONNX Runtime with providers: [‘AzureExecutionProvider’, ‘CPUExecutionProvider’]
20:11:25: ONNX Runtime is already installed: onnxruntime
20:11:25: Connecting to Windows pipe: \.\pipe\48086e3b-399c-4656-931d-2f00eb2b0c54
20:11:36: Running command: requires
20:11:36: OK! This script is compatible with this version of Siril.
20:11:37: This script is under ongoing development. Please report any bugs to FA / siril-scripts · GitLab. We are also especially keen for confirmation of success / failure from Linux users with AMD Radeon or Intel ARC GPUs as we do not have these hardware / OS combinations among the development team
Not hearing much from the developers but thanks for the input from others.
OK, so now I need to apologise. Closed the computer down and restarted following the Vis C++ update and now the script is running properly. Should have done this in the first place. Thanks for the help along the way.
I hadn’t seen a bug report from you or you would have heard from me. I will update the error handler for the original error you got to provide more helpful advice about updating the VC++ runtime (I guess mine was up to date as I didn’t come across the error during development when testing on my windows drive…)
Help with this error? I have updated Visual C++ Libraries and I am using Latest GraXpert Release (I tried lasted beta GraXpert and that also did not work) Umbriel 3.0.2
14:49:36: Gaia archive available
14:49:37: Local SPCC database repository is up-to-date!
14:49:37: Local scripts repository is up-to-date!
14:52:57: Running asnet version <0.88
14:52:57: Updating working profiles.
14:54:55: Reading FITS: file MasterFlat RGB_ULTRA_II Mar_16_2025_22_24_44.fits, 1 layer(s), 3856x2180 pixels, 16 bits
15:08:08: Reading FITS: file M42 Processed.fit, 3 layer(s), 3856x2180 pixels, 32 bits
15:08:25: Starting script C:\Users\Jeff\AppData\Local\siril-scripts\processing/GraXpert-AI.py
15:08:29: opencv-python is installed
15:08:37: Traceback (most recent call last):
15:08:37: File “C:\Users\Jeff\AppData\Local\siril-scripts\processing/GraXpert-AI.py”, line 77, in
15:08:37: import onnxruntime
15:08:37: File “C:\Users\Jeff\AppData\Local\siril\venv\Lib\site-packages\onnxruntime_init_.py”, line 61, in
15:08:37: raise import_capi_exception
15:08:37: File “C:\Users\Jeff\AppData\Local\siril\venv\Lib\site-packages\onnxruntime_init_.py”, line 24, in
15:08:37: from onnxruntime.capi._pybind_state import (
15:08:37: File “C:\Users\Jeff\AppData\Local\siril\venv\Lib\site-packages\onnxruntime\capi_pybind_state.py”, line 32, in
15:08:37: from .onnxruntime_pybind11_state import * # noqa
15:08:37: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
15:08:37: ImportError: DLL load failed while importing onnxruntime_pybind11_state: A dynamic link library (DLL) initialization routine failed.
15:08:37: Python process (PID: 5076) exited with status 1