Date: prev next · Thread: first prev next last
2023 Archives by date, by thread · List index


Hi
 
If I do:

    soffice --headless --convert-to xlsx /home/me/sheets.ods --outdir /home/me/tmp

from the command line everything works fine:

    func=xmlSecCheckVersionExt:file=xmlsec.c:line=188:obj=unknown:subj=unknown:error=19:invalid 
version:mode=abi compatible;expected minor version=2;real minor version=2;expected subminor 
version=25;real subminor version=26
    convert /home/me/sheets.ods -> /home/me/tmp/sheets.xlsx using filter : Calc Office Open XML

However, if I do the same thing from a shell script

    $(soffice --headless --convert-to xlsx /home/me/sheets.ods --outdir /home/me/tmp )

I get this:
    func=xmlSecCheckVersionExt:file=xmlsec.c:line=188:obj=unknown:subj=unknown:error=19:invalid 
version:mode=abi compatible;expected minor version=2;real minor version=2;expected subminor 
version=25;real subminor version=26
    convert /tmp/magick-245771VE8simr9bq5 -> /tmp/magick-245771VE8simr9bq5.pdf using filter : 
calc_pdf_Export
0123456789012345678901234567890123456789012345678901234567890123456789
I have no idea why it should randomly decide to do anything with PDF.
Quite aside from this, the script then hangs waiting for soffice(?) to
finish, which it never* does.

    $ soffice -h | grep LibreOffice
    LibreOffice 6.0.7.3 00m0(Build:3)

* Actually, I lie. It takes a long time - way longer than it took to
  generate the xslx from the command line - but after some time ps
  can't find the soffice process any more. The shell script *still*
  doesn't continue/end, however.

-- 
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.