new file/project couldn't be created
After playing around with Vision and coreML I rich "new file/project couldn't be created" situation.
I even can't edit/save existing scripts. If script need to read/write from Pythonista folder, Pythonista crashes.
I'm using iPhone8 not jail broken and lates Pythonista from appstore.
Do you have solution?
@pavlinb did you try by removing app from memory?
I restarted the phone several times. I hope it has gone from memory.
In the past, did you jailbreak?
No, I didn't.
@pavlinb Remove it from active apps and then, try, in Safari pythonista3://
Tried already w/o success.
Now I'm trying with remove app and data and reinstalling.
After delete and reinstall Pythonista works now.
Sorry for your time.
@pavlinb no sorry, good to know, could happen to (almost 😀) everybody
Just for information - I played alot today with Vision coreML and Pythonista crashes again. ‘Documents and data’ in storage has increased to 5GB.
@pavlinb Oups. I suppose you will say on Settings/Général/iDevice storage/Pythonista
I also play, for you, with mlmodels and my storage was up to 5,44GB (normal is 3).
Remove app from memory, not reinstall, wait 10min and storage 4,6G
10min later: 3,7 GB
Does waiting solve the crashing?
May be we have a way to delete junk programmatically from Pythonista?
@pavlinb no idea at all
Something I had never remarked before, in Settings/Général/IPad Storage,
Pythonista: 4,4 GB
If I tap, documents and data: 3,7GB
At return, it displays 1,43GB during a second
But I really have 2,13GB of personal files.
And 2,13 + 1,43 = 3,7 (almost)
Perhaps are these 1,43GB junk, or perhaps due to beta version?
Could people using or not the beta version check if the setting also shows a different storage during one second when returning from documents and data?
I uninstalled beta, but the problem remains.
I'm using iPhone8.
Actually my problem is that Pythonista crashes, not the amount of data itself.
I just thought they are connected.
@pavlinb crash with any script?
Only with those, which require reading/writing to file system.
At the same time I can't edit and save existing projects.
And can't create new projects.
@pavlinb and you have still free space?
Yes, I have about 30GB free in iPhone storage.
@pavlinb and between reinstall and crash, what did you do?
You mean what I do with Pythonista?
I played with coreML OCR from your example.
Before I have used Pythonista every day for small things and I haven't got any isues.
Probably Vision and coreML frameworks generates a lot of junk
, who knows...
I'll try to find a way to clean data programmatically.