re: https://docs.moodle.org/35/en/Universal_Office_Converter_(unoconv)
I have installed unoconv 0.8 (from here) for moodle 3.5.5 and receive the error message below indicating the version is not supported.
re: https://docs.moodle.org/35/en/Universal_Office_Converter_(unoconv)
I have installed unoconv 0.8 (from here) for moodle 3.5.5 and receive the error message below indicating the version is not supported.
Not a Windows person ... but ... unoconv is a python script and installing on Linux flavored boxen, unoconv.py is made execuatable + has a 'shebang' in the first line of the .py file on your server, does it have a 'shebang'?
On Linux looks like: #!/usr/bin/env python
How about your system?
'SoS', Ken
Setting up unoconv for document conversions is a challenge for Linux also.
Now way to avoid installing full blown LibreOffice ... which is really designed to be used on a workstation ... on server which has no GUI OS/Desktop. If I re-called correctly took 500M's of space.
If you do get the test working, the next phase is to get a listener working ... this process calls LibreOffice in a headless mode - converts docs - then provides those conversions back to moodle. That process, needs to clear the request to convert and then listen again for the next request.
So it's not like a true service which runs all the time and can take on multiple request at one time (like IIS/Apache/MariaDB/MySQL can).
So ... there is an alternative ... use Google doc conversion service.
Do think about that ... even try it!
'SoS', Ken
Hi Paul,
no need to change anything in the script, just execute as is, as the argument of the python executable.
Follow the example in https://ask.libreoffice.org/en/question/4648/windows-install-unoconv/#4907 and keep care that the conversion will open a TCP port, 2002 by default... you can change it by using the option -p 12345.
HTH,
Matteo