×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

Time freezes in kstars, possible GPSD issue?

  • Posts: 152
  • Thank you received: 20
I'm running builds of kstars and indilib from relatively fresh pulls performed in the last week. This problem may have been occurring prior to now but I'm not sure.

I've noticed that time in kstars will get stuck at some point. Log files and FITS headers seem to continue with the correct time. This morning I found that the LT indicator in kstars as well as the log windows stuck at 21:38:32 LT while it is presently ~07:30 LT. Looking at the camera tab I see the ~20 or so exposures and associated activities (focus, dither) logged at 21:38:32 LT. I had enabled GPS logging, and see the system time being set properly at the beginning of the session, but no indication of time being frozen or other indication that something broke.

This is a short snippet of the camera tab log that shows how the time gets stuck:
2020-10-22T21:38:32 Dithering...
2020-10-22T21:38:32 Received image 2 out of 4.
2020-10-22T21:38:32 Download Time: 5.68 s, New Download Time Estimate: 5.30 s.
2020-10-22T21:38:32 Capturing 900.000-second B image...
2020-10-22T21:38:32 Focus complete.
2020-10-22T21:38:32 Dither complete.
2020-10-22T21:38:32 Dithering succeeded.
2020-10-22T21:38:32 Dithering...
2020-10-22T21:38:32 Received image 1 out of 4.
2020-10-22T21:38:32 Download Time: 6.17 s, New Download Time Estimate: 5.22 s.
2020-10-22T21:38:32 Capturing 900.000-second B image...
2020-10-22T21:38:32 Job requires 900.000-second B images, has 0/4 frames captured and will be processed.
2020-10-22T21:38:30 Received image 4 out of 4.
2020-10-22T21:38:30 Download Time: 5.42 s, New Download Time Estimate: 4.99 s.
2020-10-22T21:38:30 Capturing 900.000-second B image...
2020-10-22T21:38:30 Focus complete.
2020-10-22T21:38:30 Dither complete.
2020-10-22T21:38:30 Dithering succeeded.
2020-10-22T21:37:28 Dithering...
2020-10-22T21:37:28 Received image 3 out of 4.
2020-10-22T21:37:28 Download Time: 4.82 s, New Download Time Estimate: 4.84 s.
2020-10-22T21:22:25 Capturing 900.000-second B image...
2020-10-22T21:22:25 Focus complete.
2020-10-22T21:20:51 Dither complete.
2020-10-22T21:20:51 Dithering succeeded.
2020-10-22T21:19:44 Dithering...

Investigating the GPSD tab I saw that most of the fields were gone including lat/long. Unfortunately I didn't get a screen capture. The last log entry showed that GPS fix was obtained about 11 hours prior. I clicked on the Refresh GPS button which caused the GPSD read error to start piling up. Disconnecting/reconnecting the driver fixed it and proper time was re-established. The gpsd daemon itself was stable and showed no issues during this time.
2020-10-23T14:37:30: [ERROR] GPSD read error. 
2020-10-23T14:37:28: [ERROR] GPSD read error. 
2020-10-23T03:35:45: [INFO] GPS fix obtained. 
2020-10-23T03:35:03: [INFO] GPS fix obtained. 
2020-10-23T03:35:01: [INFO] Device configuration applied. 
2020-10-23T03:35:01: [INFO] GPS Update Timer disabled. 
2020-10-23T03:35:01: [INFO] Loading device configuration... 
2020-10-23T03:35:01: [INFO] GPS fix is in progress... 
2020-10-23T03:35:00: [INFO] Debug is enabled. 

Logfile attached.

Greg
Last edit: 3 years 5 months ago by Greg.
3 years 5 months ago #62027
Attachments:

Please Log in or Create an account to join the conversation.

Time to create page: 0.505 seconds