Issue 106865

Summary: cannot recover a file. Need the to recover the text from the file.
Product: General Reporter: ajithtitus <ajith.titus>
Component: codeAssignee: mikhail.voytenko
Status: CLOSED DUPLICATE QA Contact:
Severity: Trivial    
Priority: P3 CC: issues, orcmid
Version: OOO310m19   
Target Milestone: ---   
Hardware: All   
OS: Windows XP   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
This the file that is corrupt from the last save, it was saved numerous times before. I NEED THE TEXT recovred.
none
half-repaired document
none
The recovered file with manifest.xml, the objects "Object 1", "Object 11" and "Object 14" should be repairable, but that would need more time ( does not work aut of the box ). Please let me know if they are important enough to invest additional time. none

Description ajithtitus 2009-11-12 20:02:13 UTC
I tried to save a writer document that had a lot of text and pictures(long 
laboratory report).

I need to recover the text of the document. OpenOffice had a problem trying to 
save the file. It was saved numerous times before the failue, and the document 
became corrupt at the last save I made. I tried the recovery method and it 
still cannot fix the problem.
Comment 1 ajithtitus 2009-11-12 20:03:30 UTC
Created attachment 66080 [details]
This the file that is corrupt from the last save, it was saved numerous times before. I NEED THE TEXT recovred.
Comment 2 eric.savary 2009-11-13 12:32:49 UTC
@ajithtitus: we'd like to know how you could create such a defect document.
Did you save it in OOo or used an external tool?
What did you do last before saving?

@MAV:
- Confirmed: the attached file cannot be opened/repaired in OOo.
- I try to repair it using:
zip -f
-> failed
zip -ff
-> succeeded in recreating a clean zip file with a document structure but the
document still won't load due to a missing manifest.xml

Can you please recreate a manifest.xml, repair the attached "repaired.odt" document?

Can we fix something in that matter?
Comment 3 eric.savary 2009-11-13 12:34:32 UTC
Created attachment 66097 [details]
half-repaired document
Comment 4 mikhail.voytenko 2009-11-13 14:42:41 UTC
The problem looks to be that the ending of the file looks to be missing. 

If there is a scenario that allows to reproduce such a corruption in OOo please
provide it here. Please also try to look in the <user home>/.openoffice/3/backup
folder for a copy of the file if the storing process has crashed.

I will attach the version that I have got after the quick recovery.
Comment 5 mikhail.voytenko 2009-11-13 14:48:21 UTC
Created attachment 66104 [details]
The recovered file with manifest.xml, the objects "Object 1", "Object 11" and "Object 14" should be repairable, but that would need more time ( does not work aut of the box ). Please let me know if they are important enough to invest additional time.
Comment 6 orcmid 2016-03-12 20:35:44 UTC
This resolution is for the purpose of consolidation of situations where a document is lost/corrupted after save/shutdown.

Note that after some forensic work, in this case, some of the document was recovered.

*** This issue has been marked as a duplicate of issue 126869 ***