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

unconv error "The document 'file:///tmp/file.xlsx' could not be opened #237

Closed
dmix75 opened this issue Jan 14, 2015 · 5 comments
Closed

Comments

@dmix75
Copy link

dmix75 commented Jan 14, 2015

When trying to run the following command.

unoconv -f pdf /tmp/file.xlsx

We get back the error "The document 'file:///tmp/file.xlsx' could not be opened.

We have verifed openoffice is running and can be connected to on port 2002 via telnet localhost 2002

It appears to be returning null from "loadContentFromURL". Any thoughts on what may be the cause?

We are using LibreOffice 4.3 and unconv 0.6

@temporaryidea
Copy link

have you solved the problem,give some suggestions?

@dagwieers
Copy link
Member

Could this be as simple as an access restriction ? (permissions, ownership, SELinux, ACLs)
If not, we should investigate in what situations loadContentFromURL can return null, and improve the error-message (or report upstream).

I wonder if we can get a better error message from the UNO API in this case ?

@temporaryidea
Copy link

Use libreoffice4.0 version is no problem, python completely do not understand, first to solve it, very grateful

@dagwieers
Copy link
Member

I need more feedback in order to reproduce this.
Can you please try all the suggestions in the Troubleshoot instructions section ?

Thanks in advance !

@dagwieers
Copy link
Member

Feel free to reopen this issue if you have more information.
Thanks !

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

No branches or pull requests

3 participants