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"
-
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.
-
Can you please provide us some code to run which exhibits this behavior?
-
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.
-
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.
-
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
-
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!
-
console.set_idle_timer_disabled(flag)
Disable or enable the idle timer (which puts the device to sleep after a certain period of inactivity).