[Solved] format error discovered in sub-document

Discuss setup / installation issues - Add a spell checker, Language pack?

[Solved] format error discovered in sub-document

Postby amapola » Sat Jun 17, 2017 9:23 am

Good morning everyone.

I've come up against this error "[size=150]format error discovered in the file in sub-document content.xmln[/size]" this very early morning and I've been trying to solve it by following the old threads posted here but it's too much for me.... I'm a complete dummy :knock: . I spent the whole day yesterday working on this document and when i tried to open it this morning I could read that lovely message. Of course, like everybody else who asks for help here, I'm desperate.... Could any smat mind give me a little hand if it's not that difficult?? I've uploaded the file ....
Thanks a lot in advance!
Attachments
bad.odt.odt
(44.42 KiB) Downloaded 60 times
Last edited by RoryOF on Sat Jun 17, 2017 12:48 pm, edited 1 time in total.
Reason: Added [Solved] and green tick [RoryOF, Moderator]
Apache Open Office 4.1.3 Windows 10 Home
amapola
 
Posts: 3
Joined: Sat Jun 17, 2017 9:15 am

Re: format error discovered in the file in sub-document NEW

Postby RoryOF » Sat Jun 17, 2017 9:32 am

try this: There were too many annotations on one location.
Attachments
bad.repaired.odt
(44.31 KiB) Downloaded 118 times
Apache OpenOffice 4.1.5 on Xubuntu 18.04 (mostly 64 bit version) and infrequently on Win2K/XP
14 October 2016 was Pooh's 90th birthday
User avatar
RoryOF
Moderator
 
Posts: 26709
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: format error discovered in the file in sub-document NEW

Postby amapola » Sat Jun 17, 2017 12:42 pm

RoryOF, thank you very very much. Thank you for your quick response and solution. This is definetely for experts....I hope I can give it back to you anyhow =).

Have a great weekend! :fist:
Apache Open Office 4.1.3 Windows 10 Home
amapola
 
Posts: 3
Joined: Sat Jun 17, 2017 9:15 am

Re: [Solved] format error discovered in sub-document

Postby John_Ha » Sat Jun 17, 2017 3:12 pm

I am trying to understand how these problems arise as we are now seeing more of them. Can you please give us some idea of the history of the file. In particular:

1 Did it begin life as a .odt file? Or did you bring in some other file like a .doc or .docx file and save it as a .odt file?

2 Were any of the comments done with MS Word? Or with LibreOffice? Or was everything done with AOO?

Thanks

NB The problem is repeated definitions for office:name in content.xml. There should be only one definition and the fix is to delete the extra ones.
Attachments
Clipboard01.png
AOO 4.1.5, Windows 7 Home 64 bit

See the Writer Manual, the Writer FAQ, the Writer Tutorials and the Writer guide.

Remember: Always save your Writer files as .odt files.
John_Ha
Volunteer
 
Posts: 5430
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: [Solved] format error discovered in sub-document

Postby RoryOF » Sat Jun 17, 2017 3:18 pm

Some of the recent occurrences I have seen are in heavily edited documents using Change tracking and Comments from multiple Sources - whether co-authors or tutors I cannot say.
Apache OpenOffice 4.1.5 on Xubuntu 18.04 (mostly 64 bit version) and infrequently on Win2K/XP
14 October 2016 was Pooh's 90th birthday
User avatar
RoryOF
Moderator
 
Posts: 26709
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: [Solved] format error discovered in sub-document

Postby amapola » Sat Jun 17, 2017 6:25 pm

John_Ha and RoryOF, I'll tell you about the file.

It was originally a .docx document that I later opened and saved as .odt
It contains a lot of comments (as it is a scientific article that I am helping to translate).
It contains comments from 2 users, the author (through MS Word) and me (through AOO). Apart from the loads of comments, I have also recorded all the changes that the text has undergone since the beginning.
It is clearly a terrible mix !!

Thank you very much, again.
Apache Open Office 4.1.3 Windows 10 Home
amapola
 
Posts: 3
Joined: Sat Jun 17, 2017 9:15 am

Re: [Solved] format error discovered in sub-document

Postby John_Ha » Sat Jun 17, 2017 7:15 pm

Thank you.

It does seem to be a common thread that it happens when adding changes/comments with both MS Word and with AOO. I am not sure which program is causing the problem though I suspect that, if you send the other person a .odt file, and (s)he edits the .odt file with MS Word, and saves it as a .odt file, then it is actually MS Word causing the corruption in the .odt file.
AOO 4.1.5, Windows 7 Home 64 bit

See the Writer Manual, the Writer FAQ, the Writer Tutorials and the Writer guide.

Remember: Always save your Writer files as .odt files.
John_Ha
Volunteer
 
Posts: 5430
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: [Solved] format error discovered in sub-document

Postby ellenemmerentze » Tue Feb 13, 2018 11:32 pm

I'm having the same issue.
Last edited by ellenemmerentze on Wed Feb 14, 2018 8:25 am, edited 1 time in total.
apache openoffice 4.1.4 on Mac os highsierra 10.13.3
ellenemmerentze
 
Posts: 1
Joined: Tue Feb 13, 2018 9:34 pm

Re: [Solved] format error discovered in sub-document

Postby RoryOF » Tue Feb 13, 2018 11:49 pm

I have sent you a PM with an email address to which you may send it.

I am about to go offline, so won't be able to look at it for about 10 hours.

 Edit: PM not read after 8 days. The damaged file is obviously not important. 
Apache OpenOffice 4.1.5 on Xubuntu 18.04 (mostly 64 bit version) and infrequently on Win2K/XP
14 October 2016 was Pooh's 90th birthday
User avatar
RoryOF
Moderator
 
Posts: 26709
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: [Solved] format error discovered in sub-document

Postby RoryOF » Tue Feb 13, 2018 11:53 pm

John_Ha wrote:Thank you.

It does seem to be a common thread that it happens when adding changes/comments with both MS Word and with AOO. I am not sure which program is causing the problem though I suspect that, if you send the other person a .odt file, and (s)he edits the .odt file with MS Word, and saves it as a .odt file, then it is actually MS Word causing the corruption in the .odt file.


It seems to me that the problem often occurs with multiple comments clustered at a location; frequently such damaged files are heavily commented, and may also have Change Tracking enabled.
Apache OpenOffice 4.1.5 on Xubuntu 18.04 (mostly 64 bit version) and infrequently on Win2K/XP
14 October 2016 was Pooh's 90th birthday
User avatar
RoryOF
Moderator
 
Posts: 26709
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: [Solved] format error discovered in sub-document

Postby sw1264 » Wed Feb 21, 2018 10:26 pm

Hi I am getting the same error in attached file saying:

"Format error discovered in the file in sub-document content.xml at 2,31585(row,col).error"

If anyone can help a brother out, I will be most grateful! I'm currently in a state of utterly bricking one due to a looming uni deadline.
The error seemed to happen after copying and pasting an image into the file, so sadly at 300kb the file is too large to attach, please help.
Open office 5.0.6.2 on Gnome 3.22.2
sw1264
 
Posts: 1
Joined: Wed Feb 21, 2018 8:32 pm

Re: [Solved] format error discovered in sub-document

Postby John_Ha » Thu Feb 22, 2018 12:41 am

Welcome to the forum.

I have sent you a private message with my email I'D. If you send me the file I will look at it.
AOO 4.1.5, Windows 7 Home 64 bit

See the Writer Manual, the Writer FAQ, the Writer Tutorials and the Writer guide.

Remember: Always save your Writer files as .odt files.
John_Ha
Volunteer
 
Posts: 5430
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: [Solved] format error discovered in sub-document

Postby robleyd » Thu Feb 22, 2018 4:46 am

Alternatively, upload the file to a file sharing service such as Mediafire and put the link here so someone can look at it for you.
Cheers
David
Apache OpenOffice 4.1.4 - Windows 7
Apache OpenOffice 4.1.5 - Slackware 14.2 - 64 bit
User avatar
robleyd
Moderator
 
Posts: 1670
Joined: Mon Aug 19, 2013 3:47 am
Location: Murbko, Australia

Re: [Solved] format error discovered in sub-document

Postby John_Ha » Thu Feb 22, 2018 1:22 pm

sw1264 sent me his file. This was my response.
I downloaded the file from your googledrive link and I am sorry but the file is completely corrupted and nothing can be recovered from it.

When I unzip the .odt file (you can do so by renaming it to Literature review write up.ZIP and double-clicking it) it appears to be OK in that It shows me the constituent files within it. But when I attempt to extract content.xml, which is the actual document, I get an error. When I look at the .odt file with a Hex editor I cannot isolate content.xml.

I think the zip file is corrupted beyond repair but if you google for zip repair tools you could try to repair it but I think your chance of success is zero.

You will do much better if you 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.5, Windows 7 Home 64 bit

See the Writer Manual, the Writer FAQ, the Writer Tutorials and the Writer guide.

Remember: Always save your Writer files as .odt files.
John_Ha
Volunteer
 
Posts: 5430
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK


Return to Install, Setup and Troubleshooting

Who is online

Users browsing this forum: No registered users and 4 guests