-
-
Notifications
You must be signed in to change notification settings - Fork 105
Open
Labels
stalePR/Issue without recent activity, it'll be soon closed automatically.PR/Issue without recent activity, it'll be soon closed automatically.
Description
Module: Website Theme Flexible website-theme-flexible
Environment: Ubuntu 16.04 LTS, Odoo 11.0 CE Vers. 2018-03-21
Traceback:
not enough arguments for format string
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/tools/cache.py", line 84, in lookup
r = d[key]
File "/usr/lib/python3/dist-packages/odoo/tools/func.py", line 68, in wrapper
return func(self, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/tools/lru.py", line 44, in __getitem__
a = self.d[obj].me
KeyError: ('ir.qweb', <function IrQWeb._get_asset at 0x7f40c9614510>, 'web.assets_frontend', 'en_US', True, False, 'assets', False, (1,))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/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_website_layout_1436
File "<template>", line 2, in body_call_content_1435
File "<template>", line 19, in set_1401
File "/usr/lib/python3/dist-packages/odoo/addons/website/models/ir_qweb.py", line 30, in _get_asset
return super(QWeb, self)._get_asset(xmlid, options, css, js, debug, async, values)
File "<decorator-gen-37>", line 2, in _get_asset
File "/usr/lib/python3/dist-packages/odoo/tools/cache.py", line 89, in lookup
value = d[key] = self.method(*args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/addons/base/ir/ir_qweb/ir_qweb.py", line 197, in _get_asset
return asset.to_html(css=css, js=js, debug=debug, async=async, url_for=(values or {}).get('url_for', lambda url: url))
File "/usr/lib/python3/dist-packages/odoo/addons/base/ir/ir_qweb/assetsbundle.py", line 109, in to_html
is_css_preprocessed, old_attachments = self.is_css_preprocessed()
File "/usr/lib/python3/dist-packages/odoo/addons/base/ir/ir_qweb/assetsbundle.py", line 315, in is_css_preprocessed
assets = dict((asset.html_url, asset) for asset in self.stylesheets if isinstance(asset, atype))
File "/usr/lib/python3/dist-packages/odoo/addons/base/ir/ir_qweb/assetsbundle.py", line 315, in <genexpr>
assets = dict((asset.html_url, asset) for asset in self.stylesheets if isinstance(asset, atype))
File "/usr/lib/python3/dist-packages/odoo/addons/base/ir/ir_qweb/assetsbundle.py", line 460, 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"/>
Metadata
Metadata
Assignees
Labels
stalePR/Issue without recent activity, it'll be soon closed automatically.PR/Issue without recent activity, it'll be soon closed automatically.