Community: CMS / eCommerce Experts mailing list archives


Error to edit web page html Main Layout

Israel Quintanar
- 06/09/2017 13:40:01
Hello everyone,

I have a problem in the Website, since I edit a form using HTML editing, changing the "Main Layout" section and now can not access any function of the website, since I have the following error lines:
  File "/opt/bitnami/apps/odoo/lib/odoo-10.0.post20170615-py2.7.egg/odoo/addons/base/ir/ir_qweb/", line 1427, in _compile_expr0
    return self._compile_expr(expr)
  File "/opt/bitnami/apps/odoo/lib/odoo-10.0.post20170615-py2.7.egg/odoo/addons/base/ir/ir_qweb/", line 300, in _compile_expr
    st = ast.parse(expr.strip(), mode='eval')
  File "/opt/bitnami/python/lib/python2.7/", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 0
SyntaxError: unexpected EOF while parsing

Error when compiling AST
SyntaxError: unexpected EOF while parsing (<unknown>, line 0)
Template: website.layout
Path: /templates/t/t/t[3]/t[2]
Node: <t t-if="main_object and 'website_meta_title' in main_object and main_object.website_meta_title" t-tag="t" t-content="True">
                <t t-set="title" t-value="main_object.website_meta_title"/>
How can I go back to the previous state of the website?
How can I do to recover from this change?
I hope someone can help me ...