[Hint] How did I fix my ODT file

Discuss the word processor

Re: [Hint] How did I fix my ODT file

Postby John_Ha » Fri Sep 01, 2017 12:04 pm

acknak wrote:Sorry, your document is empty—there's no content there to recover.

Your document is not corrupted - it is perfect. It is as though you created a new document and then saved the document without typing anything into it.

Or you Selected everything in the document, deleted everything, and then saved the empty document - this can be done with four keystrokes by Ctrl+A > Ctrl+X > Ctrl+Q > Enter.

If you have typed something into it and/or saved it before, look for the file you presumably saved under a different name.
AOO 4.1.4, Windows 7 Home 64 bit

See the Writer Manual, the Writer FAQ, the Writer Tutorials and the up to date Writer guide for information. Click the Help button on a pop-up window for extensive help on that function.
John_Ha
Volunteer
 
Posts: 4668
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: [Hint] How did I fix my ODT file

Postby jaqueline » Fri Sep 15, 2017 10:24 pm

Hi everyone !

thanks for the tips but they don't look to work for me. I begin to write a novel, and I don't know why I can not open my ODT file anymore.

I try the zip method, but there is nothing in the zip. Do you have any other method for me ?
The file is here :

http://www.mediafire.com/file/dohu6trct ... +Copie.odt

Thanks for your help,
openoffice 4 on Windows 7
jaqueline
 
Posts: 2
Joined: Fri Sep 15, 2017 10:11 pm

Re: [Hint] How did I fix my ODT file

Postby erbsenzahl » Sat Sep 16, 2017 9:10 am

Deine Datei ist korrupt und enthält nur ##### → 0-Werte. Sie kann nicht gerettet werden.

Your file is corrupt and contains only ##### → 0-values. It can't be restored.

Opened on Notepad++

Amelia.png
The NUL values of Notepad++ are shown in Writer as ###


@RoryOF
Good link to tutorial - :super:
Last edited by erbsenzahl on Sat Sep 16, 2017 9:20 am, edited 2 times in total.
OpenOffice 4.1.4 on LinuxMint 17-64 Mate, OpenOffice 4.1.4 on LinuxMint 18-64 Mate
(author is no native speaker)
erbsenzahl
 
Posts: 97
Joined: Tue Apr 18, 2017 8:23 am
Location: Germany

Re: [Hint] How did I fix my ODT file

Postby RoryOF » Sat Sep 16, 2017 9:11 am

I got nothing from your file. It is damaged.

This posting by John_Ha may be useful

John_Ha wrote:See [Tutorial] How to find and un-delete Writer temporary files for instructions on how to identify and un-delete the temporary files Writer wrote while you were editing the file, and then deleted. You should be able to recover your file as it was when you last opened or saved it, or as it was when it was last saved with AutoRecovery.

You may also find previous versions of the file in the folder it is located in, but which have since been deleted.


To prevent this happening again, be leisurely in powering off your computer. Always use the correct shut down procedure for your operating system and give a few extra seconds after the OK message before switching off the power. Doing this is not a 100% guarantee that your file won't be lost, but long-time computer users are usually careful in powering down and we get few or no damaged files.
Apache OpenOffice 4.1.4 on Xubuntu 16.04.03 (mostly 64 bit version) and infrequently on Win2K/XP
14 October 2016 was Pooh's 90th birthday
User avatar
RoryOF
Moderator
 
Posts: 25518
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: [Hint] How did I fix my ODT file

Postby jaqueline » Sat Sep 16, 2017 3:41 pm

Okay :(.

Thank you guys for your try.
openoffice 4 on Windows 7
jaqueline
 
Posts: 2
Joined: Fri Sep 15, 2017 10:11 pm

Re: [Hint] How did I fix my ODT file

Postby michielvanduin » Tue Oct 03, 2017 9:21 pm

My daughter (age 10) is writing a story for months now. And now the file is corrupt. The whole family is looking at me to solve this, I am supposed to be the expert, only I am not. I tried to unzip the file, but the file will not be unzipped. I have uploaded the file, if anyone could try to restore this file I would be very, very grateful.
de avonturen van grote olifantenfamilie.odt
(60.36 KiB) Downloaded 14 times

And yes, I know, regular backups should have been made. From now on, they will be.
Libreoffice 5.1.6.2 on Ubuntu 16.04.3LTS
michielvanduin
 
Posts: 3
Joined: Tue Oct 03, 2017 9:11 pm

Re: [Hint] How did I fix my ODT file

Postby RoryOF » Tue Oct 03, 2017 10:18 pm

I got nothing from your file and I doubt that more complex tools than I use will have greater success..

This posting by John_Ha may be useful
See [Tutorial] How to find and un-delete Writer temporary files for instructions on how to identify and un-delete the temporary files Writer wrote while you were editing the file, and then deleted. You should be able to recover your file as it was when you last opened or saved it, or as it was when it was last saved with AutoRecovery.

You may also find previous versions of the file in the folder it is located in, but which have since been deleted.

If the above doesn't work download Recuva from
https://www.piriform.com/recuva
and see if it can find any deleted temporary files containing some or all of the data.
Apache OpenOffice 4.1.4 on Xubuntu 16.04.03 (mostly 64 bit version) and infrequently on Win2K/XP
14 October 2016 was Pooh's 90th birthday
User avatar
RoryOF
Moderator
 
Posts: 25518
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: [Hint] How did I fix my ODT file

Postby michielvanduin » Wed Oct 04, 2017 8:35 am

Thanks, I am going to try those options when I get back home! (I must now teach some physics)
Libreoffice 5.1.6.2 on Ubuntu 16.04.3LTS
michielvanduin
 
Posts: 3
Joined: Tue Oct 03, 2017 9:11 pm

Re: [Hint] How did I fix my ODT file

Postby RoryOF » Wed Oct 04, 2017 9:24 am

It is important to remember that much use of a computer after loss of an OpenOffice (or any) file can overwrite such deleted files, as the computer thinks that such space is now free for use.

As a consolation to your daughter, remind her that the rewrite of a story is often much better than the initial writing. Also much quicker than the first writing, as a good writer will have the picture of it in his/her mind.
Apache OpenOffice 4.1.4 on Xubuntu 16.04.03 (mostly 64 bit version) and infrequently on Win2K/XP
14 October 2016 was Pooh's 90th birthday
User avatar
RoryOF
Moderator
 
Posts: 25518
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: [Hint] How did I fix my ODT file

Postby michielvanduin » Wed Oct 04, 2017 7:34 pm

Thanks a lot! I managed to find a temporary file with photorec, the document is complete again! As I was not very sure that I would find anything, I did offer my daughter the consolation that you suggested. It worked pretty well, but she was still very happy to have her story back. She was very impressed that someone from far-away Ireland cared and helped (and so am I!). Thanks again.
Libreoffice 5.1.6.2 on Ubuntu 16.04.3LTS
michielvanduin
 
Posts: 3
Joined: Tue Oct 03, 2017 9:11 pm

Re: [Hint] How did I fix my ODT file

Postby RoryOF » Wed Oct 04, 2017 7:58 pm

Glad to have helped. Encourage her to continue writing and make regular backups.
Apache OpenOffice 4.1.4 on Xubuntu 16.04.03 (mostly 64 bit version) and infrequently on Win2K/XP
14 October 2016 was Pooh's 90th birthday
User avatar
RoryOF
Moderator
 
Posts: 25518
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: [Hint] How did I fix my ODT file

Postby jojo123 » Sat Oct 14, 2017 2:57 pm

Hello,
this is a great thread, active since a decade.
I have a broken odt-file. My problem is that not even the decompression works. I tried it with unzip, 7zip, Ark (on Ubuntu) and the decompression always results in an empty content.xml. The size of the odt-file is ok and opening the file with Ark (a graphical interface) it informs me that the content.xml has a 200kb size in uncompressed and 30kb in compressed form, so it doesn't seem to be empty. After decompressing it is of 0 Byte size. Opening the file with any textprocessing software shows 1000 pages with meaningless character-strings but not uniform characters nor 'NULL'. So i have some hope.
I appreciate any hint. Thank you very much.
OpenOffice 4.1.3 on Ubuntu
jojo123
 
Posts: 3
Joined: Sat Oct 14, 2017 2:46 pm

Re: [Hint] How did I fix my ODT file

Postby RoryOF » Sat Oct 14, 2017 7:01 pm

If you upload your file to the forum or put it to a file sharing site, someone will look at it for you. I would not hold out much hope. Try running an undelete utility such as Recuva to see if you can find a deleted partial file. The sooner you do this the better.

How did your file corrupt? Was it a SIGSEGV error> These were reported for OO 4 and Ubuntu 16.04; they do not occur on Xubuntu 16.04.
Apache OpenOffice 4.1.4 on Xubuntu 16.04.03 (mostly 64 bit version) and infrequently on Win2K/XP
14 October 2016 was Pooh's 90th birthday
User avatar
RoryOF
Moderator
 
Posts: 25518
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: [Hint] How did I fix my ODT file

Postby acknak » Sat Oct 14, 2017 7:02 pm

It's difficult to suggest anything without having the file to examine. Once the archive structure is damaged, the odds are long against recovering the document. For more information on this kind of file damage, see [Tutorial] The Dreaded Pound Signs: file reduced to ####

For suggestions on recovering deleted temporary files, see:
[rel]viewtopic.php?p=371983[/rel]
AOO4/LO5 • Linux • Fedora 23
User avatar
acknak
Moderator
 
Posts: 22693
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: [Hint] How did I fix my ODT file

Postby jojo123 » Sat Oct 14, 2017 9:43 pm

hi RoryOF and acknak,
thank you for your comments. Unfortunaly the recuva strategy did not help.
I have sent you a message with the link to the file.
OpenOffice 4.1.3 on Ubuntu
jojo123
 
Posts: 3
Joined: Sat Oct 14, 2017 2:46 pm

Re: [Hint] How did I fix my ODT file

Postby RoryOF » Sat Oct 14, 2017 9:58 pm

I've tried using several methods and get nothing from it.
Apache OpenOffice 4.1.4 on Xubuntu 16.04.03 (mostly 64 bit version) and infrequently on Win2K/XP
14 October 2016 was Pooh's 90th birthday
User avatar
RoryOF
Moderator
 
Posts: 25518
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: [Hint] How did I fix my ODT file

Postby acknak » Sat Oct 14, 2017 10:35 pm

jojo123 wrote:... I have sent you a message with the link to the file.

Some of the graphics might be recoverable but the document content (content.xml ) is not present in the damaged archive. Sorry.
AOO4/LO5 • Linux • Fedora 23
User avatar
acknak
Moderator
 
Posts: 22693
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: [Hint] How did I fix my ODT file

Postby RoryOF » Sat Oct 14, 2017 10:45 pm

I didn't go beyond content.xml.
Apache OpenOffice 4.1.4 on Xubuntu 16.04.03 (mostly 64 bit version) and infrequently on Win2K/XP
14 October 2016 was Pooh's 90th birthday
User avatar
RoryOF
Moderator
 
Posts: 25518
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: [Hint] How did I fix my ODT file

Postby jojo123 » Sun Oct 15, 2017 9:31 am

Thank you both very much for trying! Unfortunately the graphics are not the important part.
OpenOffice 4.1.3 on Ubuntu
jojo123
 
Posts: 3
Joined: Sat Oct 14, 2017 2:46 pm

Re: [Hint] How did I fix my ODT file

Postby John_Ha » Mon Oct 16, 2017 1:22 pm

See [Tutorial] How to find and un-delete Writer temporary files for detailed instructions on how to recover your file as it was when you last opened or saved it, or as it was when it was last saved with AutoRecovery.

You may also find previous versions of the file in the folder it is located in, but which have since been deleted.

There are also detailed instructions for how to un-delete the temporary files Writer wrote while you were editing the file, and then deleted - this will recover your file as it was when you last opened or you last saved it.
AOO 4.1.4, Windows 7 Home 64 bit

See the Writer Manual, the Writer FAQ, the Writer Tutorials and the up to date Writer guide for information. Click the Help button on a pop-up window for extensive help on that function.
John_Ha
Volunteer
 
Posts: 4668
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Previous

Return to Writer

Who is online

Users browsing this forum: HHJT and 45 guests