The packaged version of unoconv (unoconv-0.4-3.mga4.noarch.rpm) does not work the version of LibreOffice-pyuno. unoconv is built with python-2.7, pyuno with python-3.3 So, starting unoconv results in: > Cannot find the pyuno library in sys.path and known paths. > ERROR: Please locate this library and send your feedback to: > <tools@lists.rpmforge.net>. Unfortunately, it seems that the last stable release (2 years old) of unoconv does support python 3.3. Latest version on github does. (Ubuntu uses patches to keep unoconv working: cf. [1]) Maybe, someone could apply the patches from Launchpad? Thanks. [1] https://launchpad.net/ubuntu/+source/unoconv/+changelog
Source RPM: (none) => unoconv-0.4-3.mga4.noarch.rpm
Keywords: (none) => PATCH, TriagedCC: (none) => olav
or patches from Fedora http://pkgs.fedoraproject.org/cgit/unoconv.git/tree/
CC: (none) => makowski.mageia
(In reply to Ingolf Schaefer from comment #0) > Unfortunately, it seems that the last stable release (2 years old) of > unoconv does support python 3.3. Latest version on github does. (Ubuntu uses > patches to keep unoconv working: cf. [1]) > even with the lastest github version or the latest Fedora patched version, I get an error : $ ./unoconv -f html -t template.ott -o resume.html resume.odt Traceback (most recent call last): File "./unoconv", line 720, in __init__ unocontext = resolver.resolve("uno:%s" % op.connection) uno.NoConnectException: Connector : couldn't connect to socket (Success) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "./unoconv", line 1168, in <module> main() File "./unoconv", line 1085, in main convertor = Convertor() File "./unoconv", line 731, in __init__ product = self.svcmgr.createInstance("com.sun.star.configuration.ConfigurationProvider").createInstanceWithArguments("com.sun.star.configuration.ConfigurationAccess", UnoProps(nodepath="/org.openoffice.Setup/Product")) uno.RuntimeException: xcd: unresolved dependencies in file:///usr/lib64/libreoffice/program/../share/registry
Strange. I am running the latest github version on Mageia 4 with libreoffice-pyuno-4.1.5.3-1.mga4.x86_64.rpm installed and it works as it should and produces nice html and pdf versions from odf files.
same as 14046 *** This bug has been marked as a duplicate of bug 14046 ***
Status: NEW => RESOLVEDResolution: (none) => DUPLICATE