It worked about a month ago, stopped after I moved to
Libreoffice Version: 5.3.3.2
Build ID: 3d9a8b4b4e538a85e0782bd6c2d430bafe583448
on Kubuntu
16.04.2 LTS Release: 16.04
Codename: xenial
$ libreoffice --headless --convert-to pdf some.odt
returns
Error: source file could not be loaded
And no, Libreoffice is not running. Doesn’t matter what file type source or output are, or putting in the whole pathway.