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.

0

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

By
kartik
on 11/5/15, 8:27 AM 1,335 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.

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

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

0
joshuajan
On 1/26/16, 11:23 AM

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

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: 11/5/15, 8:27 AM
Seen: 1335 times
Last updated: 1/26/16, 11:37 AM