-
Notifications
You must be signed in to change notification settings - Fork 373
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
Cannot find a suitable pyuno library and python binary combination in /usr/lib/libreoffice #290
Comments
Yeah, the code that detects the various parts of LibreOffice needed for unoconv is a bit brittle. Also, the unoconv maintainer appears to be busy (I won't throw the first rock) so you won't get an easy fix here. Two questions:
Thanks! |
I was actually able to fix this by changing the first line to |
According to unoconv#290, unoconv 0.7 is broken on Python 2 / Ubuntu 14.04 and the fix is to ask for Python 3. If you want to support Python 2, I can try to look into what's going on.
The solution (as explained in the documentation) is to use the python binary that ships with LibreOffice. If the shebang needs to be changed on Ubuntu specifically, it is up to the distribution to ensure it works out of the box though. |
@pquentin We just released v0.7 in July, so your intel is outdated :-) |
@dagwieers This is probably due to us wget'ing a certain commit version of unoconv, not through the distro. |
@nwalke I cannot find that commit version. Do you know whether it is old ? If so, could you please try a newer release, just to test if this is a regression that is already fixed, or a real bug. |
I might be incorrect in stating that was a commit number... The URL we fetch unoconv with is this: |
Actually I was able to find that commit...
|
I had the same problem. Modifing #!/usr/bin/env python to #!/usr/bin/env python3 in unoconv script fixed the problem. ..:/tmp# find / -name unoconv |
Ports fix to unoconv#290 to this fork
When trying to run
unoconv --version
, I get the following:If I go to
/usr/lib/libreoffice
, I see a program folder with pyuno.so inside. I'm unsure what to do from here.This is on an Ubuntu 14.04 box using unoconv commit
f5526cf6888a40069768b0c221df104c286b5cd8
and libreoffice 4.3.Any help is appreciated
The text was updated successfully, but these errors were encountered: