Bug 397227

Summary: PHD2 stopped guiding not recognized
Product: [Applications] kstars Reporter: Wolfgang Reissenberger <wreissen>
Component: generalAssignee: Jasem Mutlaq <mutlaqja>
Status: RESOLVED FIXED    
Severity: major    
Priority: NOR    
Version First Reported In: 2.9.7   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 2.9.8
Sentry Crash Report:

Description Wolfgang Reissenberger 2018-08-06 23:08:09 UTC
When guiding with PHD2 fails during a schedule, it causes a capture failure marking the capture as "Aborted". But when the scheduler tries to recover, the PHD2 guide adaptor returns the wrong value:

guideInterface->call(QDBus::AutoDetect, "getStatus")

returns "no error" despite PHD has stopped guiding.

As a consequence, the scheduler simply executes the next capture sequence and does not restarts guiding.
Comment 1 Jasem Mutlaq 2018-08-07 08:06:03 UTC
This should be fixed in 2.9.8 or GIT now if you want to test that.
Comment 2 Wolfgang Reissenberger 2018-08-07 15:03:39 UTC
Tested it on commit 9c7bebf8421ce49194ebed7ecdaa426ac143032d. Looks good!