Welcome, Guest
Username: Password: Remember me
20 Aug 2017
INDI development team is happy to announce the release of INDI Library v1.5.0. This new exciting release builds on the maturity of INDI Library and comes with many new supported devices and fixes for existing drivers.
Read More...
  • Page:
  • 1

TOPIC: Check location before saving to avoid crash...

Check location before saving to avoid crash... 1 week 4 days ago #19261

  • maudy
  • maudy's Avatar Topic Author
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 283
  • Karma: 2
  • Thank you received: 23
Hi,

Is it possible to add a catch/warning for sequence files trying to save files to a location that does not exist?

Last night things went ok. Still working through some issues with everything running on RPI3. You all offer great support.

This morning taking flats it took me, embarrassingly, two hours to figure out why things kept crashing. The symptom, the scheduler was configured to take flats, and when checking progress I would find Ekos disconnected from INDI. Smile and repeat... Then not so much smiling. The issue was found by recreating the sequence file and schedule file.

In the end it was the sequence file used. The location where the images was to be saved for a filter did not exist. The mount location for my usb stick had changed - USB1 returned to USB. The cause was due to reimaging the SD Card and using the previous files on the new image.

A message box to warn the user is all I am thinking. Something stating location not found. INDI can still be stopped in case there is other reasons to do so. Such a message box, would let the user know why and what to correct.

Just a thought.

Cheers!

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

Check location before saving to avoid crash... 1 week 4 days ago #19273

So I checked and it was failing most silently but no crashes. I made changes to INDI so that remote drivers would fail on upload or save fail, and locally it you would display error message in log if it cannot save. However, I'm not sure how you got a crash, if you have the backtrace, please attach.

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

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?

Check location before saving to avoid crash... 1 week 4 days ago #19277

  • maudy
  • maudy's Avatar Topic Author
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 283
  • Karma: 2
  • Thank you received: 23
Please find attach all I have for logs from last night. Please delete then once you have them.

It may not be a crash. The symptom was that Ekos would be disconnected from INDI and everything would need to be restarted.

I likely did some pkill indi commands think that something was awry to reset everything and restart using the Ekos Start INDI button.

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

Last Edit: by maudy. Reason: removed logs

Check location before saving to avoid crash... 1 week 3 days ago #19283

Too many logs in this case , which ones show the issue?

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

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?

Re:Check location before saving to avoid crash... 1 week 3 days ago #19299

  • maudy
  • maudy's Avatar Topic Author
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 283
  • Karma: 2
  • Thank you received: 23
I can recreate later this week.


Sent from my iPhone using Tapatalk Pro

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

Re:Check location before saving to avoid crash... 1 week 3 days ago #19312

  • maudy
  • maudy's Avatar Topic Author
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 283
  • Karma: 2
  • Thank you received: 23
attached are the logs I could get duplicating the problem.

These capture the event. Ekos is disconnected, and indi is completely stopped

Verbose logging was on. There is not a lot these.
Attachments:

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

  • Page:
  • 1
Time to create page: 0.140 seconds

Login



3rd Party

Choose from the numerous 3rd party INDI drivers to suit your needs!

Got Problem?

Check out the FAQ, the forum, and the bug tracking system to resolve any issues you might have!
You can also subscribe to INDI newsletter and development mailing lists to get the latest updates on INDI!


Gallery

Replica

Why INDI

Replica