Writer crashes on save when merging documents.
Posted: Sat Feb 21, 2015 12:44 pm
Hi, everyone. I'm currently trying to help a friend publish a book on Amazon, which unfortunately means that I won't be able to upload the source.
I've been trying to merge his modified copy with mine (via Edit => Compare Documents), and everything goes fine using the Accept/Reject Changes window, until either the autosave kicks in, or I inevitably click the Save button. That's when OpenOffice Writer crashes with an "unknown error", and recovery of the document always fails. This is driving my nuts, as I've lost hours of work as a result now. The document is openable and looks just fine. The problem only comes when I try to merge changes in the document using Edit => Compare Document.
I thought I'd try to validate the document, using the service here, to see if I could get a clearer idea of what is causing the problem. The only error I get is this:
My Book.odt/content.xml[2,3637]: Fatal: Attribute "name" bound to namespace "urn:oasis:names:tc:opendocument:xmlns
1.0" was already specified for element "style:style".
When I go to that offset in content.xml, all I can see is style:name="Table34", which doesn't appear to be duplicated. I might even be barking completely up the wrong tree, but it's all I have to go on for now.
I tried removing that attribute to see what happened. Now I get the same error, but with an earlier offset, which now seems to point to office:name="__Annotation__16658_1985421151".
Now I feel I'm just going around in circles.
Can anyone please explain what might be happening? I'm unsure when this error crept in, but it's becoming a real painus in the anus.
I've been trying to merge his modified copy with mine (via Edit => Compare Documents), and everything goes fine using the Accept/Reject Changes window, until either the autosave kicks in, or I inevitably click the Save button. That's when OpenOffice Writer crashes with an "unknown error", and recovery of the document always fails. This is driving my nuts, as I've lost hours of work as a result now. The document is openable and looks just fine. The problem only comes when I try to merge changes in the document using Edit => Compare Document.
I thought I'd try to validate the document, using the service here, to see if I could get a clearer idea of what is causing the problem. The only error I get is this:
My Book.odt/content.xml[2,3637]: Fatal: Attribute "name" bound to namespace "urn:oasis:names:tc:opendocument:xmlns
When I go to that offset in content.xml, all I can see is style:name="Table34", which doesn't appear to be duplicated. I might even be barking completely up the wrong tree, but it's all I have to go on for now.
I tried removing that attribute to see what happened. Now I get the same error, but with an earlier offset, which now seems to point to office:name="__Annotation__16658_1985421151".
Now I feel I'm just going around in circles.
Can anyone please explain what might be happening? I'm unsure when this error crept in, but it's becoming a real painus in the anus.