Bug 422517

Summary: Krita crashed & now all files will not open & give an error: "File could not be opened. Reasons: not a valid Krita file."
Product: [Applications] krita Reporter: Anna <deanna.green212>
Component: File formatsAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: halla
Priority: NOR    
Version First Reported In: 4.2.7.1   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: All   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: In the comment, I pasted a link to a Google Drive to share with you the 2 files both the .kra & the converted .kra~ which will not open. Can you please fix? I gave you the ability to edit in Drive

Description Anna 2020-06-06 05:09:50 UTC
SUMMARY
Krita crashed when working on "3 mermaids.kra" file. Then, after restarting PC, all related files say "Not a valid Krita file." The autosave file literally disappeared. When I try to open it from the history, it says the file does not exist. I do have a "3 mermaids.kra~" which also cannot be opened bc it says "not a valid Krita file." 

STEPS TO REPRODUCE
1. Try to open attachment "3 mermaids.kra"
2. Get error: "not a valid Krita file"
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: Windows 10 (x86_64)
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 4.2.7.1
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Anna 2020-06-06 05:15:20 UTC
Created attachment 129094 [details]
In the comment, I pasted a link to a Google Drive to share with you the 2 files both the .kra & the converted .kra~ which will not open. Can you please fix? I gave you the ability to edit in Drive

https://drive.google.com/drive/folders/17deqhnAgzBAjEPI-mbJJE5fSGF3yvazB?usp=sharing
Comment 2 Halla Rempt 2020-06-06 09:57:16 UTC
Please update to the latest version of Krita, 4.2.9. Your file is empty, it's all zeroes, so it cannot be fixed. Check whether you still have enough free disk space to save your files to.