[Solved] .odt corrupt

Discuss the word processor

[Solved] .odt corrupt

Postby Gaudy » Tue Dec 02, 2014 12:55 pm

Hello!
I have a very big problem. An important .odt file is corrupted. I have tried various methods proposed in various topic, but nothing works :crazy: . I did manage to get as far as decompressing the .odt file into its constituent .xml files, but I was not even able to open content.xml (as people suggest doing in this thread). I have no idea about what to do, here is the file (called "Appunti presi a lezione") please help me :cry:
Attachments
Appunti presi a Lezione.odt
(58.87 KiB) Downloaded 66 times
Last edited by Hagar Delest on Sat Dec 13, 2014 12:15 am, edited 1 time in total.
Reason: tagged [Solved].
Openoffice 4 on Windows 8.1
Gaudy
 
Posts: 2
Joined: Tue Dec 02, 2014 12:45 pm

Re: .odt corrupt, pease HELP!!

Postby John_Ha » Mon Dec 08, 2014 4:49 pm

Welcome to the forum

I am sorry but your odt file is corrupted and even trying to fix it (odt files are actually zip files and I used a ZIP Repair Utility) did not recover any useful information.

There is a long discussion in this post [Hint] How did I fix my ODT file

No-one knows why this happens but shutting down a PC before AOO has finished writing the oft file is one possible way. You should always have backups of any important files. Tools > Options > OpenOffice > Load Save allows you to tell AOO to keep a backup copy (the previous saved version) and to AutoSave while you are editing to reduce the risk of losing data.

I did manage to get as far as decompressing the .odt file into its constituent .xml files

Have a look at the xml file with a hex editor (I use HxD) - can you see anything? How big is it? My ZIP utility said it was about 50kB compressed and 400kB uncompressed but I could not separate it and save it as an xml file.
Can you post the xml file for someone to have a look (128kB max here, or use a file share site).
LO 6.4.4.2, Windows 10 Home 64 bit

See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
John_Ha
Volunteer
 
Posts: 8062
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: .odt corrupt, pease HELP!!

Postby acknak » Mon Dec 08, 2014 6:12 pm

Here's all I could get from it.

There's some garbled content that I pasted at the end of the document. It looks pretty badly damaged but maybe you can get something out of it.
Attachments
App_recovered.odt
(59.4 KiB) Downloaded 162 times
AOO4/LO5 • Linux • Fedora 23
User avatar
acknak
Moderator
 
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: .odt corrupt, pease HELP!!

Postby Gaudy » Tue Dec 09, 2014 7:21 pm

thank you so much, acknak and John_Ha.
Openoffice 4 on Windows 8.1
Gaudy
 
Posts: 2
Joined: Tue Dec 02, 2014 12:45 pm

Re: .odt corrupt, pease HELP!!

Postby RoryOF » Tue Dec 09, 2014 7:30 pm

To give some advice on the subject of corrupt OpenOffice files: if you regularly get corrupt OpenOffice files, you need to examine why. Is your machine unstable (i.e., crashing)? Are you closing down the machine too quickly: for example, snapping the lid shut immediately after exiting OpenOffice? You may need to review your method of working etc to avoid bad habits like this.

If you get corrupt files, it is worth having installed a recovery/undelete utility, such as PhotoRec or Recuva. The sooner one of these is run after a corruption is discovered, the more chance of getting a temporary or previous file undeleted, because it may not yet have been overwritten by the file system. Also worth checking the backup folder and the temporary folder, but my instinct would be to get an undeleter going before anything else.
Apache OpenOffice 4.1.8 on Xubuntu 20.04.1 (mostly 64 bit version) and very infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 31992
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland


Return to Writer

Who is online

Users browsing this forum: No registered users and 21 guests