"The file format cannot be parsed" issue, "Not a valid Krita file" (android)

Please make a copy of your corrupted file. After doing so, go to SwissTransfer - Send large files securely and free of charge and upload the file to that website, there you get a link to your uploaded file. Then come back to this topic and click on my avatar picture, this will show some information, and you will see a blue button on the right side which says “Message”, click on that button and paste the link from SwissTransfer - Send large files securely and free of charge for downloading your file into the text box and send this link to me.
Then I’ll try and see if I’m able to rescue your file.

Furthermore, so such things do not happen to you again in the future, you should get into the habit to create additional backups of your work while you are painting in Krita. You can do this via several ways, but the probably best practice does not exist, respectively you have to find out the way that fits your way to use Krita best.

The first thing you should do when you begin a new picture in Krita, is to save the new created empty canvas after you created it giving it a file name. You must do that before you make your first brush stroke, this allows you to better find it if Krita should crash, because the crash recovery files of a file without an own file name will be saved by Krita to a directory that is unknown to me (at least on Android) using a random name that can not be guessed and will make it hard to impossible to rediscover that file.
This can not happen to you, if you gave your file a name before a possible crash!

The next thing is, when you are painting, you should make backups while you are painting, let’s say 4 times per hour. To do so, open Krita’s menu “File” and here you can select
‘‘File’’ >> ‘‘Save Incremental Backup’’ F4
or alternatively
‘‘File’’ >> ‘‘Save Incremental Version’’ CTRL ALT S
depending on your way of using Krita. I’m using the first option, but that may not fit your way to use Krita.

You could also want to use the “simple” way of constantly save your work via
‘‘File’’ >> ‘‘Save as Ctrl+Shift+S’’
and manually give every new backup you create via this suboptimal way a new name of its own manually. As I said, you have to find out what works best for you and your securiy.

Because this generates many copies, you may want to delete older backups to free up disk space on your device. Maybe you hold all files for three or seven days and purge the older ones.
But here is another tip, after making such a backup copy and before you close your picture, load the backup as a second picture in Krita to check if that backup was saved correctly!

You may want to read the part about backups, crash recovery, the “Auto Save Function” that is only for crash recovery and does in fact not save automatically for you, but for Krita to restore that saved state in case of a crash, if you save a file successfully Krita will delete this “Auto Save File” because its purpose is fulfilled (you saved successfully (many users never read this and BELIEVED Krita would automatically save their work for them, and they cried bitterly in cases of hazard)), and other related things in Krita’s manual.
Here is the part about Saving, AutoSave and Backup Files in Krita’s manual.

After you’ve read through that part of the manual, you possibly want to set new values for the settings found via the menu
‘‘Settings’’ >> ‘‘Configure Krita’’ >> ‘‘General’’ in the tab ‘‘File Handling’’

For instance, I have enabled >>
Enable Autosaving
I have set my Autosave Interval to >>
“Autosave Interval: Every 7 min”
I have enabled >>
“Unnamed autosave files are hidden by default”
I have enabled >>
“Create @ Backup File on Saving”
and there I have set >>
“Backup File Location” to >> “Same Folder as Original File”
I have set the standard Krita setting >>
“Backup File Suffix: ~”
AND HERE I raised the preset value to 6 >>
“Number of Backup Files Kept: 6”
These are settings that work so far for me, if these work for you, you must find out by yourself.

Michelist

Add/Edit: Changed the Cloud space provider.

3 Likes