Description: After upgrading via ppa to 7.6.1.2 60(Build:2) version, Ubuntu Server 20.04 LTS gives error. soffice --headless --convert-to pdf path/to/file --> Error: source file could not be loaded Ubuntu 20.04 LTS Desktop version has no error with the same version, only on Server. The installation difference is libreoffice vs libreoffice-nogui. Previous versions doesent produces this error, e.g: 7.5.6.2 50(Build:2) work perfect. Steps to Reproduce: 1. soffice --headless --convert-to pdf path/to/file Actual Results: Error: source file could not be loaded Expected Results: convert path/to/file as a Writer document -> path/to/file using filter : writer_pdf_Export Reproducible: Always User Profile Reset: No Additional Info: soffice --version LibreOffice 7.6.1.2 60(Build:2)
Lots of no-gui version fails in Ubuntu Server 20.04 LTS with "Error: source file could not be loaded" message. Specific examples: - LibreOffice 6.4.7.2 40(Build:2) --> Same error with xlsx with --convert-to html - LibreOffice 7.5.3.2 50(Build:2) --> Same error with xlsx with --convert-to html !!! Only LibreOffice 7.5.6.2 50(Build:2) works perfectly in both case. !!! Example outputs: soffice --headless --convert-to pdf teszt.docx convert /home/zsolt/teszt.docx -> /home/zsolt/teszt.pdf using filter : writer_pdf_Export soffice --headless --convert-to html teszt.xlsx convert /home/zsolt/teszt.xlsx -> /home/zsolt/teszt.html using filter : HTML (StarCalc) Fortunately *ppa:libreoffice/libreoffice-still* contains the good version so i had to change the repos in all servers
I can't reproduce convert ODT or DOCX to PDF with: libreoffice7.6 --headless --convert-to pdf some_doc and: Version: 7.6.2.1 (X86_64) / LibreOffice Community Build ID: 56f7684011345957bbf33a7ee678afaf4d2ba333 CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded ...but this isn't a -nogui install. (In reply to Zsolt Bákonyi from comment #1) > !!! Only LibreOffice 7.5.6.2 50(Build:2) works perfectly in both case. !!! Maybe a fix made it in that version? Would be interesting to see if version 7.6.2.1 also works for you as -nogui, using this PPA: https://launchpad.net/~libreoffice/+archive/ubuntu/ppa Any chance you could test that one too?
Hi! On normal Ubuntu Desktop no error. Personally I use Kubuntu 20.04 LTS version with LibreOffice 7.6.2.1 60(Build:1) and this problem does not appear. And I had no issues with older versions. Only no-gui installation produces these issues, I've tested on 3 different Ubuntu 20.04 Server LTS.
Related: https://packages.debian.org/sid/libreoffice-nogui https://packages.debian.org/sid/libreoffice-core-nogui I could not find out what manipulations have been made to this thing.
Please report it to Ubuntu: https://bugs.launchpad.net/ubuntu/+source/libreoffice/
Something I don't understand if I use LibreOffice 7.5.6.2 50(Build:2) no-gui installation on these systems, it works perfectly in both case ( xlsx and docx conversion ) Maybe somethng went wrong while packaging in PPA?
(In reply to Zsolt Bákonyi from comment #6) > Something I don't understand if I use LibreOffice 7.5.6.2 50(Build:2) > no-gui installation on these systems, it works perfectly in both case ( > xlsx and docx conversion ) > > Maybe somethng went wrong while packaging in PPA? Ubuntu quality assurance will investigate it after you report it to them.
Thank you, I did it.
This is the same as https://bugs.documentfoundation.org/show_bug.cgi?id=158695 *** This bug has been marked as a duplicate of bug 158695 ***
(In reply to Zsolt Bákonyi from comment #8) > Thank you, I did it. Zsolt, please share a link if you can. Thank you!