I’ve been having some serious problems running unoconv, the document conversion tool, on Ubuntu 18.04 using Libreoffice 6. This has been blocking the test suite (and basic functionality) in meTypeset from working.
Today, I found the answer with the help of the maintainer!
The basic gist is:
- Uninstall the uno pip module everywhere. Use pip and pip3 to uninstall it. pip uninstall uno. pip3 uninstall uno.
- Make sure that you have python3-uno installed via apt.
- Make sure that the unoconv script itself is using the system-wide python3 executable. That is, the #! of /usr/bin/unoconv should read #!/usr/bin/python3
And now, it works!