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: REPORTED
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: 2023-12-20 10:49 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


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.