Hi Regina, Wade and Mike,
thanks for your time.
The problem is common to multiple workstations (various Ubuntu LTS), on
my system the version is 6.0.7.3 (Build ID: 1:6.0.7-0ubuntu0.18.04.5).
As a side note the document was working till an unspecified update, so
I think it has to do with the XML itself and it's not a permission
error ("strace -ff -e open,openat,fstat,read" does not show anything
related to that).
It does succeed to save in DOCX format but fails in ODT and FODT (that
are the formats we prefer).
When saving in ODT:
Error saving the document report_233:
Write Error.
Error in writing sub-document styles.xml.
When saving in FODT:
Error saving the document report_233:
Write Error.
The file could not be written.
Other times I get a generic I/O error.
The smallest file that gives that error is:
http://paste.arn-fai.net/?2873952
By removing the whole 'FooterTable_Row' it successfully saves an FODT.
By removing 'style:family="table-cell"' it successfully saves an FODT.
How can I debug such issues in the future without going trial and error?
Thanks and have a great day,
Francesco
On 26/04/19 12:36, Regina Henschel wrote:
Hi Francesco,
Can it be saved to any of the other formats, eg odt or docx?
Can you provide such generated fodt-file?
Do you have compared, that a version without content is the same if
saved from LibreOffice as if generated by your application?
Which OS? Correct rights?
Kind regards
Regina
Francesco Ongaro schrieb am 26-Apr-19 um 12:02:
Dear LibreOffice Community,
sorry to bother, do you think there is a better place to ask such
question?
I'm available to rebuild Libreoffice with symbols and debug it with
a little guidance (c++ sources are huge!).
Thanks,
Francesco
On 12/04/19 21:05, Francesco Ongaro wrote:
Dear LibreOffice Community,
I programmatically generate a FODT that opens without any problem and
can be edited.
When saving such FODT document I get "Write Error. The file could not be
written.".
BTW the document is valid XML, is there a method to debug such issue?
I tried -DXSLTransformer.statsfile=/tmp/xslt_debug.txt as a Java startup
parameter but the file is not created and I'm not sure that Java's XSLT
is called when saving a document.
Thanks a lot,
ascii
https://ask.libreoffice.org/en/question/190226/fodt-write-error-the-file-could-not-be-written/
--
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.