[Libreoffice-bugs] [Bug 130810] New: soffice --headless --convert-to xlsx with a large MS Excel XML file gives Error: source file could not be loaded

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Feb 20 13:20:01 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=130810

            Bug ID: 130810
           Summary: soffice --headless --convert-to xlsx with a large MS
                    Excel XML file gives Error: source file could not be
                    loaded
           Product: LibreOffice
           Version: 5.3.6.1 release
          Hardware: IA64 (Itanium)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: mehta.nitin at kpmg.com

Description:
I am converting MS Excel 2007 XML spreadsheet (not the XLSX) to xlsx file
using the following command:
/usr/lib64/libreoffice/program/soffice.bin --headless --invisible --nodefault
--nofirststartwizard --nolockcheck --nologo --norestore  --convert-to xlsx
--outdir /var/tmp test.xml.
This fails with the message: Error: source file could not be loaded

File size of this xml file is 11Mb.
Other smaller file (upto 5Mb) are converted without any proble.


Steps to Reproduce:
1. Pick any XML file larger than approx. 5Mb
2. use command: /usr/lib64/libreoffice/program/soffice.bin --headless
--invisible --nodefault --nofirststartwizard --nolockcheck --nologo --norestore
 --convert-to xlsx --outdir /var/tmp test.xml

3.

Actual Results:
No xlsx file created.
Get the message "Error: source file could not be loaded"
The status returned by soffice is: 0

Expected Results:
xlsx file shoud be created in /var/tmp directory


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
When opening the same file in the interactive session of Libreoffice,
It gives General Input/Output error.
When press retry button on this message box, it opens the file with no further
error.

The file in this case have 15922 rows.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200220/5f6b1885/attachment.htm>


More information about the Libreoffice-bugs mailing list