URGENT -- Autorecovery not working. Where is recovery information saved?

Forum for the PDF-XChange Editor - Free and Licensed Versions

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Sean - Tracker, Paul - Tracker Supp, Chris - Tracker Supp, Tracker Supp-Stefan, Ivan - Tracker Software

Post Reply
User avatar
David.P
User
Posts: 869
Joined: Thu Feb 28, 2008 8:16 pm
Location: Germany

URGENT -- Autorecovery not working. Where is recovery information saved?

Post by David.P » Mon May 27, 2019 10:05 am

Hi forum and Tracker Support Team,

after a crash of PDF-XChange Editor, unfortunately no Autorecovery of the crashed document is offered -- although Autorecovery is activated, with a 5 minutes saving interval.

Also, strangely, only one window crashed and not the entire Editor, i.e. another open Editor window continued to run perfectly. In addition, Editor does not offer me any recovery information at all for today, although I have already worked with various PDF documents for several hours today.

Can I manually look for any recovery information under a specific file path?

Thanks for any ideas
Regards
David
David.P
PDF-XChange Pro

User avatar
Dimitar - Tracker Supp
Site Admin
Posts: 504
Joined: Mon Jan 15, 2018 9:01 am

Re: URGENT -- Autorecovery not working. Where is recovery information saved?

Post by Dimitar - Tracker Supp » Mon May 27, 2019 2:19 pm

Hello David,


The usual path is %temp%\PDFXEdit


...but you can also access the recovery copies if you enable this option:

image.png


I hope this helps.

Regards.

User avatar
David.P
User
Posts: 869
Joined: Thu Feb 28, 2008 8:16 pm
Location: Germany

Re: URGENT -- Autorecovery not working. Where is recovery information saved?

Post by David.P » Fri May 31, 2019 6:34 pm

Many thanks Dimitar, for the helpful information.

Interestingly, there are numerous folders like for example "pdfx-{09571710-1DA5-41F0-84C83510570BBCA8}" under this path, each however only containing 256 kB of data (in the form of two small XML and TMP files).

The actual PDF document from the autorecovery session, which, as the case may be, could be much larger, therefore seems to be saved somewhere else?

Best regards
David
David.P
PDF-XChange Pro

User avatar
TrackerSupp-Daniel
Site Admin
Posts: 2713
Joined: Wed Jan 03, 2018 6:52 pm

Re: URGENT -- Autorecovery not working. Where is recovery information saved?

Post by TrackerSupp-Daniel » Fri May 31, 2019 7:55 pm

Hello David,

The original PDF is stored its usual location, the autorecovery backup simply holds onto the list of changes that have been made to the document (the same items that appear in the Undo/Redo flyout menu), this is backed up periodically, and if the editor closes unexpectedly, this information is not purged like usual. The next time it opens, the Editor sees the remnant files and says "oh hey, something happened, better ask if they still want these!".

If it was possible to completely save the document in cases like crashes (and other situations where auto-recover kicks in) than having this kind of auto-recovery function would not be necessary to begin with.

Kind regards,
Daniel McIntyre
Support Technician
Tracker Software Products (Canada) LTD

Sales: +1 (250) 324-1621
Fax: +1 (250) 324-1623

User avatar
David.P
User
Posts: 869
Joined: Thu Feb 28, 2008 8:16 pm
Location: Germany

Re: URGENT -- Autorecovery not working. Where is recovery information saved?

Post by David.P » Mon Nov 25, 2019 4:02 pm

Hi forum & Tracker Support Team,

Unfortunately, today PDF-XChange editor crashed once more, and took about 1 hour of work down with it.

Despite AutoRecovery being activated,
image.png
...the Recovery Panel does not offer any saved documents of today.

In the AutoRecovery path %temp%\PDFXEdit, I found the following files:
image.png

Please let me know what might have gone wrong here, and whether I can recover any of the changes made in the last hour from these temp files.

Best regards
David
David.P
PDF-XChange Pro

Lzcat - Tracker Supp
Site Admin
Posts: 714
Joined: Thu Jun 28, 2007 8:42 am

Re: URGENT -- Autorecovery not working. Where is recovery information saved?

Post by Lzcat - Tracker Supp » Mon Nov 25, 2019 4:48 pm

Hi David.
Did you have Editor crash or PC crash/reboot?
Also, from file list you provided there is one strange thing: in folder pdfx-{D3....} there is file PDFXRecoveryInfo.xml (it contain recovery metadata like path to original file and changed objects timestamp), but does not contain file PdfStr5.tmp (it contain updated data and is required to recover PDF file).
Recovery panel offer recovery only when both PDFXRecoveryInfo.xml and PdfStr5.tmp are present and original PDF file was not modified since PDFXRecoveryInfo.xml was created/updated. In your case one file is missing, thus no recovery is offered. Do you use some cleaner or any other app that may delete PdfStr5.tmp?
Victor
Tracker Software
Project manager

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.

User avatar
David.P
User
Posts: 869
Joined: Thu Feb 28, 2008 8:16 pm
Location: Germany

Re: URGENT -- Autorecovery not working. Where is recovery information saved?

Post by David.P » Mon Nov 25, 2019 5:10 pm

Hi Victor,

I had PDF-XChange Editor crash -- and I don't use any auto-cleaner software.

This is what a flat view of the %temp%\PDFXEdit folder looks like in the meantime (after continuing to work with PDF-XChange Editor):
image.png
Now, there is no files of today anymore.

Do you have an idea what I could do to could repair/reactivate AutoRecovery for the future?

Thank you
David
David.P
PDF-XChange Pro

Lzcat - Tracker Supp
Site Admin
Posts: 714
Joined: Thu Jun 28, 2007 8:42 am

Re: URGENT -- Autorecovery not working. Where is recovery information saved?

Post by Lzcat - Tracker Supp » Mon Nov 25, 2019 6:20 pm

Hi David.
David.P wrote:
Mon Nov 25, 2019 5:10 pm
I had PDF-XChange Editor crash -- and I don't use any auto-cleaner software.
But file was gone, and I don't know why. Looks like we need to test AutoRecovery on your PC. It is very easy to do this:
1. Enable it with minimal interval.
2. Open one local file and modify it (for example add an annotation on first page).
3. Leave Editor for more that AutoRecovery interval to be sure that recovery record will be created.
4. Kill Editor process (for example using Task Manager).
5. Optional - check Editor temp folder.
6. Run Editor again. Recovery panel should display one file to recover. It may not popup automatically because of your settings, so please open it manually if needed using View -> Panes -> Document Recovery.
If this does not work - we will need remote session to check what is going on.
David.P wrote:
Mon Nov 25, 2019 5:10 pm
This is what a flat view of the %temp%\PDFXEdit folder looks like in the meantime (after continuing to work with PDF-XChange Editor):
image.png

Now, there is no files of today anymore.
Normally Editor clean all temporary folder where no valid recovery information is found at start, so this is expected.
Looks like you have recovery data for several different documents (old ones). Do you really need them? Each additional sub-folder slowdown Editor startup time for a bit (and also there will be more records in recovery panel.

HTH.
Victor
Tracker Software
Project manager

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.

User avatar
David.P
User
Posts: 869
Joined: Thu Feb 28, 2008 8:16 pm
Location: Germany

Re: URGENT -- Autorecovery not working. Where is recovery information saved?

Post by David.P » Mon Nov 25, 2019 10:11 pm

Thank you Victor for the analysis.

I will make sure to check the issue this way, and come back with the results.

Cheers
David
David.P
PDF-XChange Pro

User avatar
TrackerSupp-Daniel
Site Admin
Posts: 2713
Joined: Wed Jan 03, 2018 6:52 pm

Re: URGENT -- Autorecovery not working. Where is recovery information saved?

Post by TrackerSupp-Daniel » Tue Nov 26, 2019 12:13 am

We look forward to those results, Thank you in advance! :)
Daniel McIntyre
Support Technician
Tracker Software Products (Canada) LTD

Sales: +1 (250) 324-1621
Fax: +1 (250) 324-1623

Post Reply