500: Internal Server Error
QWeb
Error message:
Error to render compiling AST MissingError: ('Record does not exist or has been deleted.\n(Record: git.branch(413,), User: 4)', None) Template: to_runbot.branch_details Path: /t/t/div/div[2]/div/div[1]/div[1]/a[1] Node: <a target="_blank" t-attf-href="https://{{active_repo.base_url.replace('git@', '')}}/tree/{{active_branch.name}}" class="btn btn-light" data-toggle="tooltip" data-placement="top" title="Go to Branch on Github">Branch <img class="octicon" src="/to_runbot/static/src/svg/git-branch.svg"/></a>
The error occured while rendering the template to_runbot.branch_details
and evaluating the following expression: <a target="_blank" t-attf-href="https://{{active_repo.base_url.replace('git@', '')}}/tree/{{active_branch.name}}" class="btn btn-light" data-toggle="tooltip" data-placement="top" title="Go to Branch on Github">Branch <img class="octicon" src="/to_runbot/static/src/svg/git-branch.svg"/></a>
Traceback
Traceback (most recent call last): File "/opt/odoo/13.0/odoo/api.py", line 748, in get value = self._data[field][record._ids[0]] KeyError: 413 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/odoo/13.0/odoo/fields.py", line 1038, in __get__ value = env.cache.get(record, self) File "/opt/odoo/13.0/odoo/api.py", line 754, in get raise CacheMiss(record, field) odoo.exceptions.CacheMiss: ('git.branch(413,).name', None) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/odoo/13.0/odoo/addons/base/models/qweb.py", line 334, in _compiled_fn return compiled(self, append, new, options, log) File "<template>", line 1, in template_to_runbot_branch_details_46107 File "<template>", line 2, in body_call_content_46105 File "/opt/odoo/13.0/odoo/fields.py", line 1051, in __get__ _("(Record: %s, User: %s)") % (record, env.uid), odoo.exceptions.MissingError: ('Record does not exist or has been deleted.\n(Record: git.branch(413,), User: 4)', None) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/odoo/13.0/odoo/addons/base/models/ir_http.py", line 234, in _dispatch result = request.dispatch() File "/opt/odoo/13.0/odoo/http.py", line 809, in dispatch r = self._call_function(**self.params) File "/opt/odoo/13.0/odoo/http.py", line 350, in _call_function return checked_call(self.db, *args, **kwargs) File "/opt/odoo/13.0/odoo/service/model.py", line 94, in wrapper return f(dbname, *args, **kwargs) File "/opt/odoo/13.0/odoo/http.py", line 342, in checked_call result.flatten() File "/opt/odoo/13.0/odoo/http.py", line 1259, in flatten self.response.append(self.render()) File "/opt/odoo/13.0/odoo/http.py", line 1252, in render return env["ir.ui.view"].render_template(self.template, self.qcontext) File "/opt/odoo/13.0/odoo/addons/base/models/ir_ui_view.py", line 1201, in render_template return self.browse(self.get_view_id(template)).render(values, engine) File "/opt/odoo/13.0/addons/website/models/ir_ui_view.py", line 347, in render return super(View, self).render(values, engine=engine, minimal_qcontext=minimal_qcontext) File "/opt/odoo/13.0/addons/web_editor/models/ir_ui_view.py", line 27, in render return super(IrUiView, self).render(values=values, engine=engine, minimal_qcontext=minimal_qcontext) File "/opt/odoo/13.0/odoo/addons/base/models/ir_ui_view.py", line 1209, in render return self.env[engine].render(self.id, qcontext) File "/opt/odoo/13.0/odoo/addons/base/models/ir_qweb.py", line 58, in render result = super(IrQWeb, self).render(id_or_xml_id, values=values, **context) File "/opt/odoo/13.0/odoo/addons/base/models/qweb.py", line 261, in render self.compile(template, options)(self, body.append, values or {}) File "/opt/odoo/13.0/odoo/addons/base/models/qweb.py", line 341, in _compiled_fn raise QWebException("Error to render compiling AST", e, path, node and etree.tostring(node[0], encoding='unicode'), name) odoo.addons.base.models.qweb.QWebException: ('Record does not exist or has been deleted.\n(Record: git.branch(413,), User: 4)', None) Traceback (most recent call last): File "/opt/odoo/13.0/odoo/api.py", line 748, in get value = self._data[field][record._ids[0]] KeyError: 413 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/odoo/13.0/odoo/fields.py", line 1038, in __get__ value = env.cache.get(record, self) File "/opt/odoo/13.0/odoo/api.py", line 754, in get raise CacheMiss(record, field) odoo.exceptions.CacheMiss: ('git.branch(413,).name', None) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/odoo/13.0/odoo/addons/base/models/qweb.py", line 334, in _compiled_fn return compiled(self, append, new, options, log) File "<template>", line 1, in template_to_runbot_branch_details_46107 File "<template>", line 2, in body_call_content_46105 File "/opt/odoo/13.0/odoo/fields.py", line 1051, in __get__ _("(Record: %s, User: %s)") % (record, env.uid), odoo.exceptions.MissingError: ('Record does not exist or has been deleted.\n(Record: git.branch(413,), User: 4)', None) Error to render compiling AST MissingError: ('Record does not exist or has been deleted.\n(Record: git.branch(413,), User: 4)', None) Template: to_runbot.branch_details Path: /t/t/div/div[2]/div/div[1]/div[1]/a[1] Node: <a target="_blank" t-attf-href="https://{{active_repo.base_url.replace('git@', '')}}/tree/{{active_branch.name}}" class="btn btn-light" data-toggle="tooltip" data-placement="top" title="Go to Branch on Github">Branch <img class="octicon" src="/to_runbot/static/src/svg/git-branch.svg"/></a>