app_1 | 2022-02-14 12:05:31,204 241 ERROR latest werkzeug: Error on request:
app_1 | Traceback (most recent call last):
app_1 | File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_http.py", line 237, in _dispatch
app_1 | result = request.dispatch()
app_1 | File "/usr/lib/python3/dist-packages/odoo/http.py", line 807, in dispatch
app_1 | r = self._call_function(**self.params)
app_1 | File "/usr/lib/python3/dist-packages/odoo/http.py", line 360, in _call_function
app_1 | return checked_call(self.db, *args, **kwargs)
app_1 | File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 94, in wrapper
app_1 | return f(dbname, *args, **kwargs)
app_1 | File "/usr/lib/python3/dist-packages/odoo/http.py", line 348, in checked_call
app_1 | result = self.endpoint(*a, **kw)
app_1 | File "/usr/lib/python3/dist-packages/odoo/http.py", line 913, in call
app_1 | return self.method(*args, **kw)
app_1 | File "/usr/lib/python3/dist-packages/odoo/http.py", line 532, in response_wrap
app_1 | response = f(*args, **kw)
app_1 | File "/usr/lib/python3/dist-packages/odoo/addons/website/controllers/main.py", line 79, in index
app_1 | website_page = request.env['ir.http']._serve_page()
app_1 | File "/usr/lib/python3/dist-packages/odoo/addons/website/models/ir_http.py", line 293, in _serve_page
app_1 | r = response.render()
app_1 | File "/usr/lib/python3/dist-packages/odoo/http.py", line 1244, in render
app_1 | return env["ir.ui.view"]._render_template(self.template, self.qcontext)
app_1 | File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_ui_view.py", line 1708, in _render_template
app_1 | return self.browse(self.get_view_id(template))._render(values, engine)
app_1 | File "/usr/lib/python3/dist-packages/odoo/addons/website/models/ir_ui_view.py", line 420, in _render
app_1 | return super(View, self)._render(values, engine=engine, minimal_qcontext=minimal_qcontext)
app_1 | File "/usr/lib/python3/dist-packages/odoo/addons/web_editor/models/ir_ui_view.py", line 28, in _render
app_1 | return super(IrUiView, self)._render(values=values, engine=engine, minimal_qcontext=minimal_qcontext)
app_1 | File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_ui_view.py", line 1716, in _render
app_1 | return self.env[engine]._render(self.id, qcontext)
app_1 | File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_qweb.py", line 55, in _render
app_1 | result = super(IrQWeb, self)._render(id_or_xml_id, values=values, **context)
app_1 | File "/usr/lib/python3/dist-packages/odoo/addons/base/models/qweb.py", line 258, in _render
app_1 | self.compile(template, options)(self, body.append, values or {})
app_1 | File "/usr/lib/python3/dist-packages/odoo/addons/base/models/qweb.py", line 338, in _compiled_fn
app_1 | raise QWebException("Error to render compiling AST", e, path, node and etree.tostring(node[0], encoding='unicode'), name)
app_1 | Exception
app_1 |
app_1 | The above exception was the direct cause of the following exception:
app_1 |
app_1 | Traceback (most recent call last):
app_1 | File "/usr/lib/python3/dist-packages/werkzeug/serving.py", line 306, in run_wsgi
app_1 | execute(self.server.app)
app_1 | File "/usr/lib/python3/dist-packages/werkzeug/serving.py", line 294, in execute
app_1 | application_iter = app(environ, start_response)
app_1 | File "/usr/lib/python3/dist-packages/odoo/service/wsgi_server.py", line 113, in application
app_1 | return application_unproxied(environ, start_response)
app_1 | File "/usr/lib/python3/dist-packages/odoo/service/wsgi_server.py", line 88, in application_unproxied
app_1 | result = odoo.http.root(environ, start_response)
app_1 | File "/usr/lib/python3/dist-packages/odoo/http.py", line 1306, in call
app_1 | return self.dispatch(environ, start_response)
app_1 | File "/usr/lib/python3/dist-packages/odoo/http.py", line 1272, in call
app_1 | return self.app(environ, start_wrapped)
app_1 | File "/usr/lib/python3/dist-packages/werkzeug/middleware/shared_data.py", line 220, in call
app_1 | return self.app(environ, start_response)
app_1 | File "/usr/lib/python3/dist-packages/odoo/http.py", line 1478, in dispatch
app_1 | result = ir_http._dispatch()
app_1 | File "/usr/lib/python3/dist-packages/odoo/addons/website_sale/models/ir_http.py", line 15, in _dispatch
app_1 | return super(IrHttp, cls)._dispatch()
app_1 | File "/usr/lib/python3/dist-packages/odoo/addons/website/models/ir_http.py", line 183, in _dispatch
app_1 | response = super(Http, cls)._dispatch()
app_1 | File "/usr/lib/python3/dist-packages/odoo/addons/auth_signup/models/ir_http.py", line 19, in _dispatch
app_1 | return super(Http, cls)._dispatch()
app_1 | File "/usr/lib/python3/dist-packages/odoo/addons/web_editor/models/ir_http.py", line 21, in _dispatch
app_1 | return super(IrHttp, cls)._dispatch()
app_1 | File "/usr/lib/python3/dist-packages/odoo/addons/utm/models/ir_http.py", line 29, in _dispatch
app_1 | response = super(IrHttp, cls)._dispatch()
app_1 | File "/usr/lib/python3/dist-packages/odoo/addons/http_routing/models/ir_http.py", line 491, in _dispatch
app_1 | return cls.reroute('/'.join(path) or '/')
app_1 | File "/usr/lib/python3/dist-packages/odoo/addons/http_routing/models/ir_http.py", line 530, in reroute
app_1 | return cls._dispatch()
app_1 | File "/usr/lib/python3/dist-packages/odoo/addons/website_sale/models/ir_http.py", line 15, in _dispatch
app_1 | return super(IrHttp, cls)._dispatch()
app_1 | File "/usr/lib/python3/dist-packages/odoo/addons/website/models/ir_http.py", line 183, in _dispatch
app_1 | response = super(Http, cls)._dispatch()
app_1 | File "/usr/lib/python3/dist-packages/odoo/addons/auth_signup/models/ir_http.py", line 19, in _dispatch
app_1 | return super(Http, cls)._dispatch()
app_1 | File "/usr/lib/python3/dist-packages/odoo/addons/web_editor/models/ir_http.py", line 21, in _dispatch
app_1 | return super(IrHttp, cls)._dispatch()
app_1 | File "/usr/lib/python3/dist-packages/odoo/addons/utm/models/ir_http.py", line 29, in _dispatch
app_1 | response = super(IrHttp, cls)._dispatch()
app_1 | File "/usr/lib/python3/dist-packages/odoo/addons/http_routing/models/ir_http.py", line 508, in _dispatch
app_1 | result = super(IrHttp, cls)._dispatch()
app_1 | File "/usr/local/lib/python3.8/dist-packages/odoo_elasticapm/ir_http.py", line 77, in _dispatch
app_1 | response = ori_dispatch()
app_1 | File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_http.py", line 241, in _dispatch
app_1 | return cls._handle_exception(e)
app_1 | File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_http.py", line 209, in _handle_exception
app_1 | return request._handle_exception(exception)
app_1 | File "/usr/lib/python3/dist-packages/odoo/http.py", line 745, in _handle_exception
app_1 | return super(HttpRequest, self)._handle_exception(exception)
app_1 | File "/usr/local/lib/python3.8/dist-packages/odoo_elasticapm/http.py", line 76, in _handle_exception
app_1 | return ori_handle_exception(self, exception)
app_1 | File "/usr/lib/python3/dist-packages/odoo/http.py", line 316, in _handle_exception
app_1 | raise exception.with_traceback(None) from new_cause
app_1 | odoo.addons.base.models.qweb.QWebException: 'EndPoint' object is not iterable
app_1 | Traceback (most recent call last):
app_1 | File "/usr/lib/python3/dist-packages/odoo/addons/base/models/qweb.py", line 331, in _compiled_fn
app_1 | return compiled(self, append, new, options, log)
app_1 | File "", line 1, in template_web_frontend_layout_89
app_1 | File "/usr/lib/python3/dist-packages/odoo/addons/website/models/website.py", line 527, in _get_alternate_languages
app_1 | if not self._is_canonical_url(canonical_params=canonical_params):
app_1 | File "/usr/lib/python3/dist-packages/odoo/addons/website/models/website.py", line 1008, in _is_canonical_url
app_1 | canonical_url = self._get_canonical_url_localized(lang=request.lang, canonical_params=None)
app_1 | File "/usr/lib/python3/dist-packages/odoo/addons/website/models/website.py", line 982, in _get_canonical_url_localized
app_1 | path = router.build(request.endpoint, arguments)
app_1 | File "/usr/lib/python3/dist-packages/werkzeug/routing.py", line 2020, in build
app_1 | raise BuildError(endpoint, values, method, self)
app_1 | werkzeug.routing.BuildError:
app_1 |
app_1 | During handling of the above exception, another exception occurred:
app_1 |
app_1 | Traceback (most recent call last):
app_1 | File "/usr/lib/python3/dist-packages/odoo/addons/base/models/qweb.py", line 331, in _compiled_fn
app_1 | return compiled(self, append, new, options, log)
app_1 | File "", line 1, in template_website_homepage1_4
app_1 | File "/usr/lib/python3/dist-packages/odoo/addons/base/models/qweb.py", line 338, in _compiled_fn
app_1 | raise QWebException("Error to render compiling AST", e, path, node and etree.tostring(node[0], encoding='unicode'), name)
app_1 | File "/usr/lib/python3/dist-packages/odoo/addons/base/models/qweb.py", line 144, in init
app_1 | self.message = "%s\n%s: %s" % (self.message, self.error.class.name, self.error)
app_1 | File "/usr/lib/python3/dist-packages/werkzeug/routing.py", line 307, in str
app_1 | if self.suggested:
app_1 | File "/usr/lib/python3/dist-packages/werkzeug/utils.py", line 90, in get
app_1 | value = self.func(obj)
app_1 | File "/usr/lib/python3/dist-packages/werkzeug/routing.py", line 281, in suggested
app_1 | return self.closest_rule(self.adapter)
app_1 | File "/usr/lib/python3/dist-packages/werkzeug/routing.py", line 297, in closest_rule
app_1 | return max(adapter.map._rules, key=_score_rule)
app_1 | File "/usr/lib/python3/dist-packages/werkzeug/routing.py", line 288, in _score_rule
app_1 | * difflib.SequenceMatcher(
app_1 | File "/usr/lib/python3.8/difflib.py", line 213, in init
app_1 | self.set_seqs(a, b)
app_1 | File "/usr/lib/python3.8/difflib.py", line 225, in set_seqs
app_1 | self.set_seq2(b)
app_1 | File "/usr/lib/python3.8/difflib.py", line 279, in set_seq2
app_1 | self.__chain_b()
app_1 | File "/usr/lib/python3.8/difflib.py", line 311, in __chain_b
app_1 | for i, elt in enumerate(b):
app_1 | TypeError: 'EndPoint' object is not iterable
app_1 |
app_1 | Error to render compiling AST
app_1 | TypeError: 'EndPoint' object is not iterable
app_1 | Template: website.homepage1
app_1 | Path: /t/t/t
app_1 | Node: - - -
app_1 | 2022-02-14 12:05:31,800 241 INFO ? elasticapm.transport.http: Fetched APM Server version 7.8.0
Configure Odoo-elasticapm and try to open the login page or home page Odoo.
Get this error for TypeError: 'EndPoint' object is not iterable.
Without elasticapm it works Fine.