Bug 478270

Summary: 3.6.8 Stable: FlipFlat in Optical Train Crashes KStars in Flat Sequence
Product: [Applications] kstars Reporter: airbourn <airbourn>
Component: generalAssignee: Jasem Mutlaq <mutlaqja>
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 3.7.1
Sentry Crash Report:

Description airbourn 2023-12-08 16:04:53 UTC
Summary
When FlipFlat is selected in the Optical Train for both dust cap and light panel, any attempt to generate a flat hangs KStars immediately after the "Turn light box light on..." status message. Happens both while running a sequence job or attempting a manual preview.  The progress indicator in the lower right of the Capture Module says "Preparing..." I get the "force quit" dialog from Ubuntu after a short time. Curiously, the log warns about "Always Reset Sequence" enabled, but it is not enabled. I have a FlipFlat and have the optical train set correctly. If I remove the FlipFlat from the optical train config and close the cover and turn on the light manually, the sequence runs fine. 

Log Excerpt:
[2023-12-08T08:22:21.589 CST INFO ][   org.kde.kstars.ekos.capture] - "Warning: option \"Always Reset Sequence When Starting\" is enabled and resets the sequence counts."
[2023-12-08T08:22:21.590 CST INFO ][   org.kde.kstars.ekos.capture] - "Job requires 2.000-second Ha images, has 0/20 frames captured and will be processed."
[2023-12-08T08:22:21.592 CST INFO ][   org.kde.kstars.ekos.capture] - "Parking dust cap..."
[2023-12-08T08:22:21.593 CST INFO ][   org.kde.kstars.ekos.capture] - "Warning: temperature delta check is selected but autofocus process was not started."
[2023-12-08T08:22:22.767 CST INFO ][           org.kde.kstars.indi] - Flip Flat :  "[INFO] Cover closed. "
[2023-12-08T08:22:22.767 CST INFO ][   org.kde.kstars.ekos.capture] - "Dust cap parked."
[2023-12-08T08:22:22.768 CST INFO ][   org.kde.kstars.ekos.capture] - "Light box on."
[2023-12-08T08:22:22.769 CST INFO ][   org.kde.kstars.ekos.capture] - "Turn light box light on..."
Comment 1 Jasem Mutlaq 2024-01-08 08:01:16 UTC
Cannot reproduce in KStars 3.6.8
Comment 2 Jasem Mutlaq 2024-06-11 12:30:04 UTC
Should be fixed in 3.7.1