Skip to Content
Menu
This question has been flagged
1407 Views

Dear Community,


I'm having following error after creating db on successful installation.


022-08-17 04:28:12,694 1335492 INFO openhrm werkzeug: 109.205.26.25 - - [17/Aug/2022 04:28:12] "GET /web/login HTTP/1.1" 500 -
2022-08-17 04:28:12,698 1335492 ERROR openhrm werkzeug: Error on request:
Traceback (most recent call last):
 File "/usr/local/lib/python3.8/dist-packages/werkzeug/serving.py", line 205, in run_wsgi
   execute(self.server.app)
 File "/usr/local/lib/python3.8/dist-packages/werkzeug/serving.py", line 193, in execute
   application_iter = app(environ, start_response)
 File "/opt/openhrm/odoo/service/server.py", line 348, in app
   return self.app(e, s)
 File "/opt/openhrm/odoo/service/wsgi_server.py", line 180, in application
   return application_unproxied(environ, start_response)
 File "/opt/openhrm/odoo/service/wsgi_server.py", line 154, in application_unproxied
   result = handler(environ, start_response)
 File "/opt/openhrm/odoo/http.py", line 1321, in __call__
   return self.dispatch(environ, start_response)
 File "/opt/openhrm/odoo/http.py", line 1295, in __call__
   return self.app(environ, start_wrapped)
 File "/usr/local/lib/python3.8/dist-packages/werkzeug/wsgi.py", line 599, in __call__
   return self.app(environ, start_response)
 File "/opt/openhrm/odoo/http.py", line 1493, in dispatch
   result = ir_http._dispatch()
 File "/opt/openhrm/addons/web_editor/models/ir_http.py", line 22, in _dispatch
   return super(IrHttp, cls)._dispatch()
 File "/opt/openhrm/odoo/addons/base/ir/ir_http.py", line 212, in _dispatch
   return cls._handle_exception(e)
 File "/opt/openhrm/odoo/addons/base/ir/ir_http.py", line 182, in _handle_exception
   return request._handle_exception(exception)
 File "/opt/openhrm/odoo/http.py", line 773, in _handle_exception
   return super(HttpRequest, self)._handle_exception(exception)
 File "/opt/openhrm/odoo/http.py", line 312, in _handle_exception
   raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
 File "/opt/openhrm/odoo/tools/pycompat.py", line 87, in reraise
   raise value
 File "/opt/openhrm/odoo/addons/base/ir/ir_http.py", line 208, in _dispatch
   result = request.dispatch()
 File "/opt/openhrm/odoo/http.py", line 832, in dispatch
   r = self._call_function(**self.params)
 File "/opt/openhrm/odoo/http.py", line 344, in _call_function
   return checked_call(self.db, *args, **kwargs)
 File "/opt/openhrm/odoo/service/model.py", line 97, in wrapper
   return f(dbname, *args, **kwargs)
 File "/opt/openhrm/odoo/http.py", line 340, in checked_call
   result.flatten()
 File "/opt/openhrm/odoo/http.py", line 1272, in flatten
   self.response.append(self.render())
 File "/opt/openhrm/odoo/http.py", line 1265, in render
   return env["ir.ui.view"].render_template(self.template, self.qcontext)
 File "/opt/openhrm/odoo/addons/base/ir/ir_ui_view.py", line 1230, in render_template
   return self.browse(self.get_view_id(template)).render(values, engine)
 File "/opt/openhrm/addons/web_editor/models/ir_ui_view.py", line 27, in render
   return super(IrUiView, self).render(values=values, engine=engine)
 File "/opt/openhrm/odoo/addons/base/ir/ir_ui_view.py", line 1239, in render
   return self.env[engine].render(self.id, qcontext)
 File "/opt/openhrm/odoo/addons/base/ir/ir_qweb/ir_qweb.py", line 57, in render
   return super(IrQWeb, self).render(id_or_xml_id, values=values, **context)
 File "/opt/openhrm/odoo/addons/base/ir/ir_qweb/qweb.py", line 275, in render
   self.compile(template, options)(self, body.append, values or {})
 File "", line 2, in compile
    
 File "/opt/openhrm/odoo/tools/cache.py", line 89, in lookup
   value = d[key] = self.method(*args, **kwargs)
 File "/opt/openhrm/odoo/addons/base/ir/ir_qweb/ir_qweb.py", line 77, in compile
   return super(IrQWeb, self).compile(id_or_xml_id, options=options)
 File "/opt/openhrm/odoo/addons/base/ir/ir_qweb/qweb.py", line 337, in compile
   raise QWebException("Error when compiling AST", e, path, node and etree.tostring(node[0], encoding='unicode'), name)
odoo.addons.base.ir.ir_qweb.qweb.QWebException: Name node can't be used with 'None' constant
Traceback (most recent call last):
 File "/opt/openhrm/odoo/tools/cache.py", line 84, in lookup
   r = d[key]
 File "/opt/openhrm/odoo/tools/func.py", line 68, in wrapper
   return func(self, *args, **kwargs)
 File "/opt/openhrm/odoo/tools/lru.py", line 44, in __getitem__
   a = self.d[obj].me
KeyError: ('ir.qweb', , 162, ('en_US', None, None, None, None, None))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
 File "/opt/openhrm/odoo/addons/base/ir/ir_qweb/qweb.py", line 330, in compile
   unsafe_eval(compile(astmod, '', 'exec'), ns)
ValueError: Name node can't be used with 'None' constant

Error when compiling AST
ValueError: Name node can't be used with 'None' constant
Template: 162
Path: /templates/t/t/form/div[4]/button
Node:

any idea what is wrong .

Avatar
Discard
Related Posts Replies Views Activity
0
Nov 24
51
1
Jul 24
781
0
Aug 24
339
1
Apr 24
591
2
Nov 24
2213