I am trying to run a simple script to shut my roll off roof but it fails, not sure why. Tested by just pressing run button
Copied example structure from : indilib.org/about/ekos/153-robotic-obser...-ekos-scheduler.html . File runs ok from command line. Does it need to be in a particular directory? currently in /home/max/OBScontrol/maxclose.py

Error is:

Manual shutdown procedure terminated due to errors.
2020-04-24T10:16:50 Shutdown script failed, aborting...
2020-04-24T10:16:50 Executing script /home/max/OBScontrol/maxclose.py...


I attach script with extension changed to txt, and log.

TNX, Max

Read More...