Join GitHub today
Blank file when saving with full hard drive #2923
I just opened a sketch I've been working on in Processing 2.1.1 in Processing 3, only to find that the main file was totally blank. Looking with a file manager, the file is only 1 byte big. It's still blank when I open it in Processing 2.1.1, so maybe the Processing 3 thing is a red herring.
The other files of this sketch seem to be fine. I'm really pretty certain I didn't blank this file myself before I closed it and re-opened it.
edit: My hard drive is full, and I hadn't realised, so this is at least partly my fault - but shouldn't Processing say 'failed to save!!' if it fails to save, or something like that?
edit 2: I cleared a load of space on my hard drive, but maybe I didn't save it properly afterwards - it's truncated the file this time, rather than completely failing to save. This time I selected all and copied it to my clipboard before saving, in case something like this happened again, but apparently Processing also quietly empties the clipboard when you quit, or something?