Hello,
can somebody advise why at least two python scripts from repository (AverrationsRemove.py and DBXtract.py) do not work properly?
I’m using latest Siril 1.40 rc2 on Ubuntu 22.04
Python environment seems is installed correctly and other python scripts are working fine.
When I start AberrationRemover.py script, it’s dialog window opens normally. But then after click on ‘Load Model’, file selection window opens with no way to choose any file there (seems like mouse selection/click action is not working). Also I see error in console :
Starting script /home/andy/.local/share/siril-scripts/processing/AberrationRemover.py
17:56:13: Detected ONNX Runtime with providers: [‘TensorrtExecutionProvider’, ‘CUDAExecutionProvider’, ‘AzureExecutionProvider’, ‘CPUExecutionProvider’]
17:56:13: ONNX Runtime is already installed: onnxruntime-gpu
17:56:14: Latest GitHub release version for riccardoalberghi/abberation_models: 1.0.0
17:56:14: Running command: requires
17:56:14: OK! This script is compatible with this version of Siril.
17:56:22: Exception in Tkinter callback
17:56:22: Traceback (most recent call last):
17:56:22: File “/usr/lib/python3.10/tkinter/init.py”, line 1921, in call
17:56:22: return self.func(*args)
17:56:22: File “/home/andy/.local/share/siril-scripts/processing/AberrationRemover.py”, line 203, in _browse_model
17:56:22: filename = filedialog.askopenfilename(
17:56:22: File “/home/andy/.local/share/siril/venv/lib/python3.10/site-packages/sirilpy/tkfilebrowser/functions.py”, line 228, in askopenfilename
17:56:22: dialog = FileBrowser(parent, mode=“openfile”, multiple_selection=False,
17:56:22: File “/home/andy/.local/share/siril/venv/lib/python3.10/site-packages/sirilpy/tkfilebrowser/filebrowser.py”, line 422, in init
17:56:22: self.left_tree.insert(“”, “end”, iid=l[0],
17:56:22: File “/usr/lib/python3.10/tkinter/ttk.py”, line 1361, in insert
17:56:22: res = self.tk.call(self._w, “insert”, parent, index,
17:56:22: _tkinter.TclError: Item /2 already exists
Same problem I see when I start DBExtract v1.0.0 script. Click on ‘select file’ opens file dialog but it’s not possible to select any file and it generates same error in console as mentioned above.