Bug 458932

Summary: Device Driver does not start
Product: [Applications] kstars Reporter: alain <alain>
Component: generalAssignee: Jasem Mutlaq <mutlaqja>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: git   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 3.6.1
Sentry Crash Report:

Description alain@zwingelstein.org 2022-09-09 16:42:22 UTC
SUMMARY
***
Sometimes impossible to start a device driver manually where it works using Ekos.
Once it has been started wia Ekos then the manual start via Tools->Devices->Devicemanager menu works again.
So far It happens sometimes after a rebuild from git.
***

STEPS TO REPRODUCE
1. start Kstars
2. start a device driver (eg. a telescope) via Tools->Devices->Devicemanager menu
3. device does not start
4. Exit Kstars
5. Kill manually indiserver
6. Restart Kstars
7. retry step 2

OBSERVED RESULT
When starting a device driver via Tools->Devices->Devicemanager menu
- the indi control panel does not pop up
- indiserver is started but not the device driver
- When I quit Kstars indiserver is still running
- I then have to kill manually indiserver

EXPECTED RESULT
When starting a device driver via Tools->Devices->Devicemanager menu
- the indi control panel should pop up
- indiserver and device driver should be started

SOFTWARE/OS VERSIONS (by kinfocenter)
Operating System: Debian GNU/Linux 11
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2
Kernel Version: 5.19.0
OS Type: 64-bit
Processors: 4 × Intel® Core™ i5-2450M CPU @ 2.50GHz
Memory: 7.7 Gio of RAM
Graphics Processor: Mesa DRI Intel® HD Graphics 3000

Kstars version: Version 3.6.1 Beta (built from git)
Indi Version: INDI Library: 1.9.8 (built from git)
Comment 1 Jasem Mutlaq 2022-09-09 23:32:08 UTC
Git commit ebdde43a8d2589c166b8ed76c6d87d9e43b687a6 by Jasem Mutlaq.
Committed on 09/09/2022 at 22:46.
Pushed by mutlaqja into branch 'master'.

Fix device driver manual start by waiting more on client connection.
FIXED-IN:3.6.1

M  +23   -1    kstars/indi/clientmanager.cpp
M  +4    -1    kstars/indi/drivermanager.cpp

https://invent.kde.org/education/kstars/commit/ebdde43a8d2589c166b8ed76c6d87d9e43b687a6