Forum Archive

Issue: Script runs twice instead of once since iOS13

bjdejong42

Hello,

I am running for some years a pythonista script that runs an ssh command on a server.
Since I upgraded to iOS 13 the script executes itself consistently twice instead of what I expected, i.e. once.
(I have recreated the script on iOS 13.1.12 and it does not solve the issue.)

Does anybody have an idea what the issue is?

Thank you.

cvp

@bjdejong42 how do you run the script because we know that since beta + ios13, starting a script from a shortcut runs it twice, see here

mikael

@cvp, home screen shortcuts launch twice under iOS 13 also with the App Store version.

cvp

@mikael yes, sorry, I seem to remember that you had already said it 😥

bjdejong42

Thank you for making me aware. It is exactly that same issue. I hope a solution is provided in the near future.

cvp

@bjdejong42 there is a workaround by creating a shortcut (in the Apple Shortcuts app) with only one line "execute a Pythonista script"

bjdejong42

I have tried to implement it with webbrowser.open and have run into two issues:

(1) the function works, however, the result is the same. It is executed twice.
(2) Probably an unrelated problem, but executing a script on my pythonista implementation om my iPad (ios 13.1.2) results every now and then in a blank blue screen - the script iself is not executed at such a moment.

Any advice on how to address these issues is very much appreciated.

cvp

@bjdejong42 I got same kind of problem. I have had to reboot (power off/on) my iPad...

Acidham

Same here all my home screen apps are starting twice