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

Didn't Save Correctly/File Corrupted #1062

Closed janekamata closed 4 years ago

janekamata commented 6 years ago

--Issue Summary--

Issue saving project, closed program and restarted and Pencil2D says that file is partially corrupted. Installged the latest version of Pencil2D and still won't open project.

--Actual Results--

Corrupted Files/Save Problem

--Expected Results--

Should save and open files properly

--Video or Image Reference--

--Steps to reproduce--

  1. Opened program and started working
  2. Autosave was running and started to save project
  3. Issue prompt popped up and said to come here
  4. Excited program and restarted computer
  5. Opened program again opened Pencil2D project
  6. Issue prompt popped up again
  7. Came to GitHub
  8. Saw same issue
  9. Installed latest version from nightly builds
  10. Opened new version
  11. Experienced same issue

--System Information--


Jose-Moreno commented 6 years ago

@allnewjmk8 Hi. First of all thank you for submitting a complete report. It's always important that people do this when encountering a bug.

If possible next time you can first search similar bug reports to see if the problem has already been reported.

Anyway this issue is already known, and it has apparently been fixed for good. Although corrupted files are not recoverable (not all of them at least) hopefully this won't happen again to users.

To avoid this issue you can try and use the latest development build for windows, this is the direct link: https://drive.google.com/open?id=1cs15EvBMF8fNhC7nTBWh9OXUY95kCMRt

Edit: Just to make it clearer, a new version will not open a corrupted file no matter what. As corrupted files usually lose the main structure file by which Pencil2D opens them, however using the nightly build can help you prevent the file from corrupting while saving and loading.

Also you can follow the guide I made on the user forum here: https://discuss.pencil2d.org/t/answered-making-jpegs-stransparent/2981/4

The guide itself mentions how to prevent issues with loading and saving files on version prior to the nightly builds, but also links to a guide on how you can try to partially recover the drawings from a corrupted file itself.

Please try out the nightly build along with the guides and let us know if it works out for you. Of course even though it has several fixes it's still prone to some hiccups, so for any serious work make sure to save many copies. Happy weekend.

Jose-Moreno commented 6 years ago

Hopefully we can also have a way to recover corrupted files that happen fortuitously (due to blackouts or interrupted save operations) as I've proposed in #1045 But sadly we require help from someone who's willing to dedicate themselves to undertake that implementation and so far no one has offered to contribute :slightly_frowning_face:

Jose-Moreno commented 4 years ago

Closing as duplicate of #987 and after potential fix was issued, OP never provided feedback to corroborate if this problem kept recurring or not for their specific situation and user environment.