Odoo Help


This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Can report_aeroo_ooo work with Ubuntu 13.10?

Michael Telahun
on 10/21/13, 10:09 AM 5,385 views

I just upgraded my development machine to Ubuntu 13.10 and report_aeroo_ooo no longer loads. The problem seems to be that the libreoffice in 13.10 uses python 3 while the openerp server is being run with python 2.7. I tried copying uno.py and unohelper.py from python3/dist-packages to report_aeroo_ooo, but that didn't work either. The exact error message is:

Warning! Unmet python dependencies!
dynamic module does not define init function (initpyuno)
dynamic module does not define init function (initpyuno)
No module named com.sun.star.beans
No module named com.sun.star.uno
No module named com.sun.star.connection
No module named com.sun.star.beans
No module named com.sun.star.lang
No module named com.sun.star.io
No module named com.sun.star.io

Does anyone know how I can get report_aeroo_ooo to work?

On 1/9/14, 2:49 AM

I met problem too, it take me for hours to solve. Problem is in 13.10 don't support python-uno for python2.x like Ubuntu 13.04 raring before.

Here is solution: Very simple thought install a version support python-uno then I find the build of LibreOffice PPA for Ubuntu.

You shouldn't waste time on download build DEB from libreoffice official it not compatible in this situation. first you remove libreoffice in your machine

sudo apt-get purge libreoffice*

then remove related

sudo apt-get purge openoffice.org-dtd-officedocument1.0 python-uno python3-uno uno-libs3 ure


sudo apt-get autoremove

then go there https://launchpad.net/~libreoffice/+archive/ppa/+packages then you download this build

libreoffice - 1:4.1.4~rc2-0ubuntu1~raring1~ppa1

The file you will download is


You should install libreoffice-common_4.1.4 first then libreoffice-core then libreoffice-base-core then writer and calc and python-uno --> this is what we need.

Is it still a good solution?

Pascal Tremblay
on 12/2/14, 8:18 PM

On launchpad, I have found only version 4.3.4, It uses python3 uno.

Pascal Tremblay
on 12/3/14, 6:52 AM

Found a link that provides the debs mentioned above: https://launchpad.net/~libreoffice/+archive/ubuntu/ppa/+sourcepub/3744128/+listing-archive-extra

on 12/4/14, 11:43 AM
Michael Telahun
On 10/22/13, 8:22 AM

The solution turns out to be a little complicated. I'll write a blog post to further expand on this but basically:

  • Install OpenERP in a virtualenv (this had its own set of hurdles I had to overcome)
  • Install an older version of Libreoffice (I installed ver. 3.7.2) into the virtualenv
  • Append the path to the program subdirectory of the libreoffice installation to $PYTHONPATH

How we can do this : Install an older version of Libreoffice (I installed ver. 3.7.2) into the virtualenv ? I know that uno.py and unohelper.py are not problem, Please help us

Yug Faa
on 9/5/14, 7:45 AM
Mario Arias Badila
On 10/22/13, 11:57 AM

I switched from LibreOffice to Apache OpenOffice 4... They still use python 2.7 so it just works...

Juan José Scarafía
On 10/21/13, 10:41 AM

Hi! yes, I think the problem is pyuno. You should replace python3-uno by python-uno. Try sudo apt-get install python-uno

python-uno no longer exists on Saucy. It has been replaced by libreoffice-script-provider-python, which is based on python 3.

Michael Telahun
on 10/21/13, 12:32 PM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

5 follower(s)


Asked: 10/21/13, 10:09 AM
Seen: 5385 times
Last updated: 3/16/15, 8:10 AM