Menu
![]() ![]() (Apache/PHP usually do not set PATH, so unoconv fails)Įnsure that the user running unoconv has write access to its HOME directory Hardcode the python path in the unoconv script shebang, so put on the first line #!/opt/libreoffice4.4/program/python rather than #!/usr/bin/env python. opt/libreoffice4.4/program/python /usr/bin/unoconv -f pdf file.doc Use the native LibreOffice python binary to run unoconv, eg. Use the most recent stable release of LibreOffice (recent releases use less memory, are generally much faster and crash less) Use the latest version of unoconv (at least v0.7 when it is released, ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |