Skip to Content
Menu
This question has been flagged
641 Views

I was configuring my Odoo preferences and mail settings, then suddenly stopped working. Can't remember what exactly did I do when it stopped working.

This is the error: 


2021-12-08 06:24:29,444 69888 ERROR mydb werkzeug: Error on request:
Traceback (most recent call last):
File "/home/hp-server/odoo/odoo/addons/base/models/qweb.py", line 219, in render_template
yield from compiled_fn(self, values, log)
File "", line 75, in template_186

KeyError: 'website'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/hp-server/odoo/addons/http_routing/models/ir_http.py", line 659, in _handle_exception
code, html = cls._get_error_html(env, code, values)
File "/home/hp-server/odoo/addons/http_routing/models/ir_http.py", line 604, in _get_error_html
return code, env['ir\.ui\.view'\]\._render_template\('http_routing\.%s'\ %\ code,\ values\)
\ \ File\ "/home/hp\-server/odoo/odoo/addons/base/models/ir_ui_view\.py",\ line\ 1976,\ in\ _render_template
\ \ \ \ return\ self\.browse\(self\.get_view_id\(template\)\)\._render\(values,\ engine\)
\ \ File\ "/home/hp\-server/odoo/addons/web_editor/models/ir_ui_view\.py",\ line\ 29,\ in\ _render
\ \ \ \ return\ super\(IrUiView,\ self\)\._render\(values=values,\ engine=engine,\ minimal_qcontext=minimal_qcontext\)
\ \ File\ "/home/hp\-server/odoo/odoo/addons/base/models/ir_ui_view\.py",\ line\ 1984,\ in\ _render
\ \ \ \ return\ self\.env\[engine\]\._render\(self\.id,\ qcontext\)
\ \ File\ "/home/hp\-server/odoo/odoo/tools/profiler\.py",\ line\ 289,\ in\ _tracked_method_render
\ \ \ \ return\ method_render\(self,\ template,\ values,\ \*\*options\)
\ \ File\ "/home/hp\-server/odoo/odoo/addons/base/models/ir_qweb\.py",\ line\ 74,\ in\ _render
\ \ \ \ result\ =\ super\(\)\._render\(template,\ values=values,\ \*\*compile_options\)
\ \ File\ "/home/hp\-server/odoo/odoo/addons/base/models/qweb\.py",\ line\ 134,\ in\ _render
\ \ \ \ result\ =\ ''\.join\(rendering\)
\ \ File\ "/home/hp\-server/odoo/odoo/addons/base/models/qweb\.py",\ line\ 221,\ in\ render_template
\ \ \ \ raise\ e
\ \ File\ "/home/hp\-server/odoo/odoo/addons/base/models/qweb\.py",\ line\ 219,\ in\ render_template
\ \ \ \ yield\ from\ compiled_fn\(self,\ values,\ log\)
\ \ File\ "",\ line\ 20,\ in\ template_232
\ \ \ \
\ \ File\ "/home/hp\-server/odoo/odoo/addons/base/models/qweb\.py",\ line\ 223,\ in\ render_template
\ \ \ \ raise\ QWebException\("Error\ when\ render\ the\ template",\ self,\ options,
odoo\.addons\.base\.models\.qweb\.QWebException:\ 'website'
Traceback\ \(most\ recent\ call\ last\):
\ \ File\ "/home/hp\-server/odoo/odoo/addons/base/models/qweb\.py",\ line\ 219,\ in\ render_template
\ \ \ \ yield\ from\ compiled_fn\(self,\ values,\ log\)
\ \ File\ "",\ line\ 75,\ in\ template_186
KeyError:\ 'website'

Error\ when\ render\ the\ template
KeyError:\ 'website'
Template:\ web\.frontend_layout
Path:\ /t/html/t\[2\]
Node:\

During\ handling\ of\ the\ above\ exception,\ another\ exception\ occurred:

Traceback\ \(most\ recent\ call\ last\):
\ \ File\ "/home/hp\-server/odoo/odoo/addons/base/models/qweb\.py",\ line\ 219,\ in\ render_template
\ \ \ \ yield\ from\ compiled_fn\(self,\ values,\ log\)
\ \ File\ "",\ line\ 75,\ in\ template_186
\ \ \ \
KeyError:\ 'website'

During\ handling\ of\ the\ above\ exception,\ another\ exception\ occurred:

Traceback\ \(most\ recent\ call\ last\):
\ \ File\ "/usr/lib/python3/dist\-packages/werkzeug/serving\.py",\ line\ 306,\ in\ run_wsgi
\ \ \ \ execute\(self\.server\.app\)
\ \ File\ "/usr/lib/python3/dist\-packages/werkzeug/serving\.py",\ line\ 294,\ in\ execute
\ \ \ \ application_iter\ =\ app\(environ,\ start_response\)
\ \ File\ "/home/hp\-server/odoo/odoo/service/server\.py",\ line\ 476,\ in\ app
\ \ \ \ return\ self\.app\(e,\ s\)
\ \ File\ "/home/hp\-server/odoo/odoo/service/wsgi_server\.py",\ line\ 112,\ in\ application
\ \ \ \ return\ application_unproxied\(environ,\ start_response\)
\ \ File\ "/home/hp\-server/odoo/odoo/service/wsgi_server\.py",\ line\ 87,\ in\ application_unproxied
\ \ \ \ result\ =\ odoo\.http\.root\(environ,\ start_response\)
\ \ File\ "/home/hp\-server/odoo/odoo/http\.py",\ line\ 1313,\ in\ __call__
\ \ \ \ return\ self\.dispatch\(environ,\ start_response\)
\ \ File\ "/home/hp\-server/odoo/odoo/http\.py",\ line\ 1279,\ in\ __call__
\ \ \ \ return\ self\.app\(environ,\ start_wrapped\)
\ \ File\ "/usr/lib/python3/dist\-packages/werkzeug/middleware/shared_data\.py",\ line\ 220,\ in\ __call__
\ \ \ \ return\ self\.app\(environ,\ start_response\)
\ \ File\ "/home/hp\-server/odoo/odoo/http\.py",\ line\ 1489,\ in\ dispatch
\ \ \ \ result\ =\ ir_http\._dispatch\(\)
\ \ File\ "/home/hp\-server/odoo/addons/auth_signup/models/ir_http\.py",\ line\ 19,\ in\ _dispatch
\ \ \ \ return\ super\(Http,\ cls\)\._dispatch\(\)
\ \ File\ "/home/hp\-server/odoo/addons/web_editor/models/ir_http\.py",\ line\ 21,\ in\ _dispatch
\ \ \ \ return\ super\(IrHttp,\ cls\)\._dispatch\(\)
\ \ File\ "/home/hp\-server/odoo/addons/utm/models/ir_http\.py",\ line\ 29,\ in\ _dispatch
\ \ \ \ response\ =\ super\(IrHttp,\ cls\)\._dispatch\(\)
\ \ File\ "/home/hp\-server/odoo/addons/http_routing/models/ir_http\.py",\ line\ 498,\ in\ _dispatch
\ \ \ \ return\ cls\.reroute\('/'\.join\(path\)\ or\ '/'\)
\ \ File\ "/home/hp\-server/odoo/addons/http_routing/models/ir_http\.py",\ line\ 543,\ in\ reroute
\ \ \ \ return\ cls\._dispatch\(\)
\ \ File\ "/home/hp\-server/odoo/addons/auth_signup/models/ir_http\.py",\ line\ 19,\ in\ _dispatch
\ \ \ \ return\ super\(Http,\ cls\)\._dispatch\(\)
\ \ File\ "/home/hp\-server/odoo/addons/web_editor/models/ir_http\.py",\ line\ 21,\ in\ _dispatch
\ \ \ \ return\ super\(IrHttp,\ cls\)\._dispatch\(\)
\ \ File\ "/home/hp\-server/odoo/addons/utm/models/ir_http\.py",\ line\ 29,\ in\ _dispatch
\ \ \ \ response\ =\ super\(IrHttp,\ cls\)\._dispatch\(\)
\ \ File\ "/home/hp\-server/odoo/addons/http_routing/models/ir_http\.py",\ line\ 512,\ in\ _dispatch
\ \ \ \ return\ cls\._handle_exception\(routing_error\)
\ \ File\ "/home/hp\-server/odoo/addons/utm/models/ir_http\.py",\ line\ 34,\ in\ _handle_exception
\ \ \ \ response\ =\ super\(IrHttp,\ cls\)\._handle_exception\(exc\)
\ \ File\ "/home/hp\-server/odoo/addons/http_routing/models/ir_http\.py",\ line\ 661,\ in\ _handle_exception
\ \ \ \ code,\ html\ =\ 418,\ env\['ir\.ui\.view'\]\._render_template\('http_routing\.http_error',\ values\)
\ \ File\ "/home/hp\-server/odoo/odoo/addons/base/models/ir_ui_view\.py",\ line\ 1976,\ in\ _render_template
\ \ \ \ return\ self\.browse\(self\.get_view_id\(template\)\)\._render\(values,\ engine\)
\ \ File\ "/home/hp\-server/odoo/addons/web_editor/models/ir_ui_view\.py",\ line\ 29,\ in\ _render
\ \ \ \ return\ super\(IrUiView,\ self\)\._render\(values=values,\ engine=engine,\ minimal_qcontext=minimal_qcontext\)
\ \ File\ "/home/hp\-server/odoo/odoo/addons/base/models/ir_ui_view\.py",\ line\ 1984,\ in\ _render
\ \ \ \ return\ self\.env\[engine\]\._render\(self\.id,\ qcontext\)
\ \ File\ "/home/hp\-server/odoo/odoo/tools/profiler\.py",\ line\ 289,\ in\ _tracked_method_render
\ \ \ \ return\ method_render\(self,\ template,\ values,\ \*\*options\)
\ \ File\ "/home/hp\-server/odoo/odoo/addons/base/models/ir_qweb\.py",\ line\ 74,\ in\ _render
\ \ \ \ result\ =\ super\(\)\._render\(template,\ values=values,\ \*\*compile_options\)
\ \ File\ "/home/hp\-server/odoo/odoo/addons/base/models/qweb\.py",\ line\ 134,\ in\ _render
\ \ \ \ result\ =\ ''\.join\(rendering\)
\ \ File\ "/home/hp\-server/odoo/odoo/addons/base/models/qweb\.py",\ line\ 221,\ in\ render_template
\ \ \ \ raise\ e
\ \ File\ "/home/hp\-server/odoo/odoo/addons/base/models/qweb\.py",\ line\ 219,\ in\ render_template
\ \ \ \ yield\ from\ compiled_fn\(self,\ values,\ log\)
\ \ File\ "",\ line\ 46,\ in\ template_227
\ \ \ \
\ \ File\ "/home/hp\-server/odoo/odoo/addons/base/models/qweb\.py",\ line\ 223,\ in\ render_template
\ \ \ \ raise\ QWebException\("Error\ when\ render\ the\ template",\ self,\ options,
odoo\.addons\.base\.models\.qweb\.QWebException:\ 'website'
Traceback\ \(most\ recent\ call\ last\):
\ \ File\ "/home/hp\-server/odoo/odoo/addons/base/models/qweb\.py",\ line\ 219,\ in\ render_template
\ \ \ \ yield\ from\ compiled_fn\(self,\ values,\ log\)
\ \ File\ "",\ line\ 75,\ in\ template_186
KeyError:\ 'website'

During\ handling\ of\ the\ above\ exception,\ another\ exception\ occurred:

Traceback\ \(most\ recent\ call\ last\):
\ \ File\ "/home/hp\-server/odoo/addons/http_routing/models/ir_http\.py",\ line\ 659,\ in\ _handle_exception
\ \ \ \ code,\ html\ =\ cls\._get_error_html\(env,\ code,\ values\)
\ \ File\ "/home/hp\-server/odoo/addons/http_routing/models/ir_http\.py",\ line\ 604,\ in\ _get_error_html
\ \ \ \ return\ code,\ env\['ir\.ui\.view'\]\._render_template\('http_routing\.%s'\ %\ code,\ values\)
\ \ File\ "/home/hp\-server/odoo/odoo/addons/base/models/ir_ui_view\.py",\ line\ 1976,\ in\ _render_template
\ \ \ \ return\ self\.browse\(self\.get_view_id\(template\)\)\._render\(values,\ engine\)
\ \ File\ "/home/hp\-server/odoo/addons/web_editor/models/ir_ui_view\.py",\ line\ 29,\ in\ _render
\ \ \ \ return\ super\(IrUiView,\ self\)\._render\(values=values,\ engine=engine,\ minimal_qcontext=minimal_qcontext\)
\ \ File\ "/home/hp\-server/odoo/odoo/addons/base/models/ir_ui_view\.py",\ line\ 1984,\ in\ _render
\ \ \ \ return\ self\.env\[engine\]\._render\(self\.id,\ qcontext\)
\ \ File\ "/home/hp\-server/odoo/odoo/tools/profiler\.py",\ line\ 289,\ in\ _tracked_method_render
\ \ \ \ return\ method_render\(self,\ template,\ values,\ \*\*options\)
\ \ File\ "/home/hp\-server/odoo/odoo/addons/base/models/ir_qweb\.py",\ line\ 74,\ in\ _render
\ \ \ \ result\ =\ super\(\)\._render\(template,\ values=values,\ \*\*compile_options\)
\ \ File\ "/home/hp\-server/odoo/odoo/addons/base/models/qweb\.py",\ line\ 134,\ in\ _render
\ \ \ \ result\ =\ ''\.join\(rendering\)
\ \ File\ "/home/hp\-server/odoo/odoo/addons/base/models/qweb\.py",\ line\ 221,\ in\ render_template
\ \ \ \ raise\ e
\ \ File\ "/home/hp\-server/odoo/odoo/addons/base/models/qweb\.py",\ line\ 219,\ in\ render_template
\ \ \ \ yield\ from\ compiled_fn\(self,\ values,\ log\)
\ \ File\ "",\ line\ 20,\ in\ template_232
\ \ File\ "/home/hp\-server/odoo/odoo/addons/base/models/qweb\.py",\ line\ 223,\ in\ render_template
\ \ \ \ raise\ QWebException\("Error\ when\ render\ the\ template",\ self,\ options,
odoo.addons.base.models.qweb.QWebException: 'website'
Traceback (most recent call last):
File "/home/hp-server/odoo/odoo/addons/base/models/qweb.py", line 219, in render_template
yield from compiled_fn(self, values, log)
File "", line 75, in template_186
KeyError: 'website'

Error when render the template
KeyError: 'website'
Template: web.frontend_layout
Path: /t/html/t[2]
Node:


During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/hp-server/odoo/odoo/addons/base/models/qweb.py", line 219, in render_template
yield from compiled_fn(self, values, log)
File "", line 75, in template_186
KeyError: 'website'

Error when render the template
KeyError: 'website'
Template: web.frontend_layout
Path: /t/html/t[2]
Node: - - -

Avatar
Discard
Related Posts Replies Views Activity
2
Oct 20
6120
4
Apr 17
3939
2
Mar 22
2545
4
Sep 15
4487
1
Dec 24
173