https://bugs.documentfoundation.org/show_bug.cgi?id=105613
Bug ID: 105613
Summary: Unable to convert Excel XML file (XSLT filter) using
command line
Product: LibreOffice
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Keywords: bisected
Severity: normal
Priority: medium
Component: filters and storage
Assignee: libreoffice-bugs@lists.freedesktop.org
Reporter: mikekagan...@hotmail.com
Created attachment 130764
--> https://bugs.documentfoundation.org/attachment.cgi?id=130764&action=edit
Test file that fails to be converted if timeout happens
Because of
http://cgit.freedesktop.org/libreoffice/filters/commit/?id=2e9f9d82110342601d28408ae77d63b673993ebe,
in case of timeout >60s during import of a large XML file, an interaction
handler is used to decide if processing should continue or not (see bug 65980
for details about currently wrong wording in user-visible message).
When using --convert-to option, like this:
> soffice --convert-to xlsx 20170130090750.xml
which implies headless mode, there is naturally no warning shown to user, but
processing is unconditionally aborted.
That happens in QuietInteraction::handle(). Currently, the exception class used
in the interaction is css::ucb::InteractiveAugmentedIOException with
InteractionClassification_ERROR and css::ucb::IOErrorCode_GENERAL (see
XSLTFilter::importer()), which cannot be meaningfully processed in
QuietInteraction::handle().
A workaround is to use libxslt's xsltproc (like mentioned in bug 65980 comment
16):
> xsltproc --output output.fods
> /path/to/libreoffice/share/xslt/import/spreadsheetml/spreadsheetml2ooo.xsl
> input.xml
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs