Assignment

Problem setting up unoconv listening, conversion not working

 
Picture of Richard Pavonarius
Problem setting up unoconv listening, conversion not working
 

uname -a
Linux richpav.xyz 4.5.0-0.bpo.2-amd64 #1 SMP Debian 4.5.4-1~bpo8+1 (2016-05-13) x86_64 GNU/Linux

It's Debian 8 Jessie.

unoconv --version
unoconv 0.7
Written by Dag Wieers <dag@wieers.com>
Homepage at http://dag.wieers.com/home-made/unoconv/
platform posix/linux
python 3.4.2 (default, Oct  8 2014, 10:45:20)
[GCC 4.9.1]
LibreOffice 5.2.7.2

Moodle 3.5. Testing the unoconv path works.

I tried installing the startup script here:

https://docs.moodle.org/35/en/mod/assign/feedback/editpdf/testunoconv/initd

Here's the error I get. I don't know what this means.

service unoconvd start
Job for unoconvd.service failed because the control process exited with error code.
See "systemctl status unoconvd.service" and "journalctl -xe" for details.
systemctl status unoconvd.service
 unoconvd.service - LSB: unoconvd Converting documents to PDF by unoconv
   Loaded: loaded (/etc/init.d/unoconvd; generated; vendor preset: enabled)
   Active: failed (Result: exit-code) since Thu 2018-05-31 07:38:08 JST; 11min ago
     Docs: man:systemd-sysv-generator(8)
  Process: 23681 ExecStart=/etc/init.d/unoconvd start (code=exited, status=203/EXEC)
May 31 07:38:08 richpav.xyz systemd[1]: Starting LSB: unoconvd Converting documents to PDF by unoconv...
May 31 07:38:08 richpav.xyz systemd[23681]: unoconvd.service: Failed at step EXEC spawning /etc/init.d/unoconvd: Exec form
May 31 07:38:08 richpav.xyz systemd[1]: unoconvd.service: Control process exited, code=exited status=203
May 31 07:38:08 richpav.xyz systemd[1]: Failed to start LSB: unoconvd Converting documents to PDF by unoconv.
May 31 07:38:08 richpav.xyz systemd[1]: unoconvd.service: Unit entered failed state.
May 31 07:38:08 richpav.xyz systemd[1]: unoconvd.service: Failed with result 'exit-code'.


I also tried using the startup script here but got the same error: https://gist.github.com/jdewit/9038765 


If I create a new assignment and submit a PDF as a student, the generated PDF is blank when I try to grade it as an administrator.

Running unoconv on the command line works, FWIW. I can convert a txt doc to pdf.

 
Average of ratings: -