mdck last edited by
I just recently got Pythonista and am still trying it out. I created a folder and created a small script inside that folder. Over the next few days I ran the script several times, revised it, ran it some more, etc.
Today when I went to work on the script, it was gone, along with the folder it was in. They were not in the trash folder, they were completely gone. It was just a small script, easily recreatd, so not a big deal, but it has made me wary of trying anything more major. However, I don't see the same bug reported by anyone else on this forum, so maybe it's a rare occurrence.
Some info that may or may not be relevant: After the last time I used my script, I was going through the library documentation and trying some of the examples. One of those examples crashed Pythonista. After some experimenting I figured out that Pythonista would crash if you called draw_string without the rectangle argument (I think I saw that bug reported in another thread on this forum). Possibly that has something to do with it. I wasn't able to reproduce the disappearing folder problem by deliberately crashing the app, though.
cvp last edited by
- if you changed the name of you folder and begin it by a ".", it'll be invisible
- if your script deletes a file or a folder, they don't go to a trash folder
JonB last edited by
what was the name of the folder? Is it possible you renamed it? Folders starting with single period will be hidden.
what happens if you click the plus, and open recent documents? Does your file show up, and if so, can you open it?
Finally, i would suggest installing stash , then do a ls -la to look for any hidden folders, or
find -n YOURFILENAME --maxdepth 100 .
where YOURFILENAME can be a file or folder name, and can include wildcards if you dont remember exactly (you must use wildcards if you dont remember the full name)
I am wondering if maybe you accidentally moved the folder to a different spot.
Finally... was your test script doing any file manipulation, deletion, etc? Maybe you accidentally ran a self-deleting script?
mdck last edited by
@JonB I tried that stash command, and found my folder under the Examples folder. I probably created it there in the first place like a n00b :). So problem solved - thanks JonB and cvp for taking the time to help!