Pythonista crashes after installing Plotly through StaSh
JonB last edited by
@isaackoz now that you have used pythonista3, try rebooting, then open extension first. Maybe try safe mode again.
also, did you ever buy pythonista2? You can reinstall that and get to the files.
Finally, you could back up the app, reinstall it, then reinstall the backed up files.
Rebooting and trying the extension didn’t work.
I don’t have Pythonista 2 so that’s a no go.
How would I go about backing the files up like you said?
cvp last edited by cvp
@isaackoz When you say Pythonista crashes immediately, it has perhaps enough time to process something.
If you can write a small script renaming site-package folder and put this script in iCloud Drive/Pythonista3, you could try to start it from safari via pythonista3://name?action=run&root=icloud.
Of course, you need to remove the app from the tasks list before and after.
Perhaps a silly idea
huh. This could actually possibly work. Do you know what the exact path to the site modules is? I think it was the third one Ploty was installed to.
@isaackoz to test the feasibility, you could begin with a little script that creates a little file in iCloud Drive, just to see if this script runs until its end
Ah true, good idea. I’ll try that tomorrow morning and let you know how it goes.
iCloud_path = ('/private/var/mobile/Library/Mobile Documents/iCloud~com~omz-software~Pythonista3/Documents/test.txt')
fil = open(iCloud_path,mode='wt')
I tried this and unfortunately it crashes before it runs. Oh well, guess it’s a reminder why you should back up your code haha. Thanks for helping me try though. Gonna just reinstall the app now.
JonB last edited by
did you try an itunes backup (does iExplorer work on recent devices? )
Unfortunately I saved it to my iPhone storage and not the iCloud storage haha. And I didn’t have any backups either so an iTunes backup wouldn’t do anything.
So basically I learned the hard way to save all your work in the iCloud folder because it stays if you delete the app and because... why not!