0

500 internal server error. invalid syntax

por
Manuel Ferrero
en 16/04/15 16:41 1484 vistas

buenas, estaba modificando el website con el editor de html y me equivoque escribiendo el codigo porque copie y pegue algo equivocadamente y al guardar me dio ese error. estuve intentando encontrar la forma para modificarlo fuera del odoo pero no pude encontrar los archivos. les adjunto el error:

 

500: Internal Server Error

Error

Error message:

invalid syntax (, line 1)

 

QWeb

Error message:

Could not evaluate expression 'Direcci\xc3\xb3n Cerrito 1358 2 B Rosario, Argentina'

 

The error occured while rendering the template website.layout and evaluating the following expression: Dirección Cerrito 1358 2 B Rosario, Argentina

Traceback

Traceback (most recent call last): File "/home/pety2do/odoo/80/server/addons/website/models/ir_http.py", line 196, in _handle_exception response = super(ir_http, self)._handle_exception(exception) File "/home/pety2do/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/addons/base/ir/ir_http.py", line 146, in _handle_exception return request._handle_exception(exception) File "/home/pety2do/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/http.py", line 659, in _handle_exception return super(HttpRequest, self)._handle_exception(exception) File "/home/pety2do/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/http.py", line 1358, in get_response result.flatten() File "/home/pety2do/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/http.py", line 1231, in flatten self.response.append(self.render()) File "/home/pety2do/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/http.py", line 1225, in render context=request.context) File "/home/pety2do/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/api.py", line 241, in wrapper return old_api(self, *args, **kwargs) File "/home/pety2do/odoo/80/server/addons/website/models/ir_ui_view.py", line 172, in render return super(view, self).render(cr, uid, id_or_xml_id, values=values, engine=engine, context=context) File "/home/pety2do/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/api.py", line 241, in wrapper return old_api(self, *args, **kwargs) File "/home/pety2do/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/addons/base/ir/ir_ui_view.py", line 1029, in render return self.pool[engine].render(cr, uid, id_or_xml_id, qcontext, loader=loader, context=context) File "/home/pety2do/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/api.py", line 241, in wrapper return old_api(self, *args, **kwargs) File "/home/pety2do/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/addons/base/ir/ir_qweb.py", line 261, in render return self.render_node(self.get_template(id_or_xml_id, qwebcontext), qwebcontext) File "/home/pety2do/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/addons/base/ir/ir_qweb.py", line 300, in render_node result = self.render_element(element, template_attributes, generated_attributes, qwebcontext) File "/home/pety2do/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/addons/base/ir/ir_qweb.py", line 321, in render_element g_inner.append(self.render_node(current_node, qwebcontext)) File "/home/pety2do/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/addons/base/ir/ir_qweb.py", line 298, in render_node result = self._render_tag[t_render](self, element, template_attributes, generated_attributes, qwebcontext) File "/home/pety2do/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/addons/base/ir/ir_qweb.py", line 445, in render_tag_call return self.render(cr, uid, template, d) File "/home/pety2do/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/api.py", line 241, in wrapper return old_api(self, *args, **kwargs) File "/home/pety2do/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/addons/base/ir/ir_qweb.py", line 261, in render return self.render_node(self.get_template(id_or_xml_id, qwebcontext), qwebcontext) File "/home/pety2do/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/addons/base/ir/ir_qweb.py", line 300, in render_node result = self.render_element(element, template_attributes, generated_attributes, qwebcontext) File "/home/pety2do/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/addons/base/ir/ir_qweb.py", line 321, in render_element g_inner.append(self.render_node(current_node, qwebcontext)) File "/home/pety2do/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/addons/base/ir/ir_qweb.py", line 300, in render_node result = self.render_element(element, template_attributes, generated_attributes, qwebcontext) File "/home/pety2do/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/addons/base/ir/ir_qweb.py", line 321, in render_element g_inner.append(self.render_node(current_node, qwebcontext)) File "/home/pety2do/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/addons/base/ir/ir_qweb.py", line 300, in render_node result = self.render_element(element, template_attributes, generated_attributes, qwebcontext) File "/home/pety2do/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/addons/base/ir/ir_qweb.py", line 321, in render_element g_inner.append(self.render_node(current_node, qwebcontext)) File "/home/pety2do/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/addons/base/ir/ir_qweb.py", line 300, in render_node result = self.render_element(element, template_attributes, generated_attributes, qwebcontext) File "/home/pety2do/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/addons/base/ir/ir_qweb.py", line 321, in render_element g_inner.append(self.render_node(current_node, qwebcontext)) File "/home/pety2do/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/addons/base/ir/ir_qweb.py", line 300, in render_node result = self.render_element(element, template_attributes, generated_attributes, qwebcontext) File "/home/pety2do/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/addons/base/ir/ir_qweb.py", line 321, in render_element g_inner.append(self.render_node(current_node, qwebcontext)) File "/home/pety2do/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/addons/base/ir/ir_qweb.py", line 300, in render_node result = self.render_element(element, template_attributes, generated_attributes, qwebcontext) File "/home/pety2do/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/addons/base/ir/ir_qweb.py", line 321, in render_element g_inner.append(self.render_node(current_node, qwebcontext)) File "/home/pety2do/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/addons/base/ir/ir_qweb.py", line 300, in render_node result = self.render_element(element, template_attributes, generated_attributes, qwebcontext) File "/home/pety2do/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/addons/base/ir/ir_qweb.py", line 321, in render_element g_inner.append(self.render_node(current_node, qwebcontext)) File "/home/pety2do/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/addons/base/ir/ir_qweb.py", line 300, in render_node result = self.render_element(element, template_attributes, generated_attributes, qwebcontext) File "/home/pety2do/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/addons/base/ir/ir_qweb.py", line 321, in render_element g_inner.append(self.render_node(current_node, qwebcontext)) File "/home/pety2do/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/addons/base/ir/ir_qweb.py", line 300, in render_node result = self.render_element(element, template_attributes, generated_attributes, qwebcontext) File "/home/pety2do/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/addons/base/ir/ir_qweb.py", line 321, in render_element g_inner.append(self.render_node(current_node, qwebcontext)) File "/home/pety2do/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/addons/base/ir/ir_qweb.py", line 300, in render_node result = self.render_element(element, template_attributes, generated_attributes, qwebcontext) File "/home/pety2do/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/addons/base/ir/ir_qweb.py", line 321, in render_element g_inner.append(self.render_node(current_node, qwebcontext)) File "/home/pety2do/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/addons/base/ir/ir_qweb.py", line 298, in render_node result = self._render_tag[t_render](self, element, template_attributes, generated_attributes, qwebcontext) File "/home/pety2do/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/addons/base/ir/ir_qweb.py", line 481, in render_tag_field record = self.eval_object(record, qwebcontext) File "/home/pety2do/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/addons/base/ir/ir_qweb.py", line 208, in eval_object return self.eval(expr, qwebcontext) File "/home/pety2do/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/addons/base/ir/ir_qweb.py", line 205, in eval raise_qweb_exception(message="Could not evaluate expression %r" % expr, expression=expr, template=template) File "/home/pety2do/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/addons/base/ir/ir_qweb.py", line 202, in eval return qwebcontext.safe_eval(expr) File "/home/pety2do/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/addons/base/ir/ir_qweb.py", line 88, in safe_eval return eval(expr, None, locals_dict, nocopy=True, locals_builtins=True) File "/home/pety2do/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/tools/safe_eval.py", line 312, in safe_eval c = test_expr(expr, _SAFE_OPCODES, mode=mode) File "/home/pety2do/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/tools/safe_eval.py", line 167, in test_expr code_obj = compile(expr, "", mode) QWebException: invalid syntax (, line 1)

 

 


0

ADHOC

--ADHOC--
1769
| 5 1 4
Rosario, Argentina
--ADHOC--

Adhoc es parte de una red de profesionales establecidos en Rosario. Implementamos y desarrollamos Odoo Software perfectamente integrado para Argentina.

Somos el primer Gold  Partner en Argentina a partir de nuestra amplia trayectoria en Odoo, con más de 100 clientes soportados a diario y 6 años llevando adelante proyectos de implementación de ERP en nuestro país, pertenecemos a la máxima categoría de Partner otorgada por Odoo Bélgica, lo cual garantiza la calidad de nuestros procesos y la confiabilidad de nuestros servicios y soluciones.

Desde Adhoc vimos la necesidad de compartir con la comunidad los recursos de los cuales hacemos uso para implementar Odoo/OpenERP en Argentina.

ADHOC
En 21/04/15 14:34

Vas a tener que acceder a las vistas de qweb desde backend y copiar el código html desde otra base de datos

  • Flag


0
Manuel Ferrero
En 21/04/15 16:39

disculpa mi ignorancia pero no tengo idea de como hacer nada de lo que me decis... si me pudieses dar una explicacion mas detallada te lo agradezco salu2

  • Flag

Desde el backend de Odoo, tenés que ir a Configuración > Interfaz de Usuario > Vistas. Filtrar por Tipo de vista Qweb y editar la correspondiente a la pagina que se averió, revirtiendo el cambio en el código HTML

ADHOC
en 21/04/15 17:36

Su respuesta

Por favor trate de dar una respuesta sustancial. Si desea comentar sobre la pregunta o respuesta, utilice la herramienta de comentarios. Recuerde que siempre puede revisar sus respuestas - no hay necesidad de contestar la misma pregunta dos veces. Además, no olvide valorar - realmente ayuda a seleccionar las mejores preguntas y respuestas

Hacer una pregunta

Mantener informado

Sobre este foro

Esta comunidad es para profesionales y entusiastas de nuestros productos y servicios.

Lea las directrices

Herramientas de las preguntas

3 seguidor(es)

Estadísticas

Preguntado: 16/04/15 16:41
Visto: 1484 veces
Última actualización: 14/04/18 12:41