Bug 13125 - unoconv not working (pyuno is using python3.3)
Summary: unoconv not working (pyuno is using python3.3)
Status: RESOLVED DUPLICATE of bug 14046
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 4
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords: PATCH, Triaged
Depends on:
Blocks:
 
Reported: 2014-03-31 17:10 CEST by Ingolf Schaefer
Modified: 2015-03-10 13:11 CET (History)
2 users (show)

See Also:
Source RPM: unoconv-0.4-3.mga4.noarch.rpm
CVE:
Status comment:


Attachments

Description Ingolf Schaefer 2014-03-31 17:10:10 CEST
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
Ingolf Schaefer 2014-03-31 17:10:32 CEST

Source RPM: (none) => unoconv-0.4-3.mga4.noarch.rpm

Manuel Hiebel 2014-04-23 16:43:40 CEST

Keywords: (none) => PATCH, Triaged
CC: (none) => olav

Comment 1 Philippe Makowski 2014-05-18 21:16:51 CEST
or patches from Fedora http://pkgs.fedoraproject.org/cgit/unoconv.git/tree/

CC: (none) => makowski.mageia

Comment 2 Philippe Makowski 2014-05-25 16:48:18 CEST
(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
Comment 3 Ingolf Schaefer 2014-05-30 10:03:38 CEST
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.
Comment 4 Philippe Makowski 2015-03-10 13:11:22 CET
same as 14046

*** This bug has been marked as a duplicate of bug 14046 ***

Status: NEW => RESOLVED
Resolution: (none) => DUPLICATE


Note You need to log in before you can comment on or make changes to this bug.