This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Saved .kra file not opening

Tags: None
(comma "," separated)
shaunaks
Registered Member
Posts
19
Karma
0

Saved .kra file not opening

Tue Nov 26, 2019 6:02 am
Hi,

I was saving a file when my laptop gave a bluescreen error and conked off (My laptop is kinda a ****). The saving was not complete.

Now if I try to open the same file I get error " The file format cannot be parsed... Reason- Not a valid krita file.
I invested a lot of time in that comic page, hence am not happy with what has happened.

I updated krita to new version 4.2.7.1 from previous 4.1.1 still no avail.

Can anybody suggest a way out.
User avatar
halla
KDE Developer
Posts
5092
Karma
20
OS

Re: Saved .kra file not opening

Tue Nov 26, 2019 8:33 am
Yes, broken hardware can break files. You could try a zip repair tool like zip repair pro (http://www.ziprepair.com/), and could check whether the backup file which krita makes by default is useful.
ahabgreybeard
Registered Member
Posts
1269
Karma
11
OS

Re: Saved .kra file not opening  Topic is solved

Tue Nov 26, 2019 8:49 am
For future reference, this is very useful to know: https://docs.krita.org/en/user_manual/a ... t=autosave

Depending on how badly and in what way your .kra file has been corrupted, if the zip repair tool doesn't help then it may be possible to recover the final merged image result. If you rename the .kra file as a .zip file and try to open it, you may be able to do that and see mergedimage.png at the top level. This would be better than nothing if you can get it.
shaunaks
Registered Member
Posts
19
Karma
0

Re: Saved .kra file not opening

Wed Jan 15, 2020 5:14 pm
My error is that I overwrtoe the file with another copy, so can't try out your solutions per say.

Thanks for all the help guys.
shaunaks
Registered Member
Posts
19
Karma
0

Re: Saved .kra file not opening

Sun Apr 05, 2020 10:03 am
@boudewijn
This is for an entirely new file.
I tired you zip tool but it is paid and very expensive.

For the mentioned file: I had properly saved it, no saving error. Krita had not crashed and no windows crash either. Now it just won't open.
I had enabled the autosave , but there is no autosave file to be found in the same folder. I wonder how. So stuck at the same problem.

Last edited by shaunaks on Sun Apr 05, 2020 10:22 am, edited 1 time in total.
User avatar
halla
KDE Developer
Posts
5092
Karma
20
OS

Re: Saved .kra file not opening

Sun Apr 05, 2020 10:15 am
shaunaks wrote:I tired your zip tool but it is paid and very expensive.


Is it? I downloaded ziprepair on Windows for free from http://www.ziprepair.com/download-ziprepair.php.
shaunaks
Registered Member
Posts
19
Karma
0

Re: Saved .kra file not opening

Sun Apr 05, 2020 10:24 am
I can download for free, using costs.

If not purchased it does not save the recovered file.
shaunaks
Registered Member
Posts
19
Karma
0

Re: Saved .kra file not opening

Sun Apr 05, 2020 10:27 am
any idea on why the backup files are not showing up. I have enabled the autosave, with 2 backup.
shaunaks
Registered Member
Posts
19
Karma
0

Re: Saved .kra file not opening

Sun Apr 05, 2020 11:17 am
This is what the analysis looks like. It does not save in the free version.

Starting repair.
File Header found at Offset 0
FileName:mimetype Ver:20 Bit:0 CMe:0 CRC:A703F0A1 CS:19 US:19
File Header found at Offset 57
FileName:maindoc.xml Ver:20 Bit:0 CMe:8 CRC:5784F59C CS:1795 US:7582
File Header found at Offset 1893
FileName:documentinfo.xml Ver:20 Bit:0 CMe:8 CRC:B98788CA CS:428 US:884
File Header found at Offset 2367
FileName:preview.png Ver:20 Bit:0 CMe:8 CRC:6870D6C5 CS:58262 US:58345
File Header found at Offset 60670
FileName:Template/layers/layer2 Ver:20 Bit:0 CMe:0 CRC:B63F108B CS:49946 US:49946
File Header found at Offset 110668
FileName:Template/layers/layer2.defaultpixel Ver:20 Bit:0 CMe:0 CRC:2144DF1C CS:4 US:4
File Header found at Offset 110737
FileName:Template/layers/layer2.icc Ver:20 Bit:0 CMe:8 CRC:0EE2C1E3 CS:8708 US:9080
File Header found at Offset 119501
FileName:Template/layers/layer4 Ver:20 Bit:0 CMe:0 CRC:8DBCA09C CS:100012 US:100012
File Header found at Offset 219565
FileName:Template/layers/layer4.defaultpixel Ver:20 Bit:0 CMe:0 CRC:2144DF1C CS:4 US:4
File Header found at Offset 219634
FileName:Template/layers/layer4.icc Ver:20 Bit:0 CMe:8 CRC:0EE2C1E3 CS:8708 US:9080
File Header found at Offset 228398
FileName:Template/layers/layer5 Ver:20 Bit:0 CMe:0 CRC:A8CFDCBE CS:2182 US:2182
File Header found at Offset 230632
FileName:Template/layers/layer5.defaultpixel Ver:20 Bit:0 CMe:0 CRC:2144DF1C CS:4 US:4
File Header found at Offset 230701
FileName:Template/layers/layer5.icc Ver:20 Bit:0 CMe:8 CRC:0EE2C1E3 CS:8708 US:9080
File Header found at Offset 239465
FileName:Template/layers/layer6 Ver:20 Bit:0 CMe:0 CRC:C7CA0E45 CS:263926 US:263926
File Header found at Offset 503443
FileName:Template/layers/layer6.defaultpixel Ver:20 Bit:0 CMe:0 CRC:2144DF1C CS:4 US:4
File Header found at Offset 503512
FileName:Template/layers/layer6.icc Ver:20 Bit:0 CMe:8 CRC:0EE2C1E3 CS:8708 US:9080
File Header found at Offset 512276
FileName:Template/layers/layer8 Ver:20 Bit:0 CMe:0 CRC:0C094F74 CS:31127 US:31127
File Header found at Offset 543455
FileName:Template/layers/layer8.defaultpixel Ver:20 Bit:0 CMe:0 CRC:2144DF1C CS:4 US:4
File Header found at Offset 543524
FileName:Template/layers/layer8.icc Ver:20 Bit:0 CMe:8 CRC:0EE2C1E3 CS:8708 US:9080
File Header found at Offset 552288
FileName:Template/layers/layer9 Ver:20 Bit:0 CMe:0 CRC:5BAA120E CS:27317 US:27317
File Header found at Offset 579657
FileName:Template/layers/layer9.defaultpixel Ver:20 Bit:0 CMe:0 CRC:2144DF1C CS:4 US:4
File Header found at Offset 579726
FileName:Template/layers/layer9.icc Ver:20 Bit:0 CMe:8 CRC:0EE2C1E3 CS:8708 US:9080
File Header found at Offset 588490
FileName:Template/layers/layer10 Ver:20 Bit:0 CMe:0 CRC:F2455EEA CS:94022 US:94022
File Header found at Offset 682565
FileName:Template/layers/layer10.defaultpixel Ver:20 Bit:0 CMe:0 CRC:2144DF1C CS:4 US:4
File Header found at Offset 682635
FileName:Template/layers/layer10.icc Ver:20 Bit:0 CMe:8 CRC:0EE2C1E3 CS:8708 US:9080
File Header found at Offset 691400
FileName:Template/layers/layer11 Ver:20 Bit:0 CMe:0 CRC:3BCAD006 CS:233012 US:233012
File Header found at Offset 924465
FileName:Template/layers/layer11.defaultpixel Ver:20 Bit:0 CMe:0 CRC:2144DF1C CS:4 US:4
File Header found at Offset 924535
FileName:Template/layers/layer11.icc Ver:20 Bit:0 CMe:8 CRC:0EE2C1E3 CS:8708 US:9080
File Header found at Offset 933300
FileName:Template/layers/mask12.pixelselection Ver:20 Bit:0 CMe:0 CRC:FCCE1556 CS:165135 US:165135
File Header found at Offset 1098502
FileName:Template/layers/mask12.pixelselection.defaultpixel Ver:20 Bit:0 CMe:0 CRC:FF000000 CS:1 US:1
File Header found at Offset 1098583
FileName:Template/layers/layer14 Ver:20 Bit:0 CMe:0 CRC:5303A760 CS:112377 US:112377
File Header found at Offset 1211013
FileName:Template/layers/layer14.defaultpixel Ver:20 Bit:0 CMe:0 CRC:2144DF1C CS:4 US:4
File Header found at Offset 1211083
FileName:Template/layers/layer14.icc Ver:20 Bit:0 CMe:8 CRC:0EE2C1E3 CS:8708 US:9080
File Header found at Offset 1219848
FileName:Template/layers/layer15 Ver:20 Bit:0 CMe:0 CRC:545540C7 CS:198736 US:198736
File Header found at Offset 1418637
FileName:Template/layers/layer15.defaultpixel Ver:20 Bit:0 CMe:0 CRC:2144DF1C CS:4 US:4
File Header found at Offset 1418707
FileName:Template/layers/layer15.icc Ver:20 Bit:0 CMe:8 CRC:0EE2C1E3 CS:8708 US:9080
File Header found at Offset 1427472
FileName:Template/layers/layer16 Ver:20 Bit:0 CMe:0 CRC:C8822ECD CS:61400 US:61400
File Header found at Offset 1488925
FileName:Template/layers/layer16.defaultpixel Ver:20 Bit:0 CMe:0 CRC:2144DF1C CS:4 US:4
File Header found at Offset 1488995
FileName:Template/layers/layer16.icc Ver:20 Bit:0 CMe:8 CRC:0EE2C1E3 CS:8708 US:9080
File Header found at Offset 1497760
FileName:Template/layers/layer17 Ver:20 Bit:0 CMe:0 CRC:70CF4740 CS:56 US:56
File Header found at Offset 1497869
FileName:Template/layers/layer17.defaultpixel Ver:20 Bit:0 CMe:0 CRC:2144DF1C CS:4 US:4
File Header found at Offset 1497939
FileName:Template/layers/layer17.icc Ver:20 Bit:0 CMe:8 CRC:0EE2C1E3 CS:8708 US:9080
File Header found at Offset 1506704
FileName:Template/layers/layer18 Ver:20 Bit:0 CMe:0 CRC:6C0CD814 CS:165953 US:165953
File Header found at Offset 1672710
FileName:Template/layers/layer18.defaultpixel Ver:20 Bit:0 CMe:0 CRC:2144DF1C CS:4 US:4
File Header found at Offset 1672780
FileName:Template/layers/layer18.icc Ver:20 Bit:0 CMe:8 CRC:0EE2C1E3 CS:8708 US:9080
File Header found at Offset 1681545
FileName:Template/layers/layer19 Ver:20 Bit:0 CMe:0 CRC:C46CC7CB CS:323701 US:323701
File Header found at Offset 2005299
FileName:Template/layers/layer19.defaultpixel Ver:20 Bit:0 CMe:0 CRC:2144DF1C CS:4 US:4
File Header found at Offset 2005369
FileName:Template/layers/layer19.icc Ver:20 Bit:0 CMe:8 CRC:0EE2C1E3 CS:8708 US:9080
File Header found at Offset 2014134
FileName:Template/layers/layer20 Ver:20 Bit:0 CMe:0 CRC:D3026D51 CS:1284705 US:1284705
File Header found at Offset 3298892
FileName:Template/layers/layer20.defaultpixel Ver:20 Bit:0 CMe:0 CRC:2144DF1C CS:4 US:4
File Header found at Offset 3298962
FileName:Template/layers/layer20.icc Ver:20 Bit:0 CMe:8 CRC:0EE2C1E3 CS:8708 US:9080
File Header found at Offset 3307727
FileName:Template/layers/layer21 Ver:20 Bit:0 CMe:0 CRC:C7466B5B CS:231785 US:231785
File Header found at Offset 3539565
FileName:Template/layers/layer21.defaultpixel Ver:20 Bit:0 CMe:0 CRC:2144DF1C CS:4 US:4
File Header found at Offset 3539635
FileName:Template/layers/layer21.icc Ver:20 Bit:0 CMe:8 CRC:0EE2C1E3 CS:8708 US:9080
File Header found at Offset 3548400
FileName:Template/annotations/icc Ver:20 Bit:0 CMe:8 CRC:0EE2C1E3 CS:8708 US:9080
File Header found at Offset 3557162
FileName:Template/annotations/proofing/icc Ver:20 Bit:0 CMe:8 CRC:F5EBB714 CS:422628 US:961644
File Header found at Offset 3979853
Compressed filesize seems to be incorrect.
Wrong sizes - fixed
FileName:mergedimage.png Ver:20 Bit:0 CMe:8 CRC:E4FC0E8D CS:1491248 US:8309285
Finished.
shaunaks
Registered Member
Posts
19
Karma
0

Re: Saved .kra file not opening

Sun Apr 05, 2020 12:50 pm
@boudewijn
I used https://extract.me/ and extracted the file and saved it as .zip file.

How to convert it to a .kra file??
User avatar
halla
KDE Developer
Posts
5092
Karma
20
OS

Re: Saved .kra file not opening

Sun Apr 05, 2020 1:16 pm
Just change the extension to .kra
shaunaks
Registered Member
Posts
19
Karma
0

Re: Saved .kra file not opening

Mon Apr 06, 2020 6:02 am
HAHAHAHAHAHA!!!!

It works... it is alive. Thanks @boudewijn.

Next time onwards ask people to repair via extract.me as it is free.


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot], q.ignora, watchstar