Bug 369498

Summary: Finished lining an art piece, and now it says 'not a valid krita file'
Product: [Applications] krita Reporter: doubleotrouble
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: halla
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: The .kra file in question

Description doubleotrouble 2016-09-28 18:55:36 UTC
I spent the day working on an art piece, and I made sure to save the kra before closing my laptop. However, it turned off when it bumped against something as I was carrying it. When I turned on my laptop again and tried to open the .kra file, it said it was not a valid krita file.
I used a zip repair tool, and now have the .icc for the layers, but the .png doesn't show up either, saying that the image is corrupted.
Help? This has happened one other time before, but it didn't bother me much because it was a five minute sketch.

Reproducible: Didn't try



Expected Results:  
Open the file
Comment 1 doubleotrouble 2016-09-28 19:06:16 UTC
Created attachment 101334 [details]
The .kra file in question

The .kra file in question
Comment 2 doubleotrouble 2016-09-28 22:49:35 UTC
Comment on attachment 101334 [details]
The .kra file in question

>https://drive.google.com/open?id=0B3qgt2_8aghxUTRYb24taFBlSkd
Comment 3 Halla Rempt 2016-09-29 08:22:57 UTC
Hi,

You're sort of in luck, only the last three layers were irrecoverably corrupted. Here's a kra with everything that I could recover. You haven't specified which version of Krita you are using, but Krita 3.0.1.1 has some extra protection against possible file corruption. I also always recomment to use the save-incremental feature.

https://drive.google.com/file/d/0B_SmHQPNeoiMMHRXMG5vUUdiSE0/view?usp=sharing
Comment 4 doubleotrouble 2016-09-29 18:27:45 UTC
(In reply to Boudewijn Rempt from comment #3)
> Hi,
> 
> You're sort of in luck, only the last three layers were irrecoverably
> corrupted. Here's a kra with everything that I could recover. You haven't
> specified which version of Krita you are using, but Krita 3.0.1.1 has some
> extra protection against possible file corruption. I also always recomment
> to use the save-incremental feature.
> 
> https://drive.google.com/file/d/0B_SmHQPNeoiMMHRXMG5vUUdiSE0/view?usp=sharing

Oh my goodness! Thank you so much oh my goodness. I'm so glad. Really, this made my day, I'm so relieved. You are amazing, seriously. And yeah, I'm definitely going to update Krita now so that this problem doesn't happen again. Anyway, once more: thank you!