[Solved] Format error discovered

Discuss the word processor

[Solved] Format error discovered

Postby tantaylor » Sun Apr 01, 2018 1:59 pm

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 141 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
tantaylor
 
Posts: 4
Joined: Sun Apr 01, 2018 1:50 pm

Re: Format error discovered

Postby RoryOF » Sun Apr 01, 2018 3:01 pm

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 145 times
Apache OpenOffice 4.1.7 on Xubuntu 18.04.3 (mostly 64 bit version) and very infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 29489
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Format error discovered

Postby tantaylor » Sun Apr 01, 2018 5:30 pm

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
tantaylor
 
Posts: 4
Joined: Sun Apr 01, 2018 1:50 pm

Re: Format error discovered

Postby John_Ha » Sun Apr 01, 2018 5:39 pm

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 133 times
AOO 4.1.6, Windows 7 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: 6776
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: Format error discovered

Postby tantaylor » Sun Apr 01, 2018 6:59 pm

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
tantaylor
 
Posts: 4
Joined: Sun Apr 01, 2018 1:50 pm

Re: Format error discovered

Postby John_Ha » Sun Apr 01, 2018 7:32 pm

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 148 times
AOO 4.1.6, Windows 7 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: 6776
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: [Solved] Format error discovered

Postby tantaylor » Sun Apr 01, 2018 11:13 pm

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
tantaylor
 
Posts: 4
Joined: Sun Apr 01, 2018 1:50 pm

Re: [Solved] Format error discovered

Postby John_Ha » Mon Apr 02, 2018 5:04 am

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.
AOO 4.1.6, Windows 7 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: 6776
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK


Return to Writer

Who is online

Users browsing this forum: No registered users and 36 guests