Odoo Help


Problems installing Website module

on 2/6/14, 6:03 AM 2,609 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 ?




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

Techno Functional Consultant Odoo(OpenERP) 


Skype : dhifi.borni

On 2/6/14, 6:11 AM

hi :

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


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?


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
On 2/6/14, 6:19 AM

Thanks a lot for the answer.

The V7 data is compatible with this Trunk ?

of course no !!

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 platform 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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


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