(SOLVED): No module named relatorio.templates.opendocument
7 posts • Page 1 of 1
(SOLVED): No module named relatorio.templates.opendocumentHi... I'm trying installing module in Ubuntu 9.04
I tryed executing installation steps one by one... I installed following packages: $ sudo easy_install relatorio $ sudo easy_install openoffice-python $ export PYTHONPATH="/usr/lib/openoffice/program" $ python2.5 ./openerp-server.py I obtain same error that shown here: http://openobject.com/forum/topic13573-30.html Please... it's a little confusing. On required.txt only relatorio an openoffice-python are described as required, but on forum post they speak about different environments, windows, Freebsd... and new needed packages as py-pycha and py-yaml I have no idea, how to go on... Here is the known error I obtain. Than you very much for the contribution!!! Environment Information : System : Linux-2.6.28-11-generic-i686-with-Ubuntu-9.04-jaunty OS Name : posix Distributor ID: Ubuntu Description: Ubuntu 9.04 Release: 9.04 Codename: jaunty Operating System Release : 2.6.28-11-generic Operating System Version : #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 Operating System Architecture : 32bit Operating System Locale : es_ES.UTF8 Python Version : 2.5.4 OpenERP-Client Version : 5.0.6 Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last): File "/home/socrates/openerp-server/branches/common/bin/netsvc.py", line 244, in dispatch result = LocalService(service_name)(method, *params) File "/home/socrates/openerp-server/branches/common/bin/netsvc.py", line 73, in __call__ return getattr(self, method)(*params) File "/home/socrates/openerp-server/branches/common/bin/service/web_services.py", line 639, in execute return self._execute(db, uid, wiz_id, datas, action, context) File "/home/socrates/openerp-server/branches/common/bin/service/web_services.py", line 619, in _execute return wiz.execute(db, uid, self.wiz_datas[wiz_id], action, context) File "/home/socrates/openerp-server/branches/common/bin/wizard/__init__.py", line 178, in execute res = self.execute_cr(cr, uid, data, state, context) File "/home/socrates/openerp-server/branches/common/bin/wizard/__init__.py", line 74, in execute_cr action_res = action(self, cr, uid, data, context) File "/home/socrates/openerp-server/branches/common/bin/addons/base/module/wizard/wizard_module_upgrade.py", line 92, in _upgrade_module db, pool = pooler.restart_pool(cr.dbname, update_module=True) File "/home/socrates/openerp-server/branches/common/bin/pooler.py", line 62, in restart_pool return get_db_and_pool(db_name, force_demo, status, update_module=update_module) File "/home/socrates/openerp-server/branches/common/bin/pooler.py", line 40, in get_db_and_pool addons.load_modules(db, force_demo, status, update_module) File "/home/socrates/openerp-server/branches/common/bin/addons/__init__.py", line 728, in load_modules r = load_module_graph(cr, graph, status, report=report) File "/home/socrates/openerp-server/branches/common/bin/addons/__init__.py", line 578, in load_module_graph register_class(package.name) File "/home/socrates/openerp-server/branches/common/bin/addons/__init__.py", line 400, in register_class imp.load_module(m, *fm) File "/home/socrates/openerp-server/branches/common/bin/addons/report_openoffice/__init__.py", line 29, in <module> import report_openoffice File "/home/socrates/openerp-server/branches/common/bin/addons/report_openoffice/report_openoffice.py", line 31, in <module> from relatorio.templates.opendocument import Template ImportError: No module named relatorio.templates.opendocument Last edited by anajuaristi on Sun Mar 14, 2010 5:38 pm, edited 1 time in total.
Re: Ubuntu: No module named relatorio.templates.opendocumentHello!
Read carefully install guide: http://kndati.lv/index.php/en/openerp/o ... stallation It is written for linux in general, but was tested only in Fedora and Centos, so namings of modules and dependencies may change. Not following to guidelines there may result in frustration. I suspect your relatorio version is not enough.
Re: Ubuntu: No module named relatorio.templates.opendocument
Lot of code have been changed since previous version, we have replaced several modules to better ones, as well made code more "transportable". Installation tutorial is the place to look for general guidelines, but for each particular distributive, you may have to figure it out by yourselves. If you find some tricks, that are important, and you would like to share them with others, please let us know. We will include them in the guide. Kaspars
Re: Ubuntu: No module named relatorio.templates.opendocumentHi,
I have installed the requirements and than tried to install the module and got same as this post heading error. However, I found in the installation manual that the openerp-server script needs to be modified. Question I have got is that where will I find the OOo path or how can I find its path. Thanks Khalid
Re: Ubuntu: No module named relatorio.templates.opendocumentOk... I found the reason of the error. Actually a very silly error.
i was launching server with python2.5 and all packages with easyinstall are installed for python2.6, so starting server with python2.6 module is installed properly. Thank you
Re: (SOLVED): No module named relatorio.templates.opendocumentI get exactly the same error as u do and got all the depedencies installed on my python 2.6...
Sorry for beeing clueless but how did you switch from using openerp with python 2.5 to python 2.6 ? I already tried calling python2.6 in my /usr/bin/openerp-server #!/bin/sh export PYTHONPATH="/usr/lib/openoffice/program/" cd /usr/lib/openerp-server exec /usr/bin/python2.6 ./openerp-server.py $@ But it did not work... Thanks for any help u could provide.
Re: (SOLVED): No module named relatorio.templates.opendocumentSelf answering:
Stop running openerp-server go to ur openerp-server.py repertory ( /usr/lib/openerp-server ) type " python2.6 ./openerp-server.py " and the module installed with no trouble.
7 posts • Page 1 of 1
|
Copyright © 2001 Alistek Ltd., ALL RIGHTS RESERVED

