×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Scheduler Shutdown Script automatically skipped

  • Posts: 6
  • Thank you received: 1
Dear all,
I managed to find an error in the Ekos Scheduler:
Since my last version update of KStart from 3.5.5 to 3.5.7 Stable I found out, that the Observatory Shutdown Procedure doesn't work properly.
To be more exact, the given Script in the Procedure won't start automatically after the Schedule is finished. The modules like "Park Mount" or "Park Dome" still work and finish properly, but the Schedule will run forever with no job left. The strange thing is, that everything works fine, when the Procedure is manually started in the Ekos Scheduler. That's why I would exclude an error from my side.
Hopefully someone can fix this problem. Thanks!
The following user(s) said Thank You: Jasem Mutlaq
2 years 1 month ago #80075

Please Log in or Create an account to join the conversation.

Can you please attach the log?
2 years 1 month ago #80093

Please Log in or Create an account to join the conversation.

  • Posts: 6
  • Thank you received: 1
Here the log file, where a Sequence was finished and it did not work and then at 0:02 I tried to shutdown manually.
[2022-01-29T23:47:09.554 CET INFO ][ org.kde.kstars.ekos.scheduler] - "Job 'NGC 188' is complete."

[2022-01-29T23:47:09.926 CET INFO ][ org.kde.kstars.ekos.scheduler] - "No jobs left in the scheduler queue."

[2022-01-29T23:47:09.929 CET INFO ][ org.kde.kstars.ekos.scheduler] - Starting shutdown process...

[2022-01-29T23:47:09.929 CET INFO ][ org.kde.kstars.ekos.scheduler] - "CCD wird aufgewärmt ..."

[2022-01-29T23:47:10.842 CET INFO ][ org.kde.kstars.indi] - Atik 383L : "[INFO] Camera is warming up... "

[2022-01-29T23:47:10.843 CET INFO ][ org.kde.kstars.ekos.capture] - "Cooler is off"

[2022-01-29T23:47:10.885 CET INFO ][ org.kde.kstars.ekos.scheduler] - "Parking mount in progress..."

[2022-01-29T23:47:10.889 CET INFO ][ org.kde.kstars.indi] - LX200 10micron : "[INFO] Parking. "

[2022-01-29T23:47:11.410 CET INFO ][ org.kde.kstars.indi] - LX200 10micron : "[INFO] Gstat changed from 0 to 2 "

[2022-01-29T23:47:11.443 CET INFO ][ org.kde.kstars.ekos.guide] - "Mount is moving. Resetting calibration..."

[2022-01-29T23:47:11.448 CET INFO ][ org.kde.kstars.ekos.guide] - "Calibration is cleared."

[2022-01-29T23:47:11.867 CET INFO ][ org.kde.kstars.ekos.scheduler] - Parking mount in progress...

[2022-01-29T23:47:12.867 CET INFO ][ org.kde.kstars.ekos.scheduler] - Parking mount in progress...

[2022-01-29T23:47:13.867 CET INFO ][ org.kde.kstars.ekos.scheduler] - Parking mount in progress...

...

[2022-01-29T23:47:48.867 CET INFO ][ org.kde.kstars.ekos.scheduler] - Parking mount in progress...

[2022-01-29T23:47:49.866 CET INFO ][ org.kde.kstars.ekos.scheduler] - Parking mount in progress...

[2022-01-29T23:47:49.887 CET INFO ][ org.kde.kstars.indi] - LX200 10micron : "[INFO] Gstat changed from 2 to 5 "

[2022-01-29T23:47:49.888 CET INFO ][ org.kde.kstars.indi] - LX200 10micron : "[INFO] Mount is parked. "

[2022-01-29T23:47:49.890 CET INFO ][ org.kde.kstars.ekos.align] - Target updated to JNow RA: "19h 56m 28s" DE: " 35° 09' 02\""

[2022-01-29T23:47:50.869 CET INFO ][ org.kde.kstars.ekos.scheduler] - "Mount parked."

[2022-01-29T23:47:51.868 CET DEBG ][ org.kde.kstars.ekos] - Parking dome...

[2022-01-29T23:47:51.870 CET INFO ][ org.kde.kstars.ekos.scheduler] - "Parking dome..."

[2022-01-29T23:47:51.877 CET INFO ][org.kde.kstars.ekos.observatory] - "Shutter is closing..."

[2022-01-29T23:47:51.880 CET INFO ][ org.kde.kstars.indi] - Dome Simulator : "[INFO] Dome is moving to position 90.00 degrees azimuth... "

[2022-01-29T23:47:51.881 CET INFO ][org.kde.kstars.ekos.observatory] - "Dome is moving counter clockwise..."

[2022-01-29T23:47:51.884 CET INFO ][org.kde.kstars.ekos.observatory] - "Dome is parking..."

[2022-01-29T23:47:57.531 CET INFO ][ org.kde.kstars.indi] - Dome Simulator : "[INFO] Shutter is closed. "

[2022-01-29T23:47:57.532 CET INFO ][org.kde.kstars.ekos.observatory] - "Shutter is closed."

[2022-01-29T23:48:15.543 CET INFO ][ org.kde.kstars.indi] - Dome Simulator : "[INFO] Dome reached requested azimuth angle. "

[2022-01-29T23:48:15.544 CET INFO ][org.kde.kstars.ekos.observatory] - "Dome is idle."

[2022-01-29T23:48:15.549 CET INFO ][org.kde.kstars.ekos.observatory] - "Dome is parked."

[2022-01-29T23:48:15.553 CET INFO ][ org.kde.kstars.indi] - Dome Simulator : "[INFO] Dome is parked. "

[2022-01-29T23:48:15.867 CET INFO ][ org.kde.kstars.ekos.scheduler] - "Dome parked."

[2022-01-29T23:48:16.867 CET INFO ][ org.kde.kstars.ekos.scheduler] - Stopping Ekos...

[2022-01-29T23:48:16.876 CET DEBG ][ org.kde.kstars.ekos] - Resetting Ekos Manager...

[2022-01-29T23:48:16.885 CET WARN ][ default] - QSqlDatabasePrivate::removeDatabase: connection 'filter_db' is still in use, all queries will cease to work.

[2022-01-29T23:48:16.886 CET WARN ][ default] - QSqlDatabasePrivate::addDatabase: duplicate connection name 'filter_db', old connection removed.

[2022-01-29T23:48:16.978 CET INFO ][ org.kde.kstars.ekos] - "Die INDI-Dienste wurden angehalten."

[2022-01-29T23:48:17.866 CET INFO ][ org.kde.kstars.ekos.scheduler] - Stopping Ekos...

[2022-01-29T23:48:18.867 CET INFO ][ org.kde.kstars.ekos.scheduler] - Stopping Ekos...

[2022-01-29T23:48:19.867 CET INFO ][ org.kde.kstars.ekos.scheduler] - Stopping Ekos...

[2022-01-29T23:48:20.867 CET INFO ][ org.kde.kstars.ekos.scheduler] - Stopping Ekos...

[2022-01-29T23:48:21.867 CET INFO ][ org.kde.kstars.ekos.scheduler] - Stopping Ekos...

[2022-01-29T23:48:22.866 CET INFO ][ org.kde.kstars.ekos.scheduler] - Stopping Ekos...

[2022-01-29T23:48:23.867 CET INFO ][ org.kde.kstars.ekos.scheduler] - Stopping Ekos...



[2022-01-30T00:01:59.866 CET INFO ][ org.kde.kstars.ekos.scheduler] - Stopping Ekos...

[2022-01-30T00:02:00.866 CET INFO ][ org.kde.kstars.ekos.scheduler] - Stopping Ekos...

[2022-01-30T00:02:01.866 CET INFO ][ org.kde.kstars.ekos.scheduler] - Stopping Ekos...

[2022-01-30T00:02:02.867 CET INFO ][ org.kde.kstars.ekos.scheduler] - Stopping Ekos...

[2022-01-30T00:02:03.725 CET INFO ][ org.kde.kstars.ekos.scheduler] - Scheduler is stopping...

[2022-01-30T00:02:08.477 CET INFO ][ org.kde.kstars.ekos.scheduler] - "Warning: executing shutdown procedure manually..."

[2022-01-30T00:02:08.482 CET INFO ][ org.kde.kstars.ekos.scheduler] - Starting shutdown process...

[2022-01-30T00:02:08.483 CET INFO ][ org.kde.kstars.ekos.scheduler] - "CCD wird aufgewärmt ..."

[2022-01-30T00:02:08.488 CET INFO ][ org.kde.kstars.ekos.scheduler] - "Warning: Bypassing parking procedures, no INDI connection."

[2022-01-30T00:02:09.494 CET INFO ][ org.kde.kstars.ekos.scheduler] - "Executing script /home/stellarmate/Robotic/EndRoboticV1.py..."



[2022-01-30T00:04:28.143 CET INFO ][ org.kde.kstars.ekos.scheduler] - "Das Herunterfahren ist abgeschlossen."

[2022-01-30T00:04:28.145 CET INFO ][ org.kde.kstars.ekos.scheduler] - "Manual shutdown procedure completed successfully."

[2022-01-30T00:04:28.148 CET INFO ][ org.kde.kstars.ekos.scheduler] - Stopping Ekos...

[2022-01-30T00:05:20.571 CET DEBG ][ org.kde.kstars] - 0 StarBlocks freed from StarBlockFactory

[2022-01-30T00:05:20.635 CET INFO ][ org.kde.kstars.ekos] - Disconnected from Message Websocket server.

[2022-01-30T00:05:20.638 CET INFO ][ org.kde.kstars.ekos] - Disconnected from media Websocket server.

[2022-01-30T00:05:20.639 CET INFO ][ org.kde.kstars.ekos] - Disconnected from Cloud Websocket server.
Last edit: 2 years 1 month ago by Tobias Hoffmann.
2 years 1 month ago #80105

Please Log in or Create an account to join the conversation.

What about this?
INFO ][ org.kde.kstars.ekos.scheduler] - "Executing script /home/stellarmate/Robotic/EndRoboticV1.py..."
2 years 1 month ago #80107

Please Log in or Create an account to join the conversation.

  • Posts: 6
  • Thank you received: 1
Like I said, I tried after a few minutes to start the procedure manually "Warning: executing shutdown procedure manually...", then it started and worked properly and the scheduler came to an end.
2 years 1 month ago #80127

Please Log in or Create an account to join the conversation.

  • Posts: 6
  • Thank you received: 1
I think, I found out the error. I tested various settings. When I removed the setting "Shutdown script terminates INDI" in the Ekos Settings, everything works fine. With the setting activated, the shutdown script won't start.
So problem solved I think, but when I look into the description of the setting, I don't really know why I shound't turn it on. So actually my script turns off some devices, so it would be nice if the disconnection errors will be removed. And like I said, in earlier versions this was my standard setting and it worked.
2 years 1 month ago #80161

Please Log in or Create an account to join the conversation.

Time to create page: 0.231 seconds