Error In Writing Sub-document Content
error in writing sub document content.xml" [closed] edit writer broken odt content.xml error save libreoffice-4.0 mac_10.6.3 asked 2013-02-13 01:03:37 +0200 Marcool 66 ●1 ●3 ●6 updated 2015-10-29 16:20:49 +0200 Alex Kemp 10154 ●13 ●35 ●34 http://etmg.altervista... Hi everybody, I am running LibreOffice 4.0 on OS X 10.6.3 (Lion). I was just working on a relatively large odt (350 odd pages, plain text with comments and styles), and making regular saves. This strange error started to come up when I wanted to save, LibreOffice would say "Could not save document, error in writing sub document context.xml". There are no permission problems with that file (and I had just saved about 50 times previously anyway, with no changes made in between those saves and that one) but I would just hit cancel, make an "undo" move, and then save again and it would work. Granted, at that stage, I should have realized something was up and made a few back-ups and stopped playing around, but I kept on working a bit, and then as I wanted to hit CTRL+S I mistakenly hit CTRL+W and closed the document. Now that's not such a problem since I have been saving every... ouh, probably 20 seconds is it? But it was, because then the file wouldn't open at all! I tried renaming my user folder, reinstalling Libreoffice, but none of those were any help. I have no knowledge of xml at all, and although I unzipped the .odt and looked at the content.xml I couldn't tell if it was good, bad or anything in between... In the end, I solved the problem by reverting to LibreOffice 3.6, which on opening the file told me that it was locked for editing by myself and asked if I wanted to override the lock, and then proceded to open my document just fine! I have for now decided that I'll be happier with a nice stable 3.6 than with this brand new not so stable 4.0... I wonder if anybody has any idea as to what may have caused all this, the error message I was getting before the file close is nowhere to be found on google. I am only reporting this in the hope this
I got the following error when trying to save the document: Error in saving document Error in writing sub.document content.xml How can I repair this document? It contains information that I can't afford to lose. I also checked my backup file & it has the same problem. Thanks! marcus Question information Language: English Edit question Status: Expired For: Ubuntu openoffice.org Edit question Assignee: No assignee Edit question Last query: 2008-09-11 Last reply: 2008-09-26 Related bugs Link existing bug Related FAQ: None Link to a FAQ Marcus (mark-westrick) said on 2008-09-10: #1 I have the correct error statement from Open Office. http://ask.libreoffice.org/en/question/12015/cannot-save-file-error-in-writing-sub-document-contentxml/ It is: Error saving the document (name of document): Error in writing sub-document content.xml. It appears that the context.xml file in my document is corrupt. I've tried converting to a MS Word document then back again. While I now the document in Word (.doc) format I would like to convert it to the odt format. Shane Fagan (shanepatrickfagan) said on 2008-09-10: #2 To convert a doc into https://answers.launchpad.net/ubuntu/+question/44695 an odt. You open the file and go to save as. Then choose odt. Marcus (mark-westrick) said on 2008-09-10: #3 The document is saved as a .odt but when I try to save it I get the error codes given above. Marcus (mark-westrick) said on 2008-09-10: #4 I have tried to use the .doc version of the corrupted file with no success. I am able to open the document in both Word & OpenOffice format on a windows machine but am unable to do so on my ubuntu box. I've also discovered that the backup is also corrupted making recovery even more critical. Not sure if my OpenOffice program is corrupt or there are other issues. I did see a web page that told you how to recover a file by editing the content.xml file with the odt file but I have not been able to find that web page again using Google. Any help would be greatly appreciated in recovering this file! Bambitheman (johnobamber) said on 2008-09-10: #5 Have you tried opening the .odt in googledocs or similar, (yes its open office) If it opens try saving it to googledocs then copying the file back across to your home
DST ] Powered by phpBB Forum Software © phpBB Group
[x] First Last Prev Next This issue is not in your last search results. Issue98576 - error writing sub-document content.xml Summary: error writing sub-document content.xml Status: CLOSED IRREPRODUCIBLE Product: Writer Classification: Application Component: save-export Version: OOO300m9 Hardware: PC Windows Vista Importance: P3 Trivial (vote) TargetMilestone: --- Assigned To: writerneedsconfirm QA Contact: issues@sw URL: Keywords: needmoreinfo, oooqa Depends on: Blocks: Show dependency tree /graph Reported: 2009-01-28 15:46 UTC by ferdez Modified: 2009-01-29 16:18 UTC (History) CC List: 1 user (show) issues See Also: Issue Type: DEFECT Latest Confirmation in: --- Developer Difficulty: --- Attachments Add an attachment (proposed patch, testcase, etc.) Note You need to log in before you can comment on or make changes to this issue. Description ferdez 2009-01-28 15:46:07 UTC After some time working on a 9 page document that I opened and saved-as I now find that trying to save gives an error: "Error saving the document ... Error in writing sub-document content.xml" This might be a duplicate of issue 91772 but, since it's another version/os I thought it would be appropriate to file it. It's not possible to attach the file, since I cannot write it. I'll have to write it in another format and loose a great part of formatting. It's very annoying. Comment 1 eric.savary 2009-01-28 16:24:06 UTC Well, we need a document to be able to reproduce this problem. Please attach a file in another format (Ex. sxw) and try to reproduce the error with this file. Then describe the modifications you do in the file just before saving it to odt and getting the error message. Comment 2 ferdez 2009-01-28 16:41:13 UTC I've saved the document in PDF, RTF and DOC formats, but forgot to save in SXW. Sorry. I'm not able to reproduce the bug now with the DOC or RTF files. I remember that the things I have done between opening the file and unsuccessfully trying to save it were some adjustments on header and ToC styles, and some minor editing, including copy/paste of some coloured rectangles from another ODT file (but originally made with OO Draw. BTW, the first time I pasted them on the first page they appeared in the last page, but on the second time it worked. I do almost all of my work in OpenOffice and this type of bug only occurred twice. Once with styles.xml and this time with cont