Jump to content

Crash during save, can't open anymore the pdn file


Recommended Posts

Hello,

A crash of Paint.net happened when i was saving saving a file, and now i cant open it any more.
Please find attached the PdnCrash report

 

At this time, i was using an old version of Paint.net (3.5), so i updated it to version 4.0.5, but the problem is still the same...
However, now this message appear when i try to open :


System.IO.EndOfStreamException: Tentative de lecture au-delà de la fin du flux.
   à PaintDotNet.MemoryBlock.ReadUInt(Stream output) dans d:\src\pdn\paintdotnet\src\Core\MemoryBlock.cs:ligne 666
   à PaintDotNet.MemoryBlock.PaintDotNet.Serialization.IDeferredSerializable.FinishDeserialization(Stream input, DeferredFormatter formatter) dans d:\src\pdn\paintdotnet\src\Core\MemoryBlock.cs:ligne 814
   à PaintDotNet.Serialization.DeferredFormatter.FinishDeserialization(Stream input) dans d:\src\pdn\paintdotnet\src\Core\Serialization\DeferredFormatter.cs:ligne 120
   à PaintDotNet.Document.FromStream(Stream stream) dans d:\src\pdn\paintdotnet\src\Data\Document.cs:ligne 1438
   à PaintDotNet.Data.PdnFileType.OnLoad(Stream input) dans d:\src\pdn\paintdotnet\src\PaintDotNet\Data\PdnFileType.cs:ligne 30
   à PaintDotNet.FileType.Load(Stream input) dans d:\src\pdn\paintdotnet\src\Data\FileType.cs:ligne 476
   à PaintDotNet.Functional.Func.Eval[T1,TRet](Func`2 f, T1 arg1) dans d:\src\pdn\paintdotnet\src\Base\Functional\Func.cs:ligne 158


I would appreciate very much if somebody can help me to open this file again (i spent so long time to make it...)

Thanks and hope i'll get some news  soon. 
 

 

 

 

 

Link to comment
Share on other sites

The message tells that the part of the file which contains the serialization data of the layer structure is damaged (probably because not the complete file has been written). There is little chance to recover anything because the layer bitmaps are stored after the serializtion data. Sorry.

 

But if you upload the file anywhere then we may have a look.

midoras signature.gif

Link to comment
Share on other sites

Dear Midora,

 

Thanks for your answer.

 

 

You can find the Pdn file throw this link : 

https://onedrive.live.com/redir?resid=4FF91E1E58D8E92A!6363&authkey=!AKE41SDAJ1JY3uU&ithint=file%2cpdn

 

You can find the pdncrash file throw this link :

https://onedrive.live.com/redir?resid=4FF91E1E58D8E92A!6362&authkey=!AC6kCxH8-4G_IMk&ithint=file%2clog

 

I really hope we can recover the document, i have spent so many time on it.

 

Thanks for your help

Edited by LuDuo
Link to comment
Share on other sites

Locate the file and right-click on it.  Any option to "Restore previous version"?

Link to comment
Share on other sites

Dear EgoEramReputo,

it doent seems possible to restore previous version, because there isn't any Windows restoration point...

 

Dear Midora,

Thanks for the informations. So there are only 12 layers remaining....  :'(  

 

 

So i understand that the file is defenitely lost.... i feel sad, but no problem, it's life. I will do it again ;)  I only need 20 to 30 hours more !

 

In all the cases, thanks for your support and your help.

 

I would like to say that i really appreciate Paint.net and this problem will not change my general point of view on the software.

 

 

Thanks Midora and Ego for your quick answers.

 

 

Bst Rgds

  • Upvote 1
Link to comment
Share on other sites

This time save your work at regular intervals and this would save you a lot of time and frustration. It should be your number 1 rule when making anything in pdn.   ;)

 

                                                              http://forums.getpaint.net/index.php?/topic/21233-skullbonz-art-gallery

Link to comment
Share on other sites

Older versions of Paint.NET would corrupt the file if a crash happened while saving. Since 3.5.7 (February 2011) this is transactional, so that doesn't happen anymore.

 

Your file is corrupt. It can't be recovered. Please make sure to install updates! This is pretty easy if you have the auto-updater enabled in Settings; it's enabled by default but maybe you turned it off at some point.

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...