×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Manually Run Startup Script

  • Posts: 4
  • Thank you received: 0
I'm trying to test a startup script, but it gives me an error that "cannot run startup procedure while indi devices are not online". My devices are all online though.

Searching for that error returns very few results other than the actual code. I looked at the code and found a comment that says
/* FIXME: Probably issue a warning only, in case the user wants to run the startup script alone */
github.com/KDE/kstars/blame/d204d72372cd.../scheduler.cpp#L6247

I'm not an expert, but it seems like the logic is checking to see if indi is idle vs. actually offline and generating an error. Not sure why being idle would cause any problems, and it would be an easy fix just to eliminate that one bit of logic to enable the script to be run manually.
if (indiState == INDI_IDLE)
        {
            KSNotification::sorry(i18n("Cannot run startup procedure while INDI devices are not online."));
            return;
        }

Any chance this can be fixed?

Thank you
3 years 2 months ago #65500

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

  • Posts: 37
  • Thank you received: 4

Replied by Sergio on topic Manually Run Startup Script

This afternoon I tried the same (configure a startup script and try to run it manually) and received the same error. Thing is all INDI devices were connected, so I don't know what I'm doing wrong.

Could any dev have a look at it, please? Thanks!
2 years 1 month ago #80214

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

Time to create page: 0.524 seconds