Hello,
Question: how to convert ODT to PDF using commandpromt.
Examples below don’t do anything. no convertion and no error message.
i’m using libreoffice-common: LibreOffice 4.2.4.2 420m0(Build:2)
on Ubuntu 14.04
i have tryed:
soffice --headless --convert-to pdf /path/to/file.odt
soffice --headless --convert-to pdf:writer_pdf_Export /path/to/file.odt
soffice --headless --convert-to pdf --outdir /path/to /path/to/file.odt
none worked. but even stranger, none displayed an error… or any type of output.
so i read about some error with /tmp/LibO_Conversion
here: How to NOT connect to a running instance
so i tryed:
soffice "-env:UserInstallation=file:///tmp/LibO_Conversion" --headless --convert-to pdf /path/to/file.odt
even deleting the directory using FTP
i have installed Libreoffice-common, and after some trying also installed Libreoffice-writer.
nothing worked.
ps. also tryed lowriter --headless
… and libreoffice --headless
…
ps2. also tryed /usr/bin/soffice --headless
…
--backtrace
gives:
warning: Currently logging to gdbtrace.log. Turn the logging off and on to make the new setting effective.
[Thread debugging using libthread_db enabled]
Using host libthread_db library “/lib/x86_64-linux-gnu/libthread_db.so.1”.
[New Thread 0x7fffe0bc5700 (LWP 16720)]
[New Thread 0x7fffdf3c4700 (LWP 16721)]
[Thread 0x7fffdf3c4700 (LWP 16721) exited]
[Thread 0x7fffe0bc5700 (LWP 16720) exited]
[Inferior 1 (process 16716) exited normally]
/usr/lib/libreoffice/program/gdbtrace:9: Error in sourced command file:
No stack.
Quit