×

INDI Library v1.7.9 Released (23 Jun 2019)

INDI Library v1.7.9 is mostly a maintenance release to fix a few bugs in several drivers.

Ekos Scheduler On At Bug Marking aborted

  • Posts: 3
  • Thank you received: 1

Ekos Scheduler On At Bug Marking aborted was created by ISee

Hello,

I think I have run into a Ekos Scheduler bug in version 3. I am using the Fedora 29 x86 nightly, but I have seen the problem since v3.0 was beta.

I am generating an Ekos XML Schedule (.esl file) offline from a script I wrote that pulls in NEOCP asteroid data to add jobs. I believe the xml generated is correct, but it (I) could be the problem. All scheduled events are using the Job Startup Conditions "On", not ASAP for a specific time and I pre calculate all the times so there is no conflict or need to reorder. When I start the scheduler, it scans the jobs and then fails with: "Job 'ZYAC294_2019-01-04_1' has not been processed upon scheduler stop, marking aborted." All jobs that were scheduled are then marked as aborted and Ekos shuts down. No jobs are run...

If I take the same jobs and edit them as ASAP, then they run, but if I edit them back to use "On" time, then they all fail, so I don't think it fails based on other constraints like Alt or Twilight, and the logs don't indicate a problem.

Attached are a sample log of loading the file and starting and failing, and an Ekos esl file that I generated.

Since no one had brought this bug up, I just assumed it was my problem, but I am unable to determine what I am doing wrong. I assume others are actually using the "On" condition in Ekos, but maybe that is a bad assumption?

On a tangent, would it be possible to add a cryptocurrency option or two to the donation button? KStars has allowed me to jump into astroimaging with no prior knowledge of astronomy, and has proven to be invaluable.
8RC - iOptron CEM60 - ZWO ASI1600MM-C
INDI on RPi 3B
KStars on x86_64 with PHD2
6 months 2 weeks ago #33382
Attachments:

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

  • Posts: 876
  • Karma: 6
  • Thank you received: 230

Replied by wvreeven on topic Ekos Scheduler On At Bug Marking aborted

Hi,

I ran into exactly the same issue tonight. When scheduling a job ASAP it gets executed immediately. Bit when I schedule a job to start at a specific time then it gets aborted and Ekos starts the shut down procedure. I created the esq file by hand by editing an existing file (only changing the date and copying jobs so they run more than once) but I don’t think that’s the issue.


Cheers, Wouter
ASI1600MM-Pro Cooled and filter wheel with a SkyWatcher Esprit 80 ED on a SkyWatcher HEQ5-Pro

ASI1600MM-Pro Cooled and filter wheel with an 8" TS Ritchey-Chrétien on a SkyWatcher EQ6-R
6 months 2 weeks ago #33383

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

  • Posts: 15
  • Thank you received: 2

Replied by Frank L on topic Ekos Scheduler On At Bug Marking aborted

Hi,
I have the same issue, with my mount ( Celestron Evolution or Nexstar) or with the Telescope simulator.
Asap works
Culmination offset works
But not « on »
The score is always 0.

Frank
6 months 2 weeks ago #33385

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

Replied by knro on topic Ekos Scheduler On At Bug Marking aborted

I can confirm this.. I asked Eric if he can take a look at it.
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
6 months 2 weeks ago #33405

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

  • Posts: 718
  • Karma: 13
  • Thank you received: 225

Replied by TallFurryMan on topic Ekos Scheduler On At Bug Marking aborted

Thanks to all for reporting this. I also reproduced the issue with simulators and will look into it.
Preliminary investigation has the Scheduler accepting all jobs, starting, and then considering there's nothing to do.
So the problem happens when starting, the Scheduler should immediately fall asleep instead of bailing out.

-Eric
HEQ5-Pro - Atik 314E - Orion ED80T - DMK21 on Orion 50mm
DIY 3D-printed Moonlite and FWheel RGB/LPR
KStars and indiserver on two Atom 1.6GHz 1GB RAM Linux, VPN remote access
6 months 2 weeks ago #33409

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

  • Posts: 718
  • Karma: 13
  • Thank you received: 225

Replied by TallFurryMan on topic Ekos Scheduler On At Bug Marking aborted

Again, thanks for spotting this. The issue was caused by a leftover from pre-3.0, but also showed that fixed-startup jobs had slipped through the integration tests of the Scheduler...
I pushed phabricator.kde.org/D18041 as a hotfix which should fix the reported problem and also the reported score update that was just not done for fixed-startup jobs.

-Eric
HEQ5-Pro - Atik 314E - Orion ED80T - DMK21 on Orion 50mm
DIY 3D-printed Moonlite and FWheel RGB/LPR
KStars and indiserver on two Atom 1.6GHz 1GB RAM Linux, VPN remote access
The following user(s) said Thank You: wvreeven, ISee
6 months 2 weeks ago #33424

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

  • Posts: 15
  • Thank you received: 2

Replied by Frank L on topic Ekos Scheduler On At Bug Marking aborted

Great news !
Thanks you ;)
How can we update kstars with this fix ?

Frank
6 months 2 weeks ago #33433

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

  • Posts: 718
  • Karma: 13
  • Thank you received: 225

Replied by TallFurryMan on topic Re:Ekos Scheduler On At Bug Marking aborted

Looking at code.launchpad.net/~jochym/+recipe/kstars-daily , I'd say the change is already available, but I'm never sure with launchpad.

-Eric
HEQ5-Pro - Atik 314E - Orion ED80T - DMK21 on Orion 50mm
DIY 3D-printed Moonlite and FWheel RGB/LPR
KStars and indiserver on two Atom 1.6GHz 1GB RAM Linux, VPN remote access
Last edit: 6 months 2 weeks ago by TallFurryMan.
6 months 2 weeks ago #33437

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

  • Posts: 15
  • Thank you received: 2

Replied by Frank L on topic Re:Ekos Scheduler On At Bug Marking aborted

Very sorry to ask, but how can i upgrade kstars ? I don’t understand how to apply this fix :(
Best

Frank
6 months 1 week ago #33466

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

  • Posts: 718
  • Karma: 13
  • Thank you received: 225

Replied by TallFurryMan on topic Re:Re:Ekos Scheduler On At Bug Marking aborted

On Linux, your package updater should offer you a new version. What is your OS, and how did you download kstars?

-Eric
HEQ5-Pro - Atik 314E - Orion ED80T - DMK21 on Orion 50mm
DIY 3D-printed Moonlite and FWheel RGB/LPR
KStars and indiserver on two Atom 1.6GHz 1GB RAM Linux, VPN remote access
6 months 1 week ago #33468

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

  • Posts: 15
  • Thank you received: 2

Replied by Frank L on topic Re:Re:Ekos Scheduler On At Bug Marking aborted

It’s for my tinkerboard ubuntu bionic 18.04 but the package updater indicates no newer version. The built is 2018-12-19T19:43:30Z

Frank
6 months 1 week ago #33469

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

  • Posts: 876
  • Karma: 6
  • Thank you received: 230

Replied by wvreeven on topic Re:Re:Ekos Scheduler On At Bug Marking aborted

It will only update if you use the nightly builds. See the installation instructions for Ubuntu on how to do that.


Wouter
ASI1600MM-Pro Cooled and filter wheel with a SkyWatcher Esprit 80 ED on a SkyWatcher HEQ5-Pro

ASI1600MM-Pro Cooled and filter wheel with an 8" TS Ritchey-Chrétien on a SkyWatcher EQ6-R
6 months 1 week ago #33472

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

Time to create page: 0.572 seconds