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.
Pythonista crash preventing access to app
-
I was decoding some base64 strings in Pythonista while in debug, when my app suddenly crashed. Now whenever I attempt to reopen the app, it tries to load this tab of code, and will crash before it recognizes any of my tapping to close said tab.
All access to my code written within Pythonista is now cut off and neither swiping the app up in the multitasking view nor shutting down and turning on my iPhone has yielded any changes.
My specs:iPhone 7
iOS 13.1.2 -
Thanks to @tomkirn for providing the solution at this earlier question: https://forum.omz-software.com/topic/5835/crash-on-open
If you wanna access the file contents again, in the same directory do:
with open("{filename}.py","r") as r: oldcontent = r.readlines() with open("{otherfilename}.txt","w+") as f: f.writelines(oldcontent)
To Ensure your editor doesn’t load it as a py file and crash, and also so that you may pick out the part of the file you believe is causing the crash to occur!