Skip to Content
Menu
This question has been flagged
2203 Views

I installed odoo 11 by executing  this script  https://raw.githubusercontent.com/Yenthe666/InstallScript/11.0/odoo_install.sh but when i try to create a new data base i get this error:


Traceback (most recent call last):

  File "/odoo/odoo-server/odoo/addons/base/ir/ir_qweb/qweb.py", line 341, in _compiled_fn

    return compiled(self, append, new, options, log)

  File "<template>", line 1, in template_167_37

  File "<template>", line 2, in body_call_content_36

  File "<template>", line 3, in set_31

  File "<decorator-gen-36>", line 2, in _get_asset

  File "/odoo/odoo-server/odoo/tools/cache.py", line 89, in lookup

    value = d[key] = self.method(*args, **kwargs)

  File "/odoo/odoo-server/odoo/addons/base/ir/ir_qweb/ir_qweb.py", line 195, in _get_asset

    files, remains = self._get_asset_content(xmlid, options)

  File "<decorator-gen-37>", line 2, in _get_asset_content

  File "/odoo/odoo-server/odoo/tools/cache.py", line 89, in lookup

    value = d[key] = self.method(*args, **kwargs)

  File "/odoo/odoo-server/odoo/addons/base/ir/ir_qweb/ir_qweb.py", line 220, in _get_asset_content

    for el in html.fragments_fromstring(template):

  File "/usr/lib/python3/dist-packages/lxml/html/__init__.py", line 623, in fragments_fromstring

    html = '<html><body>%s</body></html>'.encode('ascii') % html TypeError: unsupported operand type(s) for %: 'bytes' and 'bytes'

Any ideas?

Avatar
Discard

Hello, I am facing same problem you get any solution related this problem.