Odoo Help


ERROR openerp.addons.website.models.ir_http: 500 Internal Server Error: after logout from odoo

on 11/5/15, 8:27 AM 2,520 views


i am using odoo v9 comm. in ubuntu 12.04 installation is perfectly done after all works

but when i install eCommerce module of odoo and after when i log out from odoo it show following error

ERROR mimi_db1 openerp.addons.website.models.ir_http: 500 Internal Server Error:

my log is:

ERROR mimi_db1 openerp.addons.website.models.ir_http: 500 Internal Server Error:

Traceback (most recent call last):

File "/usr/lib/python2.7/dist-packages/openerp/addons/website/models/ir_http.py", line 242, in _handle_exception

response = super(ir_http, self)._handle_exception(exception)

File "/usr/lib/python2.7/dist-packages/openerp/addons/base/ir/ir_http.py", line 147, in _handle_exception

return request._handle_exception(exception)

File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 737, in _handle_exception

return super(HttpRequest, self)._handle_exception(exception)

File "/usr/lib/python2.7/dist-packages/openerp/addons/base/ir/ir_http.py", line 172, in _dispatch

result = request.dispatch()

File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 768, in dispatch

r = self._call_function(**self.params)

File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 315, in _call_function

return checked_call(self.db, *args, **kwargs)

File "/usr/lib/python2.7/dist-packages/openerp/service/model.py", line 118, in wrapper

return f(dbname, *args, **kwargs)

File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 308, in checked_call

result = self.endpoint(*a, **kw)

File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 887, in __call__

return self.method(*args, **kw)

File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 465, in response_wrap

response = f(*args, **kw)

File "/usr/lib/python2.7/dist-packages/openerp/addons/website/controllers/main.py", line 44, in index

return request.registry['ir.http'].reroute(first_menu.url)

File "/usr/lib/python2.7/dist-packages/openerp/addons/website/models/ir_http.py", line 209, in reroute

return self._dispatch()

File "/usr/lib/python2.7/dist-packages/openerp/addons/website_sale/models/ir_http.py", line 12, in _dispatch

return super(IrHttp, self)._dispatch()

File "/usr/lib/python2.7/dist-packages/openerp/addons/website/models/ir_http.py", line 175, in _dispatch

key = self.get_page_key()

File "/usr/lib/python2.7/dist-packages/openerp/addons/website/models/ir_http.py", line 94, in get_page_key

return (self._name, "cache", request.uid, request.lang, request.httprequest.full_path)

AttributeError: 'Request' object has no attribute 'full_path'

it does only when i install ecommerce module otherwise it redirect to login page so how can i solve this.

Business ERP
On 1/26/16, 11:37 AM

Check your requests, werkzeug, oauth lib versions with requirements file.

Gregory Gillis
On 1/5/17, 1:42 PM

I am having this issue with v10 on Ubuntu 16.04. I have werkzeug updated and running with 0.11.10 and am receiving the same error message on product pages when logged out.

Resolved. Had a line of code on the product page that was looking for the uom that was hanging the system. Removed from HTML editor and loads properly.

A.T. Merhaut, Inc., Gregory Gillis
on 1/5/17, 1:58 PM
On 1/26/16, 11:23 AM

The Request is from werkzeug. You can check your werkzeug version. It should be >= 0.96. 

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: 11/5/15, 8:27 AM
Seen: 2520 times
Last updated: 1/5/17, 1:42 PM