Bug 456245

Summary: Device Manager cant stop a running service
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: Other   
OS: Linux   
Latest Commit: Version Fixed In: 3.6.0
Sentry Crash Report:

Description alain@zwingelstein.org 2022-07-02 15:34:24 UTC
SUMMARY
When trying to stop a running service (e.g. any driver) I receive an error "Invalid port entry"

STEPS TO REPRODUCE
1. Open device manage
2. Run any of the telescope driver
3. Try to stop the related service

OBSERVED RESULT
Error message "Invalid port entry:"

EXPECTED RESULT
The service should stop

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma:

PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"

Kstars 3.6.0 Beta Build: 2022-07-02T12:56:33Z from git
KDE Frameworks 5.78.0
Qt 5.15.2 (built on 5.15.2)
Comment 1 Jasem Mutlaq 2022-07-02 16:28:29 UTC
Git commit 3f36bb17df4410e228303ab4cd03d5aaf915341d by Jasem Mutlaq.
Committed on 02/07/2022 at 16:27.
Pushed by mutlaqja into branch 'master'.

Fix port conversion issue.
FIXED-IN:3.6.0

M  +8    -2    kstars/indi/drivermanager.cpp

https://invent.kde.org/education/kstars/commit/3f36bb17df4410e228303ab4cd03d5aaf915341d
Comment 2 alain@zwingelstein.org 2022-07-02 20:33:18 UTC
Thank you for your fix.
Compiled and tested OK.