I have just updated to the latest KStars/Ekos/INDI software. For some reason I am unable to save a FITS file. The error I get is:
Image save error: No world coordinate system found
I only get this error when I choose to save the image from the KStars FITS Viewer. Auto saving from Ekos CCD dialog sequence is okay.
My KStars configuration for FITS has limited resources checked (i.e. no Auto WCS). I have also tried to disable WCS in INDI Control Panel for the camera.
Yes I noticed the file was being saved even though the error was being reported. However when I try to open the file, using KStars Open image, I get message: Error opening fits file. This then usually results in Kstars crashing out.
That happened also to me once yesterday night.
It happened with the last capture but no with the previous ones.
I had copied it to my PC and I got an error on gimp and on the NASA FITS Liberator. Back to the rpi, KStars crashed when trying to open it.
The file was something like 844 KB (it was taken from the guide camera) while other previously shot, identical files that opened correctly were 855 KB.
I closed EKOS, KStars, and reopened again (not sure if I rebooted). Then, magically, the FITS was showing to be 855 KB and opened successfully.
I would say that saved pictures are not inmediately closed and in this zombi state they produce problems.
In my opinion, this is not related with the error about the WCS not found because I also get it for pictures that opened correctly. I suspect that FITS viewer has a lot of holes yelling for attention
That makes sense. I also seem to be able to open older files saved, that reported the error, after a reboot. It's only when trying to open a file just saved causes the system crash (segmentation fault).
This is happening for bayered images only? If yes, then it might be related to an optimization. Once an image is debayered, only the RGB memory lives in memory as to reduce the memory footprint, the bayered data is discarded. It does not affect sequence images, which are already saved to disk, only Preview images. A possible solution to this is to save the buffer to temporary file on disk just in case you want to save the preview, then it can re-use the temporary file to save the image without having to save it with RGB components.