Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
1554 Vistas

500: Internal Server Error

Traceback (most recent call last):
  File "/home/odoo/src/odoo/17.0/odoo/http.py", line 1765, in _serve_db
    return service_model.retrying(self._serve_ir_http, self.env)
  File "/home/odoo/src/odoo/17.0/odoo/service/model.py", line 133, in retrying
    result = func()
  File "/home/odoo/src/odoo/17.0/odoo/http.py", line 1792, in _serve_ir_http
    response = self.dispatcher.dispatch(rule.endpoint, args)
  File "/home/odoo/src/odoo/17.0/odoo/http.py", line 1909, in dispatch
    return self.request.registry['ir.http']._dispatch(endpoint)
  File "/home/odoo/src/odoo/17.0/addons/website/models/ir_http.py", line 235, in _dispatch
    response = super()._dispatch(endpoint)
  File "/home/odoo/src/odoo/17.0/odoo/addons/base/models/ir_http.py", line 224, in _dispatch
    result.flatten()
  File "/home/odoo/src/odoo/17.0/odoo/http.py", line 1291, in flatten
    self.response.append(self.render())
  File "/home/odoo/src/odoo/17.0/odoo/http.py", line 1283, in render
    return request.env["ir.ui.view"]._render_template(self.template, self.qcontext)
  File "/home/odoo/src/odoo/17.0/addons/website/models/ir_ui_view.py", line 442, in _render_template
    return super()._render_template(template, values=values)
  File "/home/odoo/src/enterprise/17.0/web_studio/models/ir_ui_view.py", line 1310, in _render_template
    return super(View, self)._render_template(template, values)
  File "/home/odoo/src/odoo/17.0/odoo/addons/base/models/ir_ui_view.py", line 2050, in _render_template
    return self.env['ir.qweb']._render(template, values)
  File "/home/odoo/src/odoo/17.0/odoo/tools/profiler.py", line 292, in _tracked_method_render
    return method_render(self, template, values, **options)
  File "/home/odoo/src/odoo/17.0/odoo/addons/base/models/ir_qweb.py", line 592, in _render
    rendering = render_template(irQweb, values)
  File "", line 5, in not_found_template
ValueError: L'élément '' ne peut être localisé dans la vue parente


Avatar
Descartar
Autor Mejor respuesta

on the 3 websites, there is only one which generates this error. I haven't made any changes to the system except the theme change.

I'm looking for recent changes but can't find anything.

I have successfully updated the website and ecommerce applications. no difference

Avatar
Descartar
Mejor respuesta

Hi,

Shared traceback saying there is an issue with a written xpath expression in one of the views, if this is just the standard code such an error is not expected.

Did you made any changes in the system ? Like some custom modules ? Anyway have a look at the recent changes that you have made in the db and see if you can find something.

Also you can try upgrading the website or ecommerce app and see if it makes any difference.

Thanks

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
may 24
1547
4
oct 25
2788
2
sept 25
1764
4
sept 25
6850
0
ago 25
854