[Hint] How did I fix my ODT file

Discuss the word processor
User avatar
RoryOF
Moderator
Posts: 34570
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

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

Post by RoryOF »

I suspect all the style definitions were some malfunction; perhaps she started the file on a university computer using Word and then transferred to the laptop to use OpenOffice and something went wrong.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
Leveler
Posts: 6
Joined: Mon Dec 07, 2015 6:53 am

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

Post by Leveler »

Hey guys,

here is my file some hours after the crash, do you now get something out of it?
Attachments
postcol literature II.odt
(26.96 KiB) Downloaded 2759 times
OpenOffice 4.1.1 on Windows 8
John_Ha
Volunteer
Posts: 9583
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

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

Post by John_Ha »

Sorry - the file is full of zeros and there is nothing to recover. See my earlier posts - you may be able to recover some of the now deleted temporary files.

Can you help us by giving an accurate of exactly what you did, or what Writer did, to cause this to happen. If we knew, we could advise people not to do it. It has never happened to me in 15 years and I create about 50 new documents every month.
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.
Leveler
Posts: 6
Joined: Mon Dec 07, 2015 6:53 am

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

Post by Leveler »

Nothing special, I saved it. Then my computer crashed, then it was gone
OpenOffice 4.1.1 on Windows 8
Leveler
Posts: 6
Joined: Mon Dec 07, 2015 6:53 am

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

Post by Leveler »

Next try, do you guys get something useful out of the following file?
Attachments
$R67BQ9D.odt
It is from the exact time my file was 'saved', shortly before the PC crashed down
(26.96 KiB) Downloaded 2815 times
OpenOffice 4.1.1 on Windows 8
User avatar
acknak
Moderator
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

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

Post by acknak »

The file is not actually an OO document; it's just some (mostly) text data. Maybe just a "random" chunk of disk space.

If you want to look at it, just open it in OO; you should get the text data on the screen. I'm guessing the data has not come from your document.
AOO4/LO5 • Linux • Fedora 23
Leveler
Posts: 6
Joined: Mon Dec 07, 2015 6:53 am

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

Post by Leveler »

It can't be a coincidence that it was created at the exact same time and is exactly the same size big, right?
OpenOffice 4.1.1 on Windows 8
John_Ha
Volunteer
Posts: 9583
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

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

Post by John_Ha »

Leveler wrote:Nothing special, I saved it. Then my computer crashed, then it was gone
Q1 How long after saving it did it crash? Immediately? 20 minutes later? I am trying to understand whether the PC could have crashed while the save was still taking place.

Q2 Do you know why the PC crashed? Was it Writer which caused the crash? Or something else?

Q3 When you say crash, what exactly do you mean? Did it hang (ie stop responding)? Or did it give the Blue Screen of Death? Or what...?
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: 9583
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

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

Post by John_Ha »

Leveler wrote:It can't be a coincidence that it was created at the exact same time and is exactly the same size big, right?
I think it is probably a Firefox crash report.

Did Firefox crash ... which caused the PC to crash ... which caused Writer to crash before writing the .odt file ... which corrupted the .odt file?

Code: Select all

{"type":
"main",
"id":"284886fa-3879-4f34-809c-f5bd7a0363a7",
"creationDate":"2015-12-07T05:46:51.644Z",
"version":4,"application":
"architecture":
"x86",
"buildId":"20151029151421",
"name":"Firefox",
"version":"42.0",
"vendor":"Mozilla",
"platformVersion":"42.0",
"xpcomAbi":"x86-msvc",
"channel":"release"},
"payload":{"ver":4,
"simpleMeasurements":{"totalTime":2462,"uptime":41,"start":41,"main":261,"selectProfile":310,"afterProfileLocked":311,"startupCrashDetectionBegin":477,"startupCrashDetectionEnd"
...
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.
Leveler
Posts: 6
Joined: Mon Dec 07, 2015 6:53 am

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

Post by Leveler »

I think, you could describe it like that, yes!
OpenOffice 4.1.1 on Windows 8
alani
Posts: 2
Joined: Fri Dec 25, 2015 5:55 pm

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

Post by alani »

Hi guys. I am one more victim of the content.xml error and I don't know how to recover my .odt file.. The error message says that the error is at the position (2,127296) but besides my efforts I couldn't fix it. If anyone could hep me out, you would be like a Lord and Savior to me. Tell me what could I do to check on my file. Thanks a lot in advance!
LibreOffice 5.0, Windows 8.1 64 bit, x64
FJCC
Moderator
Posts: 9231
Joined: Sat Nov 08, 2008 8:08 pm
Location: Colorado, USA

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

Post by FJCC »

Can you upload the file here? There is a size limit of 128 KB. The Upload Attachment tab is just below the box where you type a response after clicking Post Reply. If the file is too big, please post it at a file sharing site like Media Fire.
OpenOffice 4.1 on Windows 10 and Linux Mint
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
alani
Posts: 2
Joined: Fri Dec 25, 2015 5:55 pm

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

Post by alani »

Thanks a lot for the response! Here is the file: http://www.mediafire.com/download/dti62 ... theory.odt (I hope it's the proper link)
 Edit: Now fixed [RoryOF, Moderator] 
LibreOffice 5.0, Windows 8.1 64 bit, x64
User avatar
RoryOF
Moderator
Posts: 34570
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

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

Post by RoryOF »

If you send me a PM with an email address, I'll send you a fixed copy.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
lauradddd
Posts: 2
Joined: Sat Jan 23, 2016 9:45 pm

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

Post by lauradddd »

Hey people,

I have the same pound problem, can anyone help me? It's a draft for an essay that I need to finish next week :S

Much obliged!

http://www.mediafire.com/download/gif65 ... +study.odt
Open Office 4.1.1 on Windows 10
John_Ha
Volunteer
Posts: 9583
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

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

Post by John_Ha »

Welcome to the forum

Sorry but there is nothing in your file. See Using Recuva to un-delete Writer temporary files for help recovering the temporary files.
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.
User avatar
Zizi64
Volunteer
Posts: 11345
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

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

Post by Zizi64 »

It's a draft for an essay that I need to finish next week
Do you have more than one copies of your important documents, isn't?

In the future always make some copies of your important documents for more security level onto different media (cloud, HDD, email, CD/DVD, Memory Sticks, etc...)
Not for the AOO/LO/MSO documents only: but for all of important documents on your PC, laptop, etc.
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
User avatar
RoryOF
Moderator
Posts: 34570
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

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

Post by RoryOF »

As the archive is damaged there is no point pursuing that path. To try and recover your file, you should as soon as possible look in the backup and temporary directories pointed to by /Tools /Options /OpenOffice : Paths. Rename any files in those to type .odt (or whatever file type you were using) and see if they contain your data. Download Recuva or PhotoRec (only one needed) and let it do an indepth recovery of deleted files on your computer. You may get a file containing some or all of your data (or not). Do this as soon as possible, with as little use of your computer as may be in the interim.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
Ourthog
Posts: 1
Joined: Mon Feb 15, 2016 7:15 pm

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

Post by Ourthog »

hi,
got following prob. hope some1 can help me. oo 4.0.1 win 7.
system shut down (while/after) saving (something is fishy with my system, may be the old win installation or the hardware). now OO is asking for ASCII Filter Options when opening the file. tried to make copies, open it as zip, tried to find older versions in win temp, tried to open it with other applications, yet nothing works (im not that experienced with that kinda stuff). i got literally no clue and some of the tips in this forum i just dont get.
the doc is part german part english. it should contain 50 sites. when opening, all i can see are empty pages or #'s only.

http://www.mediafire.com/download/cbqpl ... ground.odt
openoffice 4.0.1
windows 7
User avatar
RoryOF
Moderator
Posts: 34570
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

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

Post by RoryOF »

The archive is reporting as damaged. To try and recover your file, you should as soon as possible look in the backup and temporary directories pointed to by /Tools /Options /OpenOffice : Paths. Rename any files in those to type .odt (or whatever file type you were using) and see if they contain your data. Download Recuva or PhotoRec (only one needed) and let it do an indepth recovery of deleted files on your computer. You may get a file containing some or all of your data (or not). Do this as soon as possible, with as little use of your computer as may be in the interim.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
John_Ha
Volunteer
Posts: 9583
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: [Hint] How did I fix my ODT file - full of #####

Post by John_Ha »

Welcome to the forum.

Sorry - your file is full of zeros or null characters ...

If you are lucky, you might be able to un-delete some of the temporary files which Writer wrote while you were editing the .odt file, and then deleted when you closed Writer. Act quickly - they risk being overwritten the longer you leave it.

See [Tutorial] How to find and un-delete Writer temporary files for

a) 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.

b) how to find previous versions of the file in the folder it is located in, but which have since been deleted.

c) 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 and is probably your best hope.
 Edit: Edited to point to the Tutorial 
Attachments
File is full of zeros or NULL characters when viewed in a binary editor like HxD.<br />There is no user data in the file - all user data has been lost.
File is full of zeros or NULL characters when viewed in a binary editor like HxD.
There is no user data in the file - all user data has been lost.
Last edited by John_Ha on Sun Mar 25, 2018 5:04 pm, edited 3 times in total.
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.
lauradddd
Posts: 2
Joined: Sat Jan 23, 2016 9:45 pm

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

Post by lauradddd »

Thanks for all the replies, just had to make a new essay because the deadline was yesterday. However, I learned a lot from your feedback, and I turned those options on ;)
Open Office 4.1.1 on Windows 10
chisoft
Posts: 1
Joined: Thu Mar 10, 2016 8:38 am

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

Post by chisoft »

Good Day,

Please can you help recover the attached Swedish file. I have followed your steps without much success. I am grateful for your help!
Attachments
Argumenterande text 2 - Benjamin Chinwe.odt
(21.7 KiB) Downloaded 2791 times
OpenOffice 4 on Windows 7
User avatar
RoryOF
Moderator
Posts: 34570
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

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

Post by RoryOF »

I got nothing from your file but someone else may have more success, although I doubt it.

The chances are minute that you will recover anything from the existing file.

To try and recover your file, you should look in the backup and temporary directories pointed to by /Tools /Options /OpenOffice : Paths. Rename any files in those to type .odt (or whatever file type you were using) and see if they contain your data. Download Recuva or PhotoRec (only one needed) and let it do an indepth recovery of deleted files on your computer. You may get a file containing some or all of your data (or not). Pending running Recuva/PhotoRec make as little use of your computer as possible to avoid overwriting any deleted file.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
John_Ha
Volunteer
Posts: 9583
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

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

Post by John_Ha »

Sorry, but your file is full of zeros.

See Using Recuva to un-delete Writer temporary files for help recovering the temporary files which Writer wrote while you were editing the file, and then deleted when Writer was closed.
Attachments
Clipboard01.png
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.
User avatar
noface0711
Banned
Posts: 3
Joined: Fri Mar 11, 2016 12:15 pm

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

Post by noface0711 »

I have a corrupted .odt file that I have unsuccessfully tried to recover for a few weeks: I can't seem to get to the content.xml file for some reason. Can anybody help me? It is a chapter of my PhD dissertation, and I have an earlier version but I am quite stressed about what exactly might be in this one, that was supposed to be "final"! :-( Problem is, the file is 227KB, so i don't know how i could attach it so that some of you might have a look, if you have time. Thank you so much for your help!!
OpenOffice 3.1 on Windows Vista
John_Ha
Volunteer
Posts: 9583
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

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

Post by John_Ha »

I have sent you a Private Message giving you my ID - if you send it to me I will have a look at it.
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.
User avatar
RoryOF
Moderator
Posts: 34570
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

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

Post by RoryOF »

If anything is recoverable from the existing file I'm sure John_Ha will find it. However, you should look to see if there is a deleted version on your computer, just in case John can't get anything.

To try and recover your file, you should look in the backup and temporary directories pointed to by /Tools /Options /OpenOffice : Paths. Rename any files in those to type .odt (or whatever file type you were using) and see if they contain your data. Download Recuva or PhotoRec (only one needed) and let it do an indepth recovery of deleted files on your computer. You may get a file containing some or all of your data (or not). Pending running Recuva/PhotoRec make as little use of your computer as possible to avoid overwriting any deleted file.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
SzunyogVihar
Posts: 11
Joined: Thu Apr 07, 2016 7:23 pm

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

Post by SzunyogVihar »

Dear All,

I have tried many of the tricks in this forum, I am still unsuccessful.
Can anyone fix this odt file of mine? Looks like it has several errors in the xml.
http://www.mediafire.com/download/6107u ... t_0322.odt
The file contains many links, formatting, a table and a content. Maybe too many things added.
This is a thumbnail of what it looks like: http://www.mediafire.com/view/sctak0fcq ... mbnail.png

Thank you for any help or assistance.

Sz.V.
Libre Office 4.2
??ubuntu 14.04 LTS
User avatar
acknak
Moderator
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

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

Post by acknak »

Try this one.
 Edit: PS: 
Was this file created by OpenOffice? It doesn't look like the typical OO file structure, and the xml errors are unlike any that I've seen from OO.

There seems to be a problem with some of the hyperlinks and I'm not sure that the "fixed" xml is actually correct. You might try a search in the document for </text:a> That marks each place where there could be a problem.
 Edit: [Attached file deleted on request] 
AOO4/LO5 • Linux • Fedora 23
Post Reply