This question has been flagged

Website_theme installed

Internal Server Error: not enough arguments for format string when activated the developer mode with assets 

not enough arguments for format string
Traceback (most recent call last):
  File "/opt/odoo/11.0-LA/11.0/odoo/tools/cache.py", line 84, in lookup
    r = d[key]
  File "/opt/odoo/11.0-LA/11.0/odoo/tools/func.py", line 68, in wrapper
    return func(self, *args, **kwargs)
  File "/opt/odoo/11.0-LAS/11.0/odoo/tools/lru.py", line 44, in __getitem__
    a = self.d[obj].me
KeyError: ('ir.qweb', <function IrQWeb._get_asset_nodes at 0x7ff50d978730>, 'web.assets_frontend', 'en_US', True, False, 'assets', False, False, (1,))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/odoo/11.0-LAS/11.0/odoo/addons/base/ir/ir_qweb/qweb.py", line 342, in _compiled_fn
    return compiled(self, append, new, options, log)
  File "<template>", line 1, in template_website_layout_120
  File "<template>", line 2, in body_call_content_119
  File "<template>", line 19, in set_86
  File "<decorator-gen-54>", line 2, in _get_asset_nodes
  File "/opt/odoo/11.0-LAS/11.0/odoo/tools/cache.py", line 89, in lookup
    value = d[key] = self.method(*args, **kwargs)
  File "/opt/odoo/11.0-LAS/11.0/odoo/addons/base/ir/ir_qweb/ir_qweb.py", line 302, in _get_asset_nodes
    return remains + asset.to_node(css=css, js=js, debug=debug, async_load=async_load)
  File "/opt/odoo/11.0-LAS/11.0/odoo/addons/base/ir/ir_qweb/assetsbundle.py", line 137, in to_node
    is_css_preprocessed, old_attachments = self.is_css_preprocessed()
  File "/opt/odoo/11.0-LAS/11.0/odoo/addons/base/ir/ir_qweb/assetsbundle.py", line 353, in is_css_preprocessed
    assets = dict((asset.html_url, asset) for asset in self.stylesheets if isinstance(asset, atype))
  File "/opt/odoo/11.0-LAS/11.0/odoo/addons/base/ir/ir_qweb/assetsbundle.py", line 353, in <genexpr>
    assets = dict((asset.html_url, asset) for asset in self.stylesheets if isinstance(asset, atype))
  File "/opt/odoo/11.0-LAS/11.0/odoo/addons/base/ir/ir_qweb/assetsbundle.py", line 498, in html_url
    return self.html_url_format % self.html_url_args
TypeError: not enough arguments for format string

Error to render compiling AST
TypeError: not enough arguments for format string
Template: website.layout
Path: /templates/t/t/t[5]/t[7]
Node: <t t-call-assets="web.assets_frontend" t-js="false"/>
Avatar
Discard