Bug 422941 - EKOS - PHD2 losing connection makes guider module unrecoverable
Summary: EKOS - PHD2 losing connection makes guider module unrecoverable
Status: RESOLVED FIXED
Alias: None
Product: kstars
Classification: Applications
Component: general (show other bugs)
Version: git
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: TallFurryMan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-13 22:35 UTC by TallFurryMan
Modified: 2020-08-24 06:42 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: v3.4.3
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description TallFurryMan 2020-06-13 22:35:03 UTC
SUMMARY


STEPS TO REPRODUCE
1. Launch PHD2, no equipment connected
2. Launch Ekos with Telescope and CCD Simulators, PHD2 guider
3. Disconnect and reconnect the Telescope simulated device

OBSERVED RESULT

PHD2 connects devices at step 2, and notifies the loss of the mount
at step 3. Ekos is not able to start guiding as equipment is not connected
anymore. It requires a manual disconnect/reconnect in the guider module
to restore functionality.

This may also happen when PHD2, for an unknown reason, cannot connect
succsesfully to the driver at first (but will at a second attempt).

EXPECTED RESULT

Ekos should be able to detect the equipment loss, and attempt to
reconnect. It is possible that the equipment is not connected to Ekos at all,
so Ekos cannot rely on its own view of the INDI drivers (probably not the case
for the mount, but is for camera).

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

ADDITIONAL INFORMATION
Comment 1 TallFurryMan 2020-08-24 06:35:40 UTC
This is fixed by https://invent.kde.org/education/kstars/-/commit/11130020b83497e98efaf5ace4fc892283abf652.

Device connection/disconnection is handled both ways. The end-user can disconnect devices from Ekos or PHD2, state will be handled properly. Connecting and disconnecting from Ekos side (repeatedly) is tested by test_ekos_guide.