I am working on an application, in which I am using unoconv
for converting ppt
and doc
files. It is working on localhost
, where I have an X server, but on ubuntu-server, it hangs up. As I read on the net, it's LibreOffice which is giving problem, as it hangs.
When I ctrl+C
it, I get the following error:
unoconv -f pdf terminal.ppt
^Cunoconv: SystemError during export phase: Couldn't instantiate python representation of structered UNO type com.sun.star.lang.DisposedException
Traceback (most recent call last):
File "/usr/bin/unoconv", line 1053, in <module>
die(exitcode)
File "/usr/bin/unoconv", line 919, in die
if convertor.desktop.getCurrentFrame():
uno.RuntimeException: illegal object given!
Output of which libreoffice
:
/usr/bin/libreoffice
I don't have a UI or desktop environment on server. What is going wrong?
CTRL
-C
?unoconv
is not Installed by default on my Ubuntu 14.04 server? could you post the output ofwhereis unoconv