[Solved] Format error discovered

Discuss the word processor
Post Reply
tantaylor
Posts: 4
Joined: Sun Apr 01, 2018 1:50 pm

[Solved] Format error discovered

Post by tantaylor »

Hello - OpenOffice novice here, I've spent a sleepless night trying to retrieve a file with error message 'format error discovered in the file in sub-document content.xml at 2,4310 (row,col). It was a doc with text and a table and I was using the apple z control at the time to go back a few steps when everything froze, disappeared and then the file locked. Other .odt files still open (the last save of this is three days old). I had AutoSave on but when I got a bit of Apple support we found nothing in the backup file and one temporary folder, around the time of the lockdown, that can't be opened either. I know my tech limits and I've surpassed them on every front. I'm posting my doc here and the temporary doc in the hope that someone can give me some support around whether to carry on eating easter eggs in desperation/start again/give up home. Many thanks, Tan ps. Ah, the extension tmp is not allowed. Turns out. Any help much appreciated.
Attachments
ARTTRANNIE WITH NOTES Ruth 29 03.odt
(63.72 KiB) Downloaded 437 times
Last edited by Hagar Delest on Sun Apr 01, 2018 8:22 pm, edited 1 time in total.
Reason: tagged solved.
OpenOffice 4.1.5/MacOS 10.13.3
User avatar
RoryOF
Moderator
Posts: 34586
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Format error discovered

Post by RoryOF »

Try the attached. There were several corrupted comment links all together; I deleted all but one of these. Please check that content and formatting are as you require.
Attachments
ARTTRANNIE WITH NOTES Ruth 29 03_repaired.odt
(63.58 KiB) Downloaded 440 times
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
tantaylor
Posts: 4
Joined: Sun Apr 01, 2018 1:50 pm

Re: Format error discovered

Post by tantaylor »

Hello Rory, Saint Rory of the retrieved files. Thank you, thank you, thank you! I can read this. It's not recovered the whole lot but it retained 80% of what I've written and stopped me swearing off technology forever and getting out a nail and a piece of slate. You sweet, smart person. Thank you so much you have saved me a world of pain. All best, Tanis
OpenOffice 4.1.5/MacOS 10.13.3
John_Ha
Volunteer
Posts: 9583
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: Format error discovered

Post by John_Ha »

This might get the other 20% but you have to work to dig it out.

(Rory - I stripped all XML tags with a reg ex search of <[^>]+>).
Attachments
text only.odt
(31.97 KiB) Downloaded 384 times
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.
tantaylor
Posts: 4
Joined: Sun Apr 01, 2018 1:50 pm

Re: Format error discovered

Post by tantaylor »

You guys are magicians. Thank you for kindness and your expertise. My faith in technology and humanity are restored in one.
OpenOffice 4.1.5/MacOS 10.13.3
John_Ha
Volunteer
Posts: 9583
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: Format error discovered

Post by John_Ha »

I have identified the exact error and fixed the file.

It was the same problem as Re: [Solved] Read-Error. In this case, the first style definition in the file is for Table1 and it has been corrupted with multiple office:name definitions. I merely deleted all the office:name definitions underlined in blue below and got back to the original Table1 definition.

The file then opens.
Clipboard01.png
ARTTRANNIE WITH NOTES Ruth 29 03-FIXED.odt
(64.38 KiB) Downloaded 425 times
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.
tantaylor
Posts: 4
Joined: Sun Apr 01, 2018 1:50 pm

Re: [Solved] Format error discovered

Post by tantaylor »

Thank you John, I'm going to see if I can find the .tmp file (presuming this was a later doc) and see if I can apply your rigorous repair there. Thanks so much for the support of the community. Best, Tan
OpenOffice 4.1.5/MacOS 10.13.3
John_Ha
Volunteer
Posts: 9583
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: [Solved] Format error discovered

Post by John_Ha »

tantaylor wrote:I'm going to see if I can find the .tmp file
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.
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.
Post Reply