×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

Scheduler sometimes fails during slew, moves to next job, or just starts focus

  • Posts: 152
  • Thank you received: 20
Running a recent pull from git (maybe a week old) and pretty current indiserver and drivers from git as well on Mint 19. This mount is a Software Bisque Paramount MX+.

I'm having a problem with Ekos where it will fail a job while the mount is still slewing to the target. This *seems* to be more frequent when the job is started with the mount parked but I can't say for certain. Less frequently Ekos will think the slew is done and start the focusing routine. I usually solve the failure by stopping the schedule, resetting the state of the failed job, then starting it again. If there is no subsequent job in the schedule the system will go into shutdown.

Near as I can tell the driver polls the mount asking if the slew is complete and it gets an appropriate response but the driver tries to restart the slew which throws an error. Could be the driver is at fault but I'm not sure. The console logs in Ekos indicate an attempted restart of the slew, which could causing the driver to restart and get the error. Unfortunately I didn't save those logs.

Here's a snippet that I think covers what's going on:
[2020-02-16T22:52:19.063 MST DEBG ][           org.kde.kstars.indi] - Paramount : "[DEBUG] CMD: /* Java Script */var Out;Out = sky6RASCOMTele.IsSlewComplete; "
[2020-02-16T22:52:19.919 MST DEBG ][ org.kde.kstars.ekos.scheduler] - Mount State changed to 2
[2020-02-16T22:52:19.919 MST DEBG ][ org.kde.kstars.ekos.scheduler] - Slewing stage...
...
[2020-02-16T22:52:22.065 MST DEBG ][           org.kde.kstars.indi] - Paramount : "[DEBUG] RES: 0|No error. Error = 0. "
[2020-02-16T22:52:22.066 MST DEBG ][           org.kde.kstars.indi] - Paramount : "[DEBUG] CMD: /* Java Script */var Out;sky6RASCOMTele.GetRaDec();Out = String(sky6RASCOMTele.dRa) + ',' + String(sky6RASCOMTele.dDec); "
[2020-02-16T22:52:22.919 MST DEBG ][ org.kde.kstars.ekos.scheduler] - Mount State changed to 2
[2020-02-16T22:52:22.919 MST DEBG ][ org.kde.kstars.ekos.scheduler] - Slewing stage...
...
[2020-02-16T22:52:25.066 MST DEBG ][           org.kde.kstars.indi] - Paramount : "[DEBUG] RES: 3.9802719370492765,20.99556246770557|No error. Error = 0. "
[2020-02-16T22:52:25.067 MST DEBG ][           org.kde.kstars.indi] - Paramount : "[SCOPE] Current RA:  3:58:49 Current DEC: 20:59:44 "
[2020-02-16T22:52:25.067 MST DEBG ][           org.kde.kstars.indi] - Paramount : "[DEBUG] CMD: /* Java Script */var Out;try {sky6RASCOMTele.Asynchronous = true;sky6RASCOMTele.SlewToRaDec(7.32398, -13.2668,'');Out  = 'OK'; }catch (err) {Out = err; } "
[2020-02-16T22:52:25.919 MST DEBG ][ org.kde.kstars.ekos.scheduler] - Mount State changed to 2
[2020-02-16T22:52:25.919 MST DEBG ][ org.kde.kstars.ekos.scheduler] - Slewing stage...
...
[2020-02-16T22:52:28.070 MST DEBG ][           org.kde.kstars.indi] - Paramount : "[DEBUG] RES: TypeError: A Mount command is already in progress. Error = 121.|No error. Error = 0. "
[2020-02-16T22:52:28.071 MST DEBG ][           org.kde.kstars.indi] - Paramount : "[DEBUG] CMD: /* Java Script */var Out;try {sky6RASCOMTele.Asynchronous = true;sky6RASCOMTele.SlewToRaDec(7.32398, -13.2668,'');Out  = 'OK'; }catch (err) {Out = err; } "
[2020-02-16T22:52:28.919 MST DEBG ][ org.kde.kstars.ekos.scheduler] - Mount State changed to 2
[2020-02-16T22:52:28.919 MST DEBG ][ org.kde.kstars.ekos.scheduler] - Slewing stage...
[2020-02-16T22:52:28.920 MST DEBG ][ org.kde.kstars.ekos.scheduler] - Mount State changed to 6
[2020-02-16T22:52:28.920 MST DEBG ][ org.kde.kstars.ekos.scheduler] - Slewing stage...
[2020-02-16T22:52:28.921 MST DEBG ][ org.kde.kstars.ekos.scheduler] - Find next job...
...

Full log attached.

- Greg

File Attachment:

File Name: job_fail.log
File Size:66 KB
The following user(s) said Thank You: Eric, Paul Muller
4 years 2 months ago #49653
Attachments:

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

  • Posts: 152
  • Thank you received: 20
Actually it just failed on the second job after I restarted it. I managed to get the console log this time.
2020-02-17T00:19:07 Parking mount in progress...
2020-02-17T00:19:06 No jobs left in the scheduler queue.
2020-02-17T00:19:06 Job 'M 81' is terminated due to errors.
2020-02-17T00:19:06 Warning: job 'M 81' slew failed, marking terminated due to errors.
2020-02-17T00:18:54 Job 'M 81' is slewing to target.
2020-02-17T00:18:54 Warning: job 'M 81' found not slewing, restarting.
2020-02-17T00:18:54 Job 'M 81' is slewing to target.
2020-02-17T00:18:54 Warning: job 'M 81' found not slewing, restarting.
2020-02-17T00:18:51 Job 'M 81' is slewing to target.
2020-02-17T00:18:50 Mount unparked.
2020-02-17T00:18:49 Mount parked.
4 years 2 months ago #49654

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

Time to create page: 0.488 seconds