Ask Your Question

I can't save my file because I get an error in styles.xml

asked 2016-04-16 17:33:11 +0100

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Full message:

LibreOffice Error saving the document Untitled1: Write Error. Error in writing sub-document styles.xml.

edit retag flag offensive close merge delete


After I did modified the style a little, I tried again and got the same message but with "content.xml". Another attempt got me a "General input/output error".

I copied and pasted my entire document into Google Docs, then copied and pasted it back and still got the "content.xml" error.

Next, I tried copying a little at a time from Google Docs, and this sometimes worked, but sometimes I'd get the content error, sometimes one about $(ARG1).

Mark314159 gravatar imageMark314159 ( 2016-04-16 23:59:42 +0100 )edit

I downloaded and I was able to save for a while; but now I can't save again. :(

Mark314159 gravatar imageMark314159 ( 2016-07-06 02:54:47 +0100 )edit

I downloaded 5.2.0, same thing. :(

There's nothing wrong with the file, because I sent it as an email attachment to another computer, and I could save it from LibreOffice with no problem.

Mark314159 gravatar imageMark314159 ( 2016-07-07 04:22:54 +0100 )edit

1 Answer

Sort by » oldest newest most voted

answered 2017-09-26 15:32:49 +0100

nshani gravatar image

Same error here: Error in writing sub-document styles.xml (MacOS 10.12.6, LO, running on MacBook Air).

Tried most (all?) the suggestions that were posted in 2013, no joy. So, this morning I thought about saving it as a different file type, OTHER than .odt Lo-and-behold, .doc saved with no issue, so I guess I'm going to use this file type... I guess that there's nothing wrong with the file itself, and everything to do with something LO is doing (or not).

Anyone else has any better idea(s)?

edit flag offensive delete link more
Login/Signup to Answer

Question Tools



Asked: 2016-04-16 17:33:11 +0100

Seen: 517 times

Last updated: Sep 26 '17