appy.pod does not work with LibreOffice 4

Bug #1331943 reported by Gaëtan Delannay on 2014-06-19
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Gaëtan Delannay

Bug Description

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

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:


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/, 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
Changed in appy:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers