Skip to Content
Menu
This question has been flagged
2 Replies
2153 Views

Traceback (most recent call last):

File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 180, in run_wsgi

execute(self.server.app)

File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 168, in execute

application_iter = app(environ, start_response)

File "/home/samir/Documents/odoo8/odoo/odoo-server/openerp/service/server.py", line 246, in app

return self.app(e, s)

File "/home/samir/Documents/odoo8/odoo/odoo-server/openerp/service/wsgi_server.py", line 184, in application

return application_unproxied(environ, start_response)

File "/home/samir/Documents/odoo8/odoo/odoo-server/openerp/service/wsgi_server.py", line 170, in application_unproxied

result = handler(environ, start_response)

File "/home/samir/Documents/odoo8/odoo/odoo-server/openerp/http.py", line 1492, in __call__

self.load_addons()

File "/home/samir/Documents/odoo8/odoo/odoo-server/openerp/http.py", line 1513, in load_addons

m = __import__('openerp.addons.' + module)

File "/home/samir/Documents/odoo8/odoo/odoo-server/openerp/modules/module.py", line 61, in load_module

mod = imp.load_module('openerp.addons.' + module_part, f, path, descr)

File "/home/samir/Documents/odoo8/odoo/odoo-server/addons/website_rate_product/__init__.py", line 3, in <module>

from . import controllers

File "/home/samir/Documents/odoo8/odoo/odoo-server/addons/website_rate_product/controllers/__init__.py", line 2, in <module>

from . import main

File "/home/samir/Documents/odoo8/odoo/odoo-server/addons/website_rate_product/controllers/main.py", line 5, in <module>

from openerp.addons.web.controllers.main import login_redirect

ImportError: cannot import name login_redirect

Avatar
Discard

again same error after reinstall that file , i got same error

Best Answer

try to reinstall the website modul in odoo

the error comes from this modul: https://www.odoo.com/apps/modules/8.0/website_rate_product/

It can be that this module have some issues.

Avatar
Discard