Bug 478664 - Kstars/Ekos crashes every time I try to add an Optical Train
Summary: Kstars/Ekos crashes every time I try to add an Optical Train
Status: RESOLVED WORKSFORME
Alias: None
Product: kstars
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: macOS (DMG) macOS
: NOR crash
Target Milestone: ---
Assignee: Jasem Mutlaq
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-17 20:45 UTC by Richard Francis
Modified: 2024-08-30 03:48 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
zip of 5 crash reports (62.38 KB, application/zip)
2023-12-17 20:45 UTC, Richard Francis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Francis 2023-12-17 20:45:06 UTC
Created attachment 164260 [details]
zip of 5 crash reports

NOTE: this is version 3.6.8, which does not appear on the menu of builds.

SUMMARY
***
I cannot use Ekos (buttons are disabled) and I assume it's because I have no optical train defined. when I press the edit button next to the blank Optical Train menu, I find a window with greyed out (and blank) optical train elements. There's a plus button whose function is obvious, but every time I press it (and this is repeatable) the app disappears and a crash report is presented. I'm attaching a zip of 5 of these.

In my equipment list I have a camera, focuser and rotator. The mount is represented by the Telescope Simulator since my Software Bisque mount is connected to ThSkyX and I haven't started trying to figure out how to connect it to Ekos. Maybe this has something to do with it?

The overall result is that Ekos is unusable, unfortunately

***


STEPS TO REPRODUCE
1. define a camera (mine is a Moravian C5A-100M), a focuser (FLI Atlas) and rotator (Optic Pyxis), a telescope simulator. 
2. start Ekos and connect the equipment
3. enter a telescope OTA definition in the telescopes and lenses dialog.
4. go to the tab (don't know the name where there is the setup for autofocus.
5. press the edit button next to the blank optical train
6. press the + button

OBSERVED RESULT
App disappears and crash report appears

EXPECTED RESULT
I imagine one would be able to add an optical Train, but as I've never reached this point I don't know.

SOFTWARE/OS VERSIONS
macOS: 14.1.2
KDE Plasma Version: ?
KDE Frameworks Version: ?
Qt Version: ?

Kstars version: 3.6.8

ADDITIONAL INFORMATION
Comment 1 Richard Francis 2023-12-17 20:48:22 UTC
Oh yes, I forgot to mention -- this is an Apple Silicon (i.e. ARM) machine running Kstars under Apple's Rosetta emulation.
Comment 2 Richard Francis 2023-12-18 20:44:55 UTC
Some more info:

1. I am a new Kstars/Ekos user. This was the first time I tried it. My Optical Trains list is empty (no Primary or anything). 
2. Today I added the other necessary stuff. I found how to link to the Paramount via TheSkyX and TCP, and I added my guide camera too. So I should have the full set. I got just the same crash when I tried to add an Optical Train.
Comment 3 Richard Francis 2023-12-20 10:49:10 UTC
Update: I found an on-line suggestion to delete users.sqlite from ~/.local/share/kstars -- though being on macOS the sqlite file was in  Library/Application Support/kstars . For good measure I deleted the backup too.

This fixed it. On restarting I made sure to include the mount in the equipment list, and this time the default Primary and Secondary Optical Trains were, with the Primary one populated.
Comment 4 Jasem Mutlaq 2024-07-31 12:24:36 UTC
Please test with KStars 3.7.1+ and report basck.
Comment 5 Bug Janitor Service 2024-08-15 03:47:03 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Bug Janitor Service 2024-08-30 03:48:02 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.