Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unsupported URL error on converting DOCX to PDF #303

Closed
geraldb-nicat opened this issue Nov 19, 2015 · 4 comments
Closed

Unsupported URL error on converting DOCX to PDF #303

geraldb-nicat opened this issue Nov 19, 2015 · 4 comments
Labels

Comments

@geraldb-nicat
Copy link

hi!

i'm trying to use unoconv to convert DOCX-documents to PDF via command-line.

here is what i did:

sudo apt-get install unoconv
unoconv -f pdf -o ./test.pdf ./test.docx

this results in the following error:

unoconv: RuntimeException during import phase:
Office probably died. Unsupported URL file:///home/vagrant/test.docx: "type detection failed"

i also tried installing the full libreoffice via:

sudo apt-get install libreoffice

but this didn't solve the problem (and also i would expect unoconv to install all required dependencies itself).

do you have any clues on how to solve this problem? thanks a lot in advance!

best wishes
gerald

@bkleef
Copy link

bkleef commented Feb 3, 2016

@geraldb-nicat same here, any ideas?

Fixed by installing libreoffice-writer on Ubuntu 16.04.

@Calvin92
Copy link

@bkleef Good job. It helps.

@aislandener
Copy link

@bkleef tks for helping for me

@chppatel
Copy link

What about in cent os 7?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants