2025-03-27 08:17:48,879 26540 ERROR ? odoo.addons.queue_job.jobrunner.runner: exception: sleeping 5s and retrying
Traceback (most recent call last):
File "c:\training\odoo17\external-addons\queue_job\jobrunner\runner.py", line 521, in run
self.wait_notification()
File "c:\training\odoo17\external-addons\queue_job\jobrunner\runner.py", line 494, in wait_notification
events = sel.select(timeout=timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python312\Lib\selectors.py", line 323, in select
r, w, _ = self._select(self._readers, self._writers, [], timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python312\Lib\selectors.py", line 314, in _select
r, w, x = select.select(r, w, w, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: [WinError 10038] An operation was attempted on something that is not a socket
2025-03-27 08:17:51,931 26540 INFO newalph_db werkzeug: 127.0.0.1 - - [27/Mar/2025 08:17:51] "GET /web?db=newalph_db HTTP/1.1" 303 - 4 0.004 0.006
2025-03-27 08:17:52,238 26540 DEBUG newalph_db odoo.addons.http_routing.models.ir_http: '/web/login' (lang: 'en') missing lang in url, redirect
2025-03-27 08:17:52,239 26540 INFO newalph_db werkzeug: 127.0.0.1 - - [27/Mar/2025 08:17:52] "GET /web/login?db=newalph_db HTTP/1.1" 303 - 1 0.001 0.002
2025-03-27 08:17:52,503 26540 DEBUG newalph_db odoo.addons.http_routing.models.ir_http: '/en/web/login' (lang: 'en') valid lang in url, rewrite url and continue
2025-03-27 08:17:52,895 26540 ERROR newalph_db odoo.http: Exception during request handling.
Traceback (most recent call last):
File "C:\training\odoo17\odoo\odoo\tools\cache.py", line 99, in lookup
r = d[key]
~^^^^^
File "C:\training\odoo17\venv\Lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\training\odoo17\odoo\odoo\tools\func.py", line 87, in locked
return func(inst, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\training\odoo17\odoo\odoo\tools\lru.py", line 34, in __getitem__
a = self.d[obj]
~~~~~~^^^^^
KeyError: ('ir.qweb', <function IrQWeb._get_cached_values at 0x0000016730C47880>, ('3878', "'en_US'", 'None', 'None', 'None', 'None', 'None', 'None', 'None', '1'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\training\odoo17\odoo\odoo\addons\base\models\ir_qweb.py", line 654, in generate_functions
compiled = compile(code, f"<{ref}>", 'exec')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<3878>", line 1387
cache_key = self._get_cache_key(template_cache_key) if template_cache_key else None
IndentationError: unexpected indent
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\training\odoo17\odoo\odoo\http.py", line 2208, in __call__
response = request._serve_db()
^^^^^^^^^^^^^^^^^^^
File "C:\training\odoo17\odoo\odoo\http.py", line 1783, in _serve_db
return service_model.retrying(self._serve_ir_http, self.env)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\training\odoo17\odoo\odoo\service\model.py", line 133, in retrying
result = func()
^^^^^^
File "C:\training\odoo17\odoo\odoo\http.py", line 1810, in _serve_ir_http
response = self.dispatcher.dispatch(rule.endpoint, args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\training\odoo17\odoo\odoo\http.py", line 1927, in dispatch
return self.request.registry['ir.http']._dispatch(endpoint)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\training\odoo17\odoo\addons\website\models\ir_http.py", line 235, in _dispatch
response = super()._dispatch(endpoint)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\training\odoo17\odoo\odoo\addons\base\models\ir_http.py", line 224, in _dispatch
result.flatten()
File "C:\training\odoo17\odoo\odoo\http.py", line 1331, in flatten
self.response.append(self.render())
^^^^^^^^^^^^^
File "C:\training\odoo17\odoo\odoo\http.py", line 1323, in render
return request.env["ir.ui.view"]._render_template(self.template, self.qcontext)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\training\odoo17\odoo\addons\website\models\ir_ui_view.py", line 442, in _render_template
return super()._render_template(template, values=values)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "c:\training\odoo17\odoo\enterprise\web_studio\models\ir_ui_view.py", line 1357, in _render_template
return super(View, self)._render_template(template, values)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\training\odoo17\odoo\odoo\addons\base\models\ir_ui_view.py", line 2053, in _render_template
return self.env['ir.qweb']._render(template, values)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\training\odoo17\odoo\odoo\tools\profiler.py", line 294, in _tracked_method_render
return method_render(self, template, values, **options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\training\odoo17\odoo\odoo\addons\base\models\ir_qweb.py", line 599, in _render
result = ''.join(rendering)
^^^^^^^^^^^^^^^^^^
File "<7109>", line 243, in template_7109
File "<7109>", line 232, in template_7109_content
File "<189>", line 51, in template_189
File "<189>", line 38, in template_189_content
File "C:\training\odoo17\odoo\odoo\tools\profiler.py", line 302, in _tracked_compile
return method_compile(self, template)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\training\odoo17\odoo\odoo\addons\base\models\ir_qweb.py", line 665, in _compile
return self._load_values(base_key_cache, generate_functions)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\training\odoo17\odoo\odoo\addons\base\models\ir_qweb.py", line 2515, in _load_values
value = self._get_cached_values(cache_key, get_value)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\training\odoo17\venv\Lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\training\odoo17\odoo\odoo\tools\cache.py", line 104, in lookup
value = d[key] = self.method(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\training\odoo17\odoo\odoo\addons\base\models\ir_qweb.py", line 2528, in _get_cached_values
return get_value()
^^^^^^^^^^^
File "C:\training\odoo17\odoo\odoo\addons\base\models\ir_qweb.py", line 662, in generate_functions
raise QWebException("Error when compiling xml template",
odoo.addons.base.models.ir_qweb.QWebException: Error when compiling xml template
IndentationError: unexpected indent (<3878>, line 1387)
Template: website.layout
Path: /t/html/head
Node: <head t-cache="main_object if main_object and main_object._name == \'website.page\' and not request.session.debug and not editable and not translatable else None "/>
2025-03-27 08:17:52,899 26540 INFO newalph_db werkzeug: 127.0.0.1 - - [27/Mar/2025 08:17:52] "GET /en/web/login?db=newalph_db HTTP/1.1" 500 - 264 0.091 0.308
2025-03-27 08:17:53,964 26540 INFO ? odoo.addons.queue_job.jobrunner.runner: initializing database connections