pencil2d / pencil

Pencil2D is an easy, intuitive tool to make 2D hand-drawn animations. Pencil2D is open source and cross-platform.
http://pencil2d.org
GNU General Public License v2.0
1.47k stars 273 forks source link

Couldn't save & re-open file after running out of disk space #1232

Open Lightningbender opened 5 years ago

Lightningbender commented 5 years ago

"Could not open file" is the message I keep getting when opening up a project. I was working earlier when I ran out of disk space and wasn't able to save, so I had to exit off without saving.

Now, after I freed up a bit of space, the file won't open and I'm getting this message, which is also saying that it might be corrupted, which makes me think it has something to do with the fact that it wasn't saved.

PS: I downloaded the newest version (stable), which is something else it suggests, and that didn't work.

Issue Summary

### Actual Results ### Expected Results ### Video or Image Reference ### Steps to reproduce ### System Information + Pencil2D Version: + Operating System: + RAM Size: + Graphics Tablet:
Jose-Moreno commented 5 years ago

@Lightningbender You can follow this guide on the forum to attempt to recover whatever is in the file.

https://discuss.pencil2d.org/t/pencil2d-project-file-corruption-prevention-partial-recovery-guide/3105

As you have noticed a pencil2d file will get corrupted if the save operation is interrupted, so far there's nothing we can do to alleviate that, so please try to have backup copies of your files to avoid losing work like this.

The developers will be working in an alternate way to backup pencil2d projects but this will only work as prevention for these kind of issues, it will never be possible to recover stuff that has not been saved to disk. If you read the guide there are ways to recover what was just saved but you must not close the program otherwise it's impossible.

Jose-Moreno commented 4 years ago

[2020] At first I tagged this as a duplicate of existing save/load issues, but reading this again I think it's worth looking into the cause itself, which was not having enough space on disk to save, and having this condition preventing saving the file and thus corrupting it (perhaps the file saving operation was interrupted by the operating system?)