Skip to Content
Menu
This question has been flagged
3 Replies
8338 Views

hi

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.

Avatar
Discard
Best Answer

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

Avatar
Discard
Best Answer

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.

Avatar
Discard

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.

Best Answer

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

Avatar
Discard
Related Posts Replies Views Activity
1
Jun 16
3123
1
Jun 16
2979
3
Jan 16
4925
0
Jan 17
3194
0
Jun 16
2746