Fits Viewer - stats not refreshed

dbennett.1e6 at gmail.com dbennett.1e6 at gmail.com
Fri Jul 10 03:48:01 BST 2026


The Fits Viewer is very useful to monitor images as they are taken by a camera.  It has an option to place a square on the image and show the statistics for this small region. I typically use the 100x100 square and move it centred over a star to monitor the maximum pixel count to avoid saturation for variable star observations. When the next image is displayed the monitoring square remains in place which is good but the stats default to a maximum pixel count of 65535. This is incorrect so I have to ‘jiggle’ the location of the square in order to refresh the maximum pixel count, tedious when taking a batch of images.

May I request an improvement whereby the stats are refreshed when a new image is loaded.

Clear skies (with no satellite trails)

David Bennett

-----Original Message-----
From: Kstars-devel <kstars-devel-bounces at kde.org> On Behalf Of kstars-devel-request at kde.org
Sent: 04 July 2026 12:00
To: kstars-devel at kde.org
Subject: Kstars-devel Digest, Vol 267, Issue 1

Send Kstars-devel mailing list submissions to
	kstars-devel at kde.org

To subscribe or unsubscribe via the World Wide Web, visit
	https://mail.kde.org/mailman/listinfo/kstars-devel
or, via email, send a message with subject or body 'help' to
	kstars-devel-request at kde.org

You can reach the person managing the list at
	kstars-devel-owner at kde.org

When replying, please edit your Subject line so it is more specific than "Re: Contents of Kstars-devel digest..."


Today's Topics:

   1. Ekos INDI crash with Nikon D7000 camera (Richard Ellis)


----------------------------------------------------------------------

Message: 1
Date: Fri, 3 Jul 2026 14:24:07 -0400
From: Richard Ellis <rellis at dp100.com>
To: kstars-devel at kde.org
Subject: Ekos INDI crash with Nikon D7000 camera
Message-ID: <akf+R+VZdKlKJi2h at d820.dp100.com>
Content-Type: text/plain; charset=us-ascii; format=flowed


Using kstars flatpak stable V 3.8.3 and the INDI drivers supplied in the flatpak.

More often than not (i.e., sometimes it does succeed) Ekos reports that "indi_nikon_ccd  crashed!" when attempting to take a photo using my Nikon D7000 attached via USB.

I believe I have turned on all of the "debug" options, and captured this in the logs from the latest crash last night:

org.kde.kstars.indi: Nikon DSLR DSC D7000 (PTP mode) : "[DEBUG] Exposure complete. "
org.kde.kstars.indi: Nikon DSLR DSC D7000 (PTP mode) : "[DEBUG] Downloading image... Name: (DSC_4865.NEF) Folder: (/store_00010001/DCIM/101D7000) Delete from SD card? (false) "
org.kde.kstars.indi: Nikon DSLR DSC D7000 (PTP mode) : "[DEBUG]  Downloaded 4928x3264 (preview 160x120) "
org.kde.kstars.indi: Nikon DSLR DSC D7000 (PTP mode) : "[DEBUG] Capture target is SD Card. "
org.kde.kstars.indi: Nikon DSLR DSC D7000 (PTP mode) :  "[INFO] Exposure done, downloading image... "
org.kde.kstars.indi: Nikon DSLR DSC D7000 (PTP mode) : "[DEBUG] read_libraw: raw_width: 4992 top_margin 0 left_margin 0 first_visible_pixel 0 "
org.kde.kstars.indi: Nikon DSLR DSC D7000 (PTP mode) : "[DEBUG] read_libraw: rawdata.sizes.width: 4948 rawdata.sizes.height 3280 memsize 32458880 bayer_pattern RGGB "
org.kde.kstars.indi: Nikon DSLR DSC D7000 (PTP mode) : "[DEBUG] read_libraw: memsize (32458880) naxis (2) w (4948) h (3280) bpp (16) bayer pattern (RGGB) "
org.kde.kstars.indi: Nikon DSLR DSC D7000 (PTP mode) : "[DEBUG] Subframing... subFrameSize: 32169984 - oneFrameSize: 32169984 - subX: 0 - subY: 0 - subW: 4928 - subH: 3264 "
org.kde.kstars.indi: Nikon DSLR DSC D7000 (PTP mode) : "[DEBUG] Exposure complete "
org.kde.kstars.indi: Nikon DSLR DSC D7000 (PTP mode) : "[DEBUG] Uploading file. Ext: fits, Size: 32178240, sendImage? Yes, saveImage? Yes "
org.kde.kstars.indi: Nikon DSLR DSC D7000 (PTP mode) :  "[INFO] Creating directory ... "
org.kde.kstars.indi: INDI Server:  "2026-07-03T02:25:50: Driver indi_nikon_ccd: /usr/include/c++/15.2.0/bits/basic_string.h:1369: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::reference std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::operator[](size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; reference = char&; size_type = long unsigned int]: Assertion '__pos <= size()' failed."
org.kde.kstars.indi: INDI Server:  ""
org.kde.kstars.indi: INDI Server:  "2026-07-03T02:25:50: Driver indi_nikon_ccd: read EOF"
org.kde.kstars.indi: INDI Server:  ""
org.kde.kstars.indi: INDI Server:  "<delProperty device=\"Nikon DSLR DSC D7000 (PTP mode)\"/>"
org.kde.kstars.indi: INDI Server:  "2026-07-03T02:25:50: Driver indi_nikon_ccd: Terminated after #0 restarts."
org.kde.kstars.indi: INDI Server:  ""
Dispatch command error(-1): INDI: Could not find property CCD_FRAME in SVBONY SV905C2 <delProperty device="Nikon DSLR DSC D7000 (PTP mode)"/>
org.kde.kstars.indi: Removing device "Nikon DSLR DSC D7000 (PTP mode)"
org.kde.kstars.indi: INDI driver  "indi_nikon_ccd"  crashed!
org.kde.kstars.indi: INDIListener: Removing device "Nikon DSLR DSC D7000 (PTP mode)"
org.kde.kstars.ekos: "Nikon DSLR DSC D7000 (PTP mode) is offline."

If I have overlooked any additional "debug" options, please indicate where to go to turn them on and I can repeat the crash again (it crashes more often than it is successful) to capture another log output.


------------------------------

Subject: Digest Footer

_______________________________________________
Kstars-devel mailing list
Kstars-devel at kde.org
https://mail.kde.org/mailman/listinfo/kstars-devel


------------------------------

End of Kstars-devel Digest, Vol 267, Issue 1
********************************************



More information about the Kstars-devel mailing list