Created attachment 130764 [details] 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
Confirmed using time instdir/program/soffice --convert-to xlsx /home/xisco/Baixades/20170130090750.xml ^Z [3]+ Aturat instdir/program/soffice --convert-to xlsx /home/xisco/Baixades/20170130090750.xml real 60m47.101s user 0m0.000s sys 0m0.000s in Version: 5.4.0.0.alpha0+ Build ID: 880033edde516fc30225005245253293a6a58ba4 CPU Threads: 4; OS Version: Linux 4.8; UI Render: default; VCL: gtk2; Locale: ca-ES (ca_ES.UTF-8); Calc: group
** Please read this message in its entirety before responding ** To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from http://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
Not reproducible anymore using current master, due to Kohei's work on using liborcus to import these files (see https://lists.freedesktop.org/archives/libreoffice/2018-January/079334.html). Initial commit is https://cgit.freedesktop.org/libreoffice/core/commit/?id=152c79ee2be2374334202dc738a8f011e47845c7. I'm not closing it yet, until this goes to a release (just to make sure it wouldn't be reverted because of some problem).
I guess we can close this now that 6.1 is out (?)
Verified in Version: 6.2.0.0.alpha0+ Build ID: 433fce6571d4b9121374047324a7d2d2722ac3e4 CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; Locale: ca-ES (ca_ES.UTF-8); Calc: threaded time instdir/program/soffice --convert-to xlsx /home/xisco/Baixades/20170130090750.xml convert /home/xisco/Baixades/20170130090750.xml -> /home/xisco/bibisect/bibisect-linux64-6.2/20170130090750.xlsx using filter : Calc Office Open XML Overwriting: /home/xisco/bibisect/bibisect-linux64-6.2/20170130090750.xlsx real 0m4.554s user 0m4.352s sys 0m0.273s @Kohei Yoshida, Thanks for fixing this!