Hi guys..
I got this weird error message while clicking the link given from the Send an Invitation Email.
Trace..
2016-04-19 04:31:50,741 14026 INFO PATHLIGHT_22Mar_2016 werkzeug: 127.0.0.1 - - [19/Apr/2016 04:31:50] "GET /web/reset_password?token=WK6GCjiL42SPxLVWcprD&db=PATHLIGHT_22Mar_2016 HTTP/1.1" 500 -
2016-04-19 04:31:50,795 14026 ERROR PATHLIGHT_22Mar_2016 werkzeug: Error on request:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/werkzeug/serving.py", line 159, in run_wsgi
execute(app)
File "/usr/local/lib/python2.7/dist-packages/werkzeug/serving.py", line 146, in execute
application_iter = app(environ, start_response)
File "/home/wilbert/OpenERP/tigernixerp8/openerp/service/server.py", line 290, in app
return self.app(e, s)
File "/home/wilbert/OpenERP/tigernixerp8/openerp/service/wsgi_server.py", line 216, in application
return application_unproxied(environ, start_response)
File "/home/wilbert/OpenERP/tigernixerp8/openerp/service/wsgi_server.py", line 202, in application_unproxied
result = handler(environ, start_response)
File "/home/wilbert/OpenERP/tigernixerp8/openerp/http.py", line 1290, in __call__
return self.dispatch(environ, start_response)
File "/home/wilbert/OpenERP/tigernixerp8/openerp/http.py", line 1264, in __call__
return self.app(environ, start_wrapped)
File "/usr/local/lib/python2.7/dist-packages/werkzeug/wsgi.py", line 411, in __call__
return self.app(environ, start_response)
File "/home/wilbert/OpenERP/tigernixerp8/openerp/http.py", line 1264, in __call__
return self.app(environ, start_wrapped)
File "/usr/local/lib/python2.7/dist-packages/werkzeug/wsgi.py", line 411, in __call__
return self.app(environ, start_response)
File "/home/wilbert/OpenERP/tigernixerp8/openerp/http.py", line 1440, in dispatch
response = self.get_response(httprequest, result, explicit_session)
File "/home/wilbert/OpenERP/tigernixerp8/openerp/http.py", line 1371, in get_response
result = request.registry['ir.http']._handle_exception(e)
File "/home/wilbert/OpenERP/tigernixerp8/openerp/addons/base/ir/ir_http.py", line 145, in _handle_exception
return request._handle_exception(exception)
File "/home/wilbert/OpenERP/tigernixerp8/openerp/http.py", line 666, in _handle_exception
return super(HttpRequest, self)._handle_exception(exception)
File "/home/wilbert/OpenERP/tigernixerp8/openerp/http.py", line 1368, in get_response
result.flatten()
File "/home/wilbert/OpenERP/tigernixerp8/openerp/http.py", line 1241, in flatten
self.response.append(self.render())
File "/home/wilbert/OpenERP/tigernixerp8/openerp/http.py", line 1235, in render
context=request.context)
File "/home/wilbert/OpenERP/tigernixerp8/openerp/api.py", line 241, in wrapper
return old_api(self, *args, **kwargs)
File "/home/wilbert/OpenERP/tigernixerp8/openerp/addons/base/ir/ir_ui_view.py", line 1026, in render
return self.pool[engine].render(cr, uid, id_or_xml_id, qcontext, loader=loader, context=context)
File "/home/wilbert/OpenERP/tigernixerp8/openerp/api.py", line 241, in wrapper
return old_api(self, *args, **kwargs)
File "/home/wilbert/OpenERP/tigernixerp8/openerp/addons/base/ir/ir_qweb.py", line 264, in render
return self.render_node(self.get_template(id_or_xml_id, qwebcontext), qwebcontext)
File "/home/wilbert/OpenERP/tigernixerp8/openerp/addons/base/ir/ir_qweb.py", line 303, in render_node
result = self.render_element(element, template_attributes, generated_attributes, qwebcontext)
File "/home/wilbert/OpenERP/tigernixerp8/openerp/addons/base/ir/ir_qweb.py", line 324, in render_element
g_inner.append(self.render_node(current_node, qwebcontext))
File "/home/wilbert/OpenERP/tigernixerp8/openerp/addons/base/ir/ir_qweb.py", line 301, in render_node
result = self._render_tag[t_render](self, element, template_attributes, generated_attributes, qwebcontext)
File "/home/wilbert/OpenERP/tigernixerp8/openerp/addons/base/ir/ir_qweb.py", line 439, in render_tag_call
d[0] = self.render_element(element, template_attributes, generated_attributes, d)
File "/home/wilbert/OpenERP/tigernixerp8/openerp/addons/base/ir/ir_qweb.py", line 324, in render_element
g_inner.append(self.render_node(current_node, qwebcontext))
File "/home/wilbert/OpenERP/tigernixerp8/openerp/addons/base/ir/ir_qweb.py", line 301, in render_node
result = self._render_tag[t_render](self, element, template_attributes, generated_attributes, qwebcontext)
File "/home/wilbert/OpenERP/tigernixerp8/openerp/addons/base/ir/ir_qweb.py", line 434, in render_tag_if
return self.render_element(element, template_attributes, generated_attributes, qwebcontext)
File "/home/wilbert/OpenERP/tigernixerp8/openerp/addons/base/ir/ir_qweb.py", line 324, in render_element
g_inner.append(self.render_node(current_node, qwebcontext))
File "/home/wilbert/OpenERP/tigernixerp8/openerp/addons/base/ir/ir_qweb.py", line 301, in render_node
result = self._render_tag[t_render](self, element, template_attributes, generated_attributes, qwebcontext)
File "/home/wilbert/OpenERP/tigernixerp8/openerp/addons/base/ir/ir_qweb.py", line 434, in render_tag_if
return self.render_element(element, template_attributes, generated_attributes, qwebcontext)
File "/home/wilbert/OpenERP/tigernixerp8/openerp/addons/base/ir/ir_qweb.py", line 324, in render_element
g_inner.append(self.render_node(current_node, qwebcontext))
File "/home/wilbert/OpenERP/tigernixerp8/openerp/addons/base/ir/ir_qweb.py", line 301, in render_node
result = self._render_tag[t_render](self, element, template_attributes, generated_attributes, qwebcontext)
File "/home/wilbert/OpenERP/tigernixerp8/openerp/addons/base/ir/ir_qweb.py", line 448, in render_tag_call
return self.render(cr, uid, template, d)
File "/home/wilbert/OpenERP/tigernixerp8/openerp/api.py", line 241, in wrapper
return old_api(self, *args, **kwargs)
File "/home/wilbert/OpenERP/tigernixerp8/openerp/addons/base/ir/ir_qweb.py", line 264, in render
return self.render_node(self.get_template(id_or_xml_id, qwebcontext), qwebcontext)
File "/home/wilbert/OpenERP/tigernixerp8/openerp/addons/base/ir/ir_qweb.py", line 303, in render_node
result = self.render_element(element, template_attributes, generated_attributes, qwebcontext)
File "/home/wilbert/OpenERP/tigernixerp8/openerp/addons/base/ir/ir_qweb.py", line 324, in render_element
g_inner.append(self.render_node(current_node, qwebcontext))
File "/home/wilbert/OpenERP/tigernixerp8/openerp/addons/base/ir/ir_qweb.py", line 301, in render_node
result = self._render_tag[t_render](self, element, template_attributes, generated_attributes, qwebcontext)
File "/home/wilbert/OpenERP/tigernixerp8/openerp/addons/base/ir/ir_qweb.py", line 448, in render_tag_call
return self.render(cr, uid, template, d)
File "/home/wilbert/OpenERP/tigernixerp8/openerp/api.py", line 241, in wrapper
return old_api(self, *args, **kwargs)
File "/home/wilbert/OpenERP/tigernixerp8/openerp/addons/base/ir/ir_qweb.py", line 264, in render
return self.render_node(self.get_template(id_or_xml_id, qwebcontext), qwebcontext)
File "/home/wilbert/OpenERP/tigernixerp8/openerp/addons/base/ir/ir_qweb.py", line 303, in render_node
result = self.render_element(element, template_attributes, generated_attributes, qwebcontext)
File "/home/wilbert/OpenERP/tigernixerp8/openerp/addons/base/ir/ir_qweb.py", line 324, in render_element
g_inner.append(self.render_node(current_node, qwebcontext))
File "/home/wilbert/OpenERP/tigernixerp8/openerp/addons/base/ir/ir_qweb.py", line 303, in render_node
result = self.render_element(element, template_attributes, generated_attributes, qwebcontext)
File "/home/wilbert/OpenERP/tigernixerp8/openerp/addons/base/ir/ir_qweb.py", line 324, in render_element
g_inner.append(self.render_node(current_node, qwebcontext))
File "/home/wilbert/OpenERP/tigernixerp8/openerp/addons/base/ir/ir_qweb.py", line 303, in render_node
result = self.render_element(element, template_attributes, generated_attributes, qwebcontext)
File "/home/wilbert/OpenERP/tigernixerp8/openerp/addons/base/ir/ir_qweb.py", line 324, in render_element
g_inner.append(self.render_node(current_node, qwebcontext))
File "/home/wilbert/OpenERP/tigernixerp8/openerp/addons/base/ir/ir_qweb.py", line 285, in render_node
self, element, attribute_name, attribute_value, qwebcontext)
File "/home/wilbert/OpenERP/tigernixerp8/openerp/addons/base/ir/ir_qweb.py", line 360, in render_att_att
return [(attribute_name[6:], self.eval(attribute_value, qwebcontext))]
File "/home/wilbert/OpenERP/tigernixerp8/openerp/addons/base/ir/ir_qweb.py", line 208, in eval
raise_qweb_exception(message="Could not evaluate expression %r" % expr, expression=expr, template=template)
File "/home/wilbert/OpenERP/tigernixerp8/openerp/addons/base/ir/ir_qweb.py", line 204, in eval
return qwebcontext.safe_eval(expr)
File "/home/wilbert/OpenERP/tigernixerp8/openerp/addons/base/ir/ir_qweb.py", line 89, in safe_eval
return eval(expr, None, locals_dict, nocopy=True, locals_builtins=True)
File "/home/wilbert/OpenERP/tigernixerp8/openerp/tools/safe_eval.py", line 314, in safe_eval
return eval(c, globals_dict, locals_dict)
File "", line 1, in <module>
QWebException: "argument of type 'NoneType' is not iterable" while evaluating
"'autofocus' if request.db not in databases else None"
Note that this is not the typical 404 page not found error. It's 500 internal server error.
Things I've tried :
- Clear cache
- Using --db filter
- Upgrade base, auth_signup, email_template module
Still the same..
Please help
Any answer regarding this?
Alright problem solved. We have some modification on the web module that's causing the problem. Ty