Odoo Help

Welcome!

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.

1

Problems installing Website module

By
Alejandro
on 2/6/14, 6:03 AM 2,527 views

Hi all,

I'm trying to install the website module but I got this error when press the update modules :

OpenERP Server Error

Client Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/openerp-7.0_20140204_002725-py2.6.egg/openerp/addons/web/http.py", line 204, in dispatch response["result"] = method(self, *self.params) File "/usr/lib/python2.6/site-packages/openerp-7.0_20140204_002725-py2.6.egg/openerp/addons/web/controllers/main.py", line 1132, in call_button action = self._call_kw(req, model, method, args, {}) File "/usr/lib/python2.6/site-packages/openerp-7.0_20140204_002725-py2.6.egg/openerp/addons/web/controllers/main.py", line 1120, in _call_kw return getattr(req.session.model(model), method)(args, **kwargs) File "/usr/lib/python2.6/site-packages/openerp-7.0_20140204_002725-py2.6.egg/openerp/addons/web/session.py", line 42, in proxy result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw) File "/usr/lib/python2.6/site-packages/openerp-7.0_20140204_002725-py2.6.egg/openerp/addons/web/session.py", line 30, in proxy_method result = self.session.send(self.service_name, method, *args) File "/usr/lib/python2.6/site-packages/openerp-7.0_20140204_002725-py2.6.egg/openerp/addons/web/session.py", line 103, in send raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)

Server Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/openerp-7.0_20140204_002725-py2.6.egg/openerp/addons/web/session.py", line 89, in send return openerp.netsvc.dispatch_rpc(service_name, method, args) File "/usr/lib/python2.6/site-packages/openerp-7.0_20140204_002725-py2.6.egg/openerp/netsvc.py", line 292, in dispatch_rpc result = ExportService.getService(service_name).dispatch(method, params) File "/usr/lib/python2.6/site-packages/openerp-7.0_20140204_002725-py2.6.egg/openerp/service/web_services.py", line 626, in dispatch res = fn(db, uid, params) File "/usr/lib/python2.6/site-packages/openerp-7.0_20140204_002725-py2.6.egg/openerp/osv/osv.py", line 190, in execute_kw return self.execute(db, uid, obj, method, *args, *kw or {}) File "/usr/lib/python2.6/site-packages/openerp-7.0_20140204_002725-py2.6.egg/openerp/osv/osv.py", line 132, in wrapper return f(self, dbname, args, *kwargs) File "/usr/lib/python2.6/site-packages/openerp-7.0_20140204_002725-py2.6.egg/openerp/osv/osv.py", line 199, in execute res = self.execute_cr(cr, uid, obj, method, args, *kw) File "/usr/lib/python2.6/site-packages/openerp-7.0_20140204_002725-py2.6.egg/openerp/addons/audittrail/audittrail.py", line 514, in execute_cr return fct_src(cr, uid, model, method, args, *kw) File "/usr/lib/python2.6/site-packages/openerp-7.0_20140204_002725-py2.6.egg/openerp/osv/osv.py", line 187, in execute_cr return getattr(object, method)(cr, uid, args, *kw) File "/usr/lib/python2.6/site-packages/openerp-7.0_20140204_002725-py2.6.egg/openerp/addons/base/module/wizard/base_module_update.py", line 42, in update_module update, add = module_obj.update_list(cr, uid,) File "/usr/lib/python2.6/site-packages/openerp-7.0_20140204_002725-py2.6.egg/openerp/addons/base/module/module.py", line 617, in update_list handler.load_addons() File "/usr/lib/python2.6/site-packages/openerp-7.0_20140204_002725-py2.6.egg/openerp/addons/web/http.py", line 580, in load_addons m = __import__('openerp.addons.' + module) File "/usr/lib/python2.6/site-packages/openerp-7.0_20140204_002725-py2.6.egg/openerp/modules/module.py", line 133, in load_module mod = imp.load_module('openerp.addons.' + module_part, f, path, descr) File "/usr/lib/python2.6/site-packages/openerp-7.0_20140204_002725-py2.6.egg/openerp/addons/website/__init__.py", line 1, in <module> import controllers File "/usr/lib/python2.6/site-packages/openerp-7.0_20140204_002725-py2.6.egg/openerp/addons/website/controllers/__init__.py", line 1, in <module> import main File "/usr/lib/python2.6/site-packages/openerp-7.0_20140204_002725-py2.6.egg/openerp/addons/website/controllers/main.py", line 21, in <module> from openerp.addons.website.models import website File "/usr/lib/python2.6/site-packages/openerp-7.0_20140204_002725-py2.6.egg/openerp/addons/website/models/__init__.py", line 4, in <module> import website File "/usr/lib/python2.6/site-packages/openerp-7.0_20140204_002725-py2.6.egg/openerp/addons/website/models/website.py", line 23, in <module> from openerp.addons.web.http import request, LazyResponse ImportError: cannot import name request

OpenErp V7 on Centos.

Any idea ?

Regards.

2

Borni DHIFI

--Borni DHIFI--
5102
| 6 8 9
Tunis, Tunisia
--Borni DHIFI--

Techno Functional Consultant Odoo(OpenERP) 

http://www.linkedin.com/in/borni

Skype : dhifi.borni

Borni DHIFI
On 2/6/14, 6:11 AM

hi :

for test the website download a trunk version openerp (its not working in v7) .

http://nightly.openerp.com/trunk/nightly/

I downloaded the OpenERP version 8.0dev-20130206-011033, added the the website_sale to the addons and I have the same error...

File "/opt/openerp-8.0dev-20130206-011033/openerp/addons/website_sale/controllers/main.py", line 8, in <module> from openerp.addons.web.http import request ImportError: cannot import name request

Do you have any idea what I have wrong?

Thanks.

Versão Integral, Anabela Damas
on 2/6/14, 8:17 AM

I've installed jinja2 but still the same error. =(

Versão Integral, Anabela Damas
on 2/6/14, 9:07 AM

Thanks, I've installed the openerp-8.0dev-20140206-000101 and its ok!

Versão Integral, Anabela Damas
on 2/6/14, 10:21 AM
0
Alejandro
On 2/6/14, 6:19 AM

Thanks a lot for the answer.

The V7 data is compatible with this Trunk ?

of course no !!

Borni DHIFI
on 2/6/14, 6:22 AM

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

1 follower(s)

Stats

Asked: 2/6/14, 6:03 AM
Seen: 2527 times
Last updated: 3/16/15, 8:10 AM