Bug 413490 - Krita unable to open a krita file
Summary: Krita unable to open a krita file
Status: RESOLVED NOT A BUG
Alias: None
Product: krita
Classification: Applications
Component: General (other bugs)
Version First Reported In: 4.2.7
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-26 20:38 UTC by Bence Mihaly
Modified: 2019-10-27 18:30 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bence Mihaly 2019-10-26 20:38:25 UTC
SUMMARY
Saved my work as a .kra file yesterday, attempted to open the file today through krita (had no issues with the file previously when opening it) and a pop-up message stating "Could not open file:\\\C:\Users\XXXX\OneDrive\Desktop\XXXXX.kra. Reason: The file format cannot be parsed.. Reasons: Not a valid Krita File", I've attempted to shut down my pc and reboot it as that has worked previously when this issue has occurred in the past however the result did not change this time.


STEPS TO REPRODUCE
1. Open Krita
2. Open .kra file
3. File opens 

OBSERVED RESULT
Aforementioned pop-up message appears and the file does not open.


EXPECTED RESULT
File opens as per usual


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

ADDITIONAL INFORMATION
Attempting to open the autosave file yields the same results.
This is Google drive link to the file : 

https://drive.google.com/file/d/1LveHPvEwlBI0lR0rjqxh_7rOLW4Dr6LG/view?usp=sharing
Comment 1 Halla Rempt 2019-10-27 09:32:50 UTC
Shutting down your pc cannot fix a broken file. It can, however, fatally corrupt a file, as is the case with this file: all bytes are zero, so the file is not recoverable. Check https://docs.krita.org/en/user_manual/autosave.html for information about saving incremental versions and backups.

There is, I'm afraid, not much we can do for you :-(
Comment 2 Bence Mihaly 2019-10-27 15:15:16 UTC
(In reply to Boudewijn Rempt from comment #1)
> Shutting down your pc cannot fix a broken file. It can, however, fatally
> corrupt a file, as is the case with this file: all bytes are zero, so the
> file is not recoverable. Check
> https://docs.krita.org/en/user_manual/autosave.html for information about
> saving incremental versions and backups.
> 
> There is, I'm afraid, not much we can do for you :-(

Thank you anyway. I did save a "draft" version of the image that still works so I'll just work off of that. Just to be safe though, should this issue come up again at a later date what would you recommend I do so I don't lose my work?

One again, thank you for the help.
Comment 3 Halla Rempt 2019-10-27 18:30:25 UTC
* Use save incremental to make sure you have older versions of your work
* Do not power off your computer other than through the windows menu
* Do not run any security software other than windows defender.