Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

unoconv not working while trying to convert. throws Error: Unable to connect or start own listener. Aborting

I am trying to convert docx to pdf using unoconv, but getting Error: Unable to connect or start own listener. Aborting. when I run unoconv -f pdf 1234.docx.

So, there must be some listener. I then started the listener via unoconv --listener.
I tried ps aux | grep soffice, and found soffice.bin.

So I tried unoconv -f pdf 1234.docx again. It still gave me the same error: Error: Unable to connect or start own listener. Aborting.

What am I doing wrong here?

like image 258
Krishna Prasad Varma Avatar asked Feb 13 '12 11:02

Krishna Prasad Varma


1 Answers

You have to kill all the soffice.bin processes before trying to use unoconv. I didn't have to do any "unoconv --listener" command.

like image 83
Marcos García Avatar answered Sep 18 '22 17:09

Marcos García