Bug 471373 - EKOS: Mosaic Scheduler and job completion conditions error
Summary: EKOS: Mosaic Scheduler and job completion conditions error
Status: CLOSED NOT A BUG
Alias: None
Product: kstars
Classification: Applications
Component: general (show other bugs)
Version: 3.6.5
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Wolfgang Reissenberger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-23 09:46 UTC by Javier Albella
Modified: 2023-06-23 21:12 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Repeat for do incorrect the schedule jobs (27.98 KB, image/jpeg)
2023-06-23 09:46 UTC, Javier Albella
Details
Repeat for do incorrect the schedule jobs (30.36 KB, image/jpeg)
2023-06-23 18:59 UTC, Javier Albella
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Javier Albella 2023-06-23 09:46:02 UTC
Created attachment 159851 [details]
Repeat for do incorrect the schedule jobs

SUMMARY
There is a problem in mosaic usin scheduler. I think in the job completion conditions, the repeat for option, should be for all jobs in scheduler but panel 1, panel2, panel3...finish all panels one time and repeat again x times until complete the number of runs indicated in the repeat for option.

STEPS TO REPRODUCE
1. Conect EKOS using simulators for easy reproduce.
2. GOTO: Select object in kstars planetarium and sent telescope there.
3. EKOS: Click on sheduler tab
4. In job completion conditions select "Repeat For = 2"
5.  Click on mosaic Icon and make an mosaic 2x1
5. Start jobs.

OBSERVED RESULT
The "Repeat for" rutine have a bug:

The sheduler start jobs, but with mosaics, repeat a panel x times and pass to the next and this its an error.

The Repeat for do....
Panel1 - 2 captures
Panel1-capture1
Panel1-capture2

Panel2 - 2 captures
Panel2-capture1
Panel2-capture2

I think this is a bug. Should be work panel1, panel2 ...finish all panels one time and repeat again until complete the number of runs indicated in the "repeat for" option.

EXPECTED RESULT
Repeat for should be...

For first time:
Panel1-capture1
Panel2-capture1

for second time:
Panel1-capture2
Panel2-capture2

etc...

NOTE: For repeat each panel numbers of captures its the sequency file "*.esq"

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Linux Mint Vera 21 (Ubuntu)
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
See this video for more details: https://youtu.be/PqUaEvdlFc8
Comment 1 Javier Albella 2023-06-23 10:31:44 UTC
Another posible solution for this bug without modify repeat for rutine, its add a "restart all jobs" button in the job completion conditions for a number of times, and if check this option, the shudeler, re-start all jobs when complete.
Comment 2 Javier Albella 2023-06-23 18:59:20 UTC
Created attachment 159867 [details]
Repeat for do incorrect the schedule jobs
Comment 3 Wolfgang Reissenberger 2023-06-23 21:11:40 UTC
This behavior makes sense, but the current scheduler has no option to group scheduler jobs and repeat this group.
Comment 4 Wolfgang Reissenberger 2023-06-23 21:12:41 UTC
The refactoring is still ongoing, and without it we agreed not to touch the scheduler.