I'm stuck in a loop that crashes the app on startup every time. I suspect the solution is simple, but I don't know what it is. Please help.
raoulalien last edited by raoulalien
I wrote a script that generated a text file consisting of 3 million random 10-letter strings, each on its own row. The file is about 30 mb. After the script finished, I was curious to look at the text file, so tapped it in browser to the left. But I guess such a long file was too much for Pythonista, and after 30-40 seconds of loading, the app crashed. whatsapp web
But because the app crashed in the middle of loading that text file, now whenever I reopen the app, it starts where it left off, i.e., attempting to load that text file, so it crashes within 30 seconds every time. Unfortunately, I guess because all the app's resources are devoted to loading that massive file in memory, it doesn't respond when I try to open the browser and open any another file. 192.168.0.1
As a result, ever since initially trying to open that text file, Pythonista has been stuck in a futile loop of trying to load it and then crashing, and I don't know how to close that file and stop the cycle. What can I do???
Surely there's a way around this without deleting and reinstalling the app. If not, how can I access my scripts etc. to back them up before deleting the app?
pulbrich last edited by
Try in system settings/Pythonista- launch in safe mode
jgoalby last edited by
Can you open the Files app and find the large file? Then delete that file?
mikael last edited by
@raoulalien, try opening
pythonista://in Safari. Should open a clean Pythonista.
andreaponza last edited by
No way, I’ll try all solutions. Crash on startup
ccc last edited by
In Safari, try opening the URL pythonista3://