Skip to Content
Menu
This question has been flagged
3808 Views

After update odoo 9 from community to enterprise edition i get this error is it someone can help me i get a QWebException and i can't start odoo after login page  


this my entire log please help me 




2016-01-07 17:24:00,840 1722 ERROR odootim werkzeug: Error on request:

Traceback (most recent call last):

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

execute(self.server.app)

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

application_iter = app(environ, start_response)

File "/opt/odoo/odoo/openerp/service/server.py", line 245, in app

return self.app(e, s)

File "/opt/odoo/odoo/openerp/service/wsgi_server.py", line 184, in application

return application_unproxied(environ, start_response)

File "/opt/odoo/odoo/openerp/service/wsgi_server.py", line 170, in application_unproxied

result = handler(environ, start_response)

File "/opt/odoo/odoo/openerp/http.py", line 1488, in __call__

return self.dispatch(environ, start_response)

File "/opt/odoo/odoo/openerp/http.py", line 1462, in __call__

return self.app(environ, start_wrapped)

File "/usr/lib/python2.7/dist-packages/werkzeug/wsgi.py", line 579, in __call__

return self.app(environ, start_response)

File "/opt/odoo/odoo/openerp/http.py", line 1652, in dispatch

result = ir_http._dispatch()

File "/opt/odoo/odoo/addons/web_editor/models/ir_http.py", line 16, in _dispatch

return super(ir_http, self)._dispatch()

File "/opt/odoo/odoo/openerp/addons/base/ir/ir_http.py", line 186, in _dispatch

return self._handle_exception(e)

File "/opt/odoo/odoo/openerp/addons/base/ir/ir_http.py", line 157, in _handle_exception

return request._handle_exception(exception)

File "/opt/odoo/odoo/openerp/http.py", line 781, in _handle_exception

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

File "/opt/odoo/odoo/openerp/addons/base/ir/ir_http.py", line 182, in _dispatch

result = request.dispatch()

File "/opt/odoo/odoo/openerp/http.py", line 840, in dispatch

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

File "/opt/odoo/odoo/openerp/http.py", line 316, in _call_function

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

File "/opt/odoo/odoo/openerp/service/model.py", line 118, in wrapper

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

File "/opt/odoo/odoo/openerp/http.py", line 312, in checked_call

result.flatten()

File "/opt/odoo/odoo/openerp/http.py", line 1439, in flatten

self.response.append(self.render())

File "/opt/odoo/odoo/openerp/http.py", line 1432, in render

context=request.context)

File "/opt/odoo/odoo/openerp/api.py", line 238, in wrapper

return old_api(self, *args, **kwargs)

File "/opt/odoo/odoo/addons/web_editor/models/ir_ui_view.py", line 29, in render

return super(view, self).render(cr, uid, id_or_xml_id, values=values, engine=engine, context=context)

File "/opt/odoo/odoo/openerp/api.py", line 238, in wrapper

return old_api(self, *args, **kwargs)

File "/opt/odoo/odoo/openerp/addons/base/ir/ir_ui_view.py", line 1065, in render

return self.pool[engine].render(cr, uid, id_or_xml_id, qcontext, loader=loader, context=context)

File "/opt/odoo/odoo/openerp/api.py", line 238, in wrapper

return old_api(self, *args, **kwargs)

File "/opt/odoo/odoo/openerp/addons/base/ir/ir_qweb.py", line 254, in render

return self.render_node(element, qwebcontext, generated_attributes=qwebcontext.pop('generated_attributes', ''))

File "/opt/odoo/odoo/openerp/addons/base/ir/ir_qweb.py", line 297, in render_node

result = self.render_element(element, template_attributes, generated_attributes, qwebcontext)

File "/opt/odoo/odoo/openerp/addons/base/ir/ir_qweb.py", line 320, in render_element

generated_attributes= name == "t" and generated_attributes or ''))

File "/opt/odoo/odoo/openerp/addons/base/ir/ir_qweb.py", line 295, in render_node

result = self._render_tag[t_render](self, element, template_attributes, generated_attributes, qwebcontext)

File "/opt/odoo/odoo/openerp/addons/base/ir/ir_qweb.py", line 448, in render_tag_call

d[0] = self.render_element(element, template_attributes, generated_attributes, d)

File "/opt/odoo/odoo/openerp/addons/base/ir/ir_qweb.py", line 320, in render_element

generated_attributes= name == "t" and generated_attributes or ''))

File "/opt/odoo/odoo/openerp/addons/base/ir/ir_qweb.py", line 297, in render_node

result = self.render_element(element, template_attributes, generated_attributes, qwebcontext)

File "/opt/odoo/odoo/openerp/addons/base/ir/ir_qweb.py", line 320, in render_element

generated_attributes= name == "t" and generated_attributes or ''))

File "/opt/odoo/odoo/openerp/addons/base/ir/ir_qweb.py", line 297, in render_node

result = self.render_element(element, template_attributes, generated_attributes, qwebcontext)

File "/opt/odoo/odoo/openerp/addons/base/ir/ir_qweb.py", line 320, in render_element

generated_attributes= name == "t" and generated_attributes or ''))

File "/opt/odoo/odoo/openerp/addons/base/ir/ir_qweb.py", line 295, in render_node

result = self._render_tag[t_render](self, element, template_attributes, generated_attributes, qwebcontext)

File "/opt/odoo/odoo/openerp/addons/base/ir/ir_qweb.py", line 459, in render_tag_call

res = self.render(cr, uid, template, d)

File "/opt/odoo/odoo/openerp/api.py", line 238, in wrapper

return old_api(self, *args, **kwargs)

File "/opt/odoo/odoo/openerp/addons/base/ir/ir_qweb.py", line 254, in render

return self.render_node(element, qwebcontext, generated_attributes=qwebcontext.pop('generated_attributes', ''))

File "/opt/odoo/odoo/openerp/addons/base/ir/ir_qweb.py", line 297, in render_node

result = self.render_element(element, template_attributes, generated_attributes, qwebcontext)

File "/opt/odoo/odoo/openerp/addons/base/ir/ir_qweb.py", line 320, in render_element

generated_attributes= name == "t" and generated_attributes or ''))

File "/opt/odoo/odoo/openerp/addons/base/ir/ir_qweb.py", line 297, in render_node

result = self.render_element(element, template_attributes, generated_attributes, qwebcontext)

File "/opt/odoo/odoo/openerp/addons/base/ir/ir_qweb.py", line 320, in render_element

generated_attributes= name == "t" and generated_attributes or ''))

File "/opt/odoo/odoo/openerp/addons/base/ir/ir_qweb.py", line 295, in render_node

result = self._render_tag[t_render](self, element, template_attributes, generated_attributes, qwebcontext)

File "/opt/odoo/odoo/openerp/addons/base/ir/ir_qweb.py", line 388, in render_tag_foreach

enum = self.eval_object(expr, qwebcontext)

File "/opt/odoo/odoo/openerp/addons/base/ir/ir_qweb.py", line 198, in eval_object

return self.eval(expr, qwebcontext)

File "/opt/odoo/odoo/openerp/addons/base/ir/ir_qweb.py", line 195, in eval

raise_qweb_exception(message="Could not evaluate expression %r" % expr, expression=expr, template=template)

File "/opt/odoo/odoo/openerp/addons/base/ir/ir_qweb.py", line 192, in eval

return qwebcontext.safe_eval(expr)

File "/opt/odoo/odoo/openerp/addons/base/ir/ir_qweb.py", line 104, in safe_eval

return eval(expr, None, locals_dict, nocopy=True, locals_builtins=True)

File "/opt/odoo/odoo/openerp/tools/safe_eval.py", line 298, in safe_eval

return eval(c, globals_dict, locals_dict)

File "", line 1, in <module>

QWebException: "'NoneType' object has no attribute '__getitem__'" while evaluating "menu_data['children']"

Avatar
Discard

Did you make sure the enterprise addons come before the community addons? The configuration file determines this. The "web" module has been completed rewritten for the enterprise edition and you need to make sure the correct web module is being loaded.

Author

Hi Ray Carnes i update my configuration file with enterprise addons path first but i get an error when i start my server this error => "openerp.service.server: Failed to load server-wide module `web_kanban` "