omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    "The time for your script has expired"

    Pythonista
    6
    7
    4406
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ExParrot101
      ExParrot101 last edited by

      Hi— anybody else get that script timeout message? Is it behind a "syntax error" preventing execution of valid lines of code (like x=1)? This was a new text file, db.py.

      1 Reply Last reply Reply Quote 0
      • ccc
        ccc last edited by

        Can you please provide us some code to run which exhibits this behavior?

        1 Reply Last reply Reply Quote 0
        • peterh86
          peterh86 last edited by

          I see this occasionally. It appears in my ipad notifications window. From running Editorial.

          It is not related to any syntax error. I see it at random times and have not been able to find what script if any causes it.

          1 Reply Last reply Reply Quote 0
          • dgelessus
            dgelessus last edited by

            As far as I know this happens when you leave a thread running in background after the main thread has already stopped. This happened to me when I was playing around with httpserver, which runs the server in a background thread and can't easily be stopped.

            1 Reply Last reply Reply Quote 0
            • filippocld223
              filippocld223 last edited by

              if your script is running in background after 10 minutes it will return a syntax error because Apple limits app execution for more than 10 minutes...it's not a code error,just a limitation

              1 Reply Last reply Reply Quote 0
              • drscheme
                drscheme last edited by

                I want to create some kind of GPS logger which runs as long as I want. By this reason the behavior described in this thread is not desired. Is there any way how I can create a script that runs "forever"?

                Regards!

                1 Reply Last reply Reply Quote 0
                • ccc
                  ccc last edited by

                  console.set_idle_timer_disabled(flag)

                  Disable or enable the idle timer (which puts the device to sleep after a certain period of inactivity).

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Powered by NodeBB Forums | Contributors