-
Notifications
You must be signed in to change notification settings - Fork 654
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in writing sub-document content.xml #3457
Comments
|
This is a very broad error message. I'm afraid this is only actionable if you have an exact reproducer, very likely strongly document-dependent, and even then, the problem would be coming from the Collabora Office core backend (which is based on LibreOffice). If you have a reliable reproducer, and encounter the same error in a recent LibreOffice version, please report it at https://bugs.documentfoundation.org/ For reference, here's an amount of previous bug reports in LibreOffice on similar cases: |
|
First of all thank you really much for confirming that the error message itself indeed comes from LibreOffice and not online. It doesn't seem to be document dependent. We've tried with files generated from our lms integration, i've manually created files locally and i've downloaded sample odt files from the internet and we had the same error for all of them. And while editing the same document some views can save while others can't. We've also sometimes seen this error but we weren't sure whether it's related: Is the error maybe happening because the tempfile is being deleted while it's still needed and the error appears because LibreOffice fails to write to the missing file? |
|
For those running into the same issue: The docker image uses a pretty old version of LibreOffice (6.4) which seems to have this problem. We built it ourselves with the up to date version of LibreOffice now which solved the issue. |
Describe the bug
Saving the document doesn't work for some sessions and instead throws an error saying "Error in writing sub-document content.xml" in the log which comes from LibreOffice itself (from what i've read online) when saving the document to the temp file.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The document gets saved to the WOPI server and the save button turns blue.
Actual behavior
For some sessions (we couldn't find a real reproduction procedure in a month) the save button stays red upon clicking it, the WOPI server doesn't receive a request and multiple error messages appear in the log.
Screenshots
Desktop (please complete the following information)
Additional context
We've tried to fix this problem ourselves for a month now but we weren't able to find the issue. I've tried to walk through the code myself but wasn't able to trace the error back to it's root. The server is running in docker with the latest image but older images didn't work either. We've tried our production WOPI (that isn't in our hands) and i've written a pretty basic WOPI server to validate whether the WOPI causes the problem and this way we found out that the WOPI doesn't even receive a request when this error happens. I've googled the error and found out that it has something to with LibreOffice saving the document to disk.
The text was updated successfully, but these errors were encountered: