appy.pod does not work with LibreOffice 4

Bug #1331943 reported by Gaëtan Delannay
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Appy
Fix Released
High
Gaëtan Delannay

Bug Description

The UNO layer in LibreOffice 4 works with Python3, that is not yet supported by Appy.

Revision history for this message
Gaëtan Delannay (gaetan-delannay) wrote :

The problem is to be able, from a Python 2 process running POD, to talk to LibreOffice 4 which is based on Python3.
There is a mode where POD forks a new Python process for talking to LibreOffice. This mode is enabled by using parameter "pythonWithUnoPath" when calling appy.pod.renderer.Renderer's constructor. If, for this parameter, you specify the absolute path to a Python-3-UNO-enabled Python interpreter, with Appy >= revision 548 it will work.

For example, with Ubuntu >= 13.10, the UNO-enabled Python-3 interpreter used by LibreOffice is /usr/bin/python3. So call the renderer with this param:

pythonWithUnoPath="/usr/bin/python3"

When the Python 2 process running POD will need to call LibreOffice, it will fork a Python 3 process that will execute script appy/pod/converter.py, that, for Appy >= revision 548, is the only part of the framework whose code currently works from Python2.4 to Python 3 included.

You will need to wait for upcoming Appy 0.9.0 to have this functionality in a published Appy version. I will publish it as soon as possible. In the meanwhile, get the Appy trunk from bazaar.

Changed in appy:
milestone: none → 0.9.0
assignee: nobody → Gaëtan Delannay (gaetan-delannay)
importance: Undecided → High
status: New → Fix Committed
Revision history for this message
Gaëtan Delannay (gaetan-delannay) wrote :
Changed in appy:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.