[Closed] Read Error. Format Error discovered in the file …
[Closed] Read Error. Format Error discovered in the file …
Hi there.
I know this has been covered in many previous threads. I have tried the help tutorial myself, but I am struggling to get XML Copy Editor to open my file.
I have an Open Office Calc file previously made in Excel, but now only used in OO Calc. When I tried to open the file today I received an error:
Read Error: Format Error discovered in the file in sub-document context.xml at 2,223751 (row, col)
Is there anyone who could take a look at the file and see what is wrong?
I know this has been covered in many previous threads. I have tried the help tutorial myself, but I am struggling to get XML Copy Editor to open my file.
I have an Open Office Calc file previously made in Excel, but now only used in OO Calc. When I tried to open the file today I received an error:
Read Error: Format Error discovered in the file in sub-document context.xml at 2,223751 (row, col)
Is there anyone who could take a look at the file and see what is wrong?
Open office 4.1.6, Windows 10 Pro
Re: Read Error. Format Error discovered in the file in sub-d
Can you upload the file to the forum?
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.
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
Re: Read Error. Format Error discovered in the file in sub-d
Here you go.
Thanks in advance for any help.
Thanks in advance for any help.
- Attachments
-
- CLD 2.xlsx.ods
- (68.76 KiB) Downloaded 139 times
Open office 4.1.6, Windows 10 Pro
Re: Read Error. Format Error discovered in the file in sub-d
I cannot extract the content.xml from the zip file. I tried on both a Windows and a Linux system. Maybe someone else will have more luck but that isn't a good sign.
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.
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
Re: Read Error. Format Error discovered in the file in sub-d
I could not get content.xml on a linux (Xubuntu 20.04.1) system; it reported that file checksum was wrong.
Apache OpenOffice 4.1.16 on Xubuntu 24.04.4 LTS
Re: Read Error. Format Error discovered in the file in sub-d
I can unzip the file. But I can't fix it right now. The error is at position 253523
- Attachments
-
- content.xml.zip
- zipped content.xml
- (49.75 KiB) Downloaded 132 times
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Re: Read Error. Format Error discovered in the file in sub-d
I have never seen a file like this before. content.xml is very badly corrupted and, in my opinion, there are so many errors (hundreds) it is not recoverable not least because it is not obvious how the corruption should be corrected.Villeroy wrote:I can unzip the file. But I can't fix it right now. The error is at position 253523
Some of the XML tags have been incorporated into the text strings so something really horrible has happened. Text stringss have been truncated.
This is a typical corruption:
Code: Select all
<text:p>0.00%</text:p>Sidewindefice:value="7.8">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.
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.
- MrProgrammer
- Moderator
- Posts: 5430
- Joined: Fri Jun 04, 2010 7:57 pm
- Location: Wisconsin, USA
Re: Read Error. Format Error discovered in the file in sub-d
Hi, and welcome to the forum.
• First, the ZIP archive is damaged. The "bad CRC" message for a single file suggests to me that the damage occurred after the content was processed by the ZIP process but before the data was written to disk. Perhaps the ZIP dictionary has been overlaid with garbage.CLD3 wrote:I have an Open Office Calc file previously made in Excel, but now only used in OO Calc.
extracting: mimetype inflating: Configurations2/accelerator/current.xml extracting: Thumbnails/thumbnail.png inflating: content.xml bad CRC 0d092a28 (should be 144a2b72) inflating: settings.xml inflating: styles.xml inflating: manifest.rdf extracting: meta.xml inflating: META-INF/manifest.xml• Next, I find content.xml to have errors.
</table:table-cell> <table:table-cell office:value-type="string"> <text:p> 2:10 Wolverhampton Autumn Tonic="string"> <text:p> Van Velde</text:p> </table:table-cell> <table:table-cell/> <table:table-cell office:value-type="string"> <text:pble-cell office:value-type="string"> <text:p> Lay</text:p> </table:table-cell> <table:table-cell/> <table:table-cell office:value-type="string"> <text:p> 2.75</text:p> </table:table-cell> <table:tablece:value="25.28"> <text:p> 25.28</text:p> </table:table-cell> <table:table-cell table:number-columns-repeated="2" office:value-type="float" office:value="2.74"> <text:p> 2.74</text:p> </table:table-cell> <table:table-cell table:style-name="ce18" office:value-type="pT> <table:table-cell office:value-type="string"> <text:p> Lost</text:p> </table:tEi"stpooltableout1008"/> e="pT> <table:table-cell office:value-type="string">• These problems get worse later on. Your content cannot be recovered.
<ta11e:value-e-celbl eltvBarclayHu0ulable:017i3e-e-celbl table:s3.9value-e-cab.984/tall>
<tv:pBournemelel>
<ta11e:value-e-celbl 99r-0ulable:4e-csterFyue-:4e/tabll ta:tablx9<utatal<tel3.6lto Scorlp:.:p>
</tablce:A4xpetay.1abe-e-celbl t7rlpercentage</tablce:A4xpetat.ccel/table:t2.00%<ta11e:value-e-celbl t7sporble-cel/tab688 spo0.0016olil ell4/tall>
<tv:pBournemelel>
<lil ell tab 2 olil ell tab 2 olil ell tab 2 o0bbl t7sp7:3le-cel/table:tlrnbv:p>
<l ell tab 2 olil ell tab 2 olil ell tab 2 olil ell tab 2 o0bbl t7sSouthfi9ld RoyalevBarclayHu0ulablble:017i3e-e-tablev:p>
</t-ty-e:sty:p>
<" ofG884/tall>
<tv:pleournemelel>
<ta11e:value-e 96nbblr:tlrnbv:p>
<l ell tab 2 olil ell tab 2 olil ell tab 2 olil ell tab 2 o0bbl t7sSunbBarclayHu0Back<ta11e:e</ele592alue-e-celbl t7sporble-cel/table:tlrnbv:p>Mr. Programmer
AOO 4.1.7 Build 9800, MacOS 13.7.8, iMac Intel. The locale for any menus or Calc formulas in my posts is English (USA).
AOO 4.1.7 Build 9800, MacOS 13.7.8, iMac Intel. The locale for any menus or Calc formulas in my posts is English (USA).
Re: Read Error. Format Error discovered in the file in sub-d
For what it's worth - and it isn't worth much - this is the user content remaining in the file. As you can see it is badly corrupted with XML commands.
- Attachments
-
- content of file.odt
- (18.52 KiB) Downloaded 135 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.
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.
Re: Read Error. Format Error discovered in the file in sub-d
Hi there,
Thanks to all for looking at this. I'm really not sure what happened to the file. I have been using it for many years. I'll admit defeat and start a new one!
I appreciate all the effort you have all gone to. Thank you.
Thanks to all for looking at this. I'm really not sure what happened to the file. I have been using it for many years. I'll admit defeat and start a new one!
I appreciate all the effort you have all gone to. Thank you.
Open office 4.1.6, Windows 10 Pro