After a while I'm testing again the Dome Scripting Gateway to control a roll off roof.
I've been adding all the python scripts to manage the roof (open.py, close.py, status.py etc) and tested the script by executing them from shell.
But Ekos doesn't read the status and doesn't execute any further command.
From the log (see below)  it seems to fail to read a tmp file indi_dome_script_status_PKfoTu that was not needed in previous version of the driver. All the information were stored in /tmp/indi-status.
Moreover I don't understand the python errors. Python is installed and working fine on my system.

Does anyone have a suggestion how to fix this?
Thanks
Ferrante

LOG:
[2021-09-28T12:22:39.395 CEST DEBG ][           org.kde.kstars.indi] - Dome Scripting Gateway : "[DEBUG] execvp('/home/ferrante/scripts/status.py', 'status.py', '/tmp/indi_dome_script_status_PKfoTu', nullptr) "
[2021-09-28T12:22:39.397 CEST DEBG ][           org.kde.kstars.indi] - INDI Server:  "2021-09-28T10:22:39: Driver indi_script_dome: /home/ferrante/scripts/status.py: 10: import: not found"
[2021-09-28T12:22:39.397 CEST DEBG ][           org.kde.kstars.indi] - INDI Server:  "2021-09-28T10:22:39: Driver indi_script_dome: /home/ferrante/scripts/status.py: 12: sys.argv[1]: not found"
[2021-09-28T12:22:39.397 CEST DEBG ][           org.kde.kstars.indi] - INDI Server:  ""
[2021-09-28T12:22:39.397 CEST DEBG ][           org.kde.kstars.indi] - INDI Server:  "2021-09-28T10:22:39: Driver indi_script_dome: /home/ferrante/scripts/status.py: 13: path: not found"
[2021-09-28T12:22:39.397 CEST DEBG ][           org.kde.kstars.indi] - INDI Server:  "2021-09-28T10:22:39: Driver indi_script_dome: /home/ferrante/scripts/status.py: 15: Syntax error: \"(\" unexpected"
[2021-09-28T12:22:39.397 CEST DEBG ][           org.kde.kstars.indi] - INDI Server:  ""
[2021-09-28T12:22:39.398 CEST DEBG ][           org.kde.kstars.indi] - Dome Scripting Gateway : "[DEBUG] Script status.py returned 512 "
[2021-09-28T12:22:39.399 CEST INFO ][           org.kde.kstars.indi] - Dome Scripting Gateway :  "[ERROR] Failed to read status "
 

Read More...