Skip to Content
Menu
This question has been flagged
1721 Views

Hello,

I am trying to run a standard out of the box community 17 odoo instance. This is a fresh install on a new machine with NO custom modules. It's straight out of the box. All packages have been successfully installed and I am running it in a venv based on the requirements.txt. All completed as per the odoo documentation. I have done this plenty of times before but it seems to be playing up this time around.  I have downloaded the lastest 17.0 branch from github.

Here is the output from the log: 

2024-01-31 00:51:09,346 919 INFO trial odoo.addons.base.models.ir_http: Generating routing map for key None 

2024-01-31 00:51:09,514 919 WARNING trial odoo.addons.base.models.ir_asset: IrAsset: the path "web/static/src/core/**/*" did not resolve to anything. 

2024-01-31 00:51:09,515 919 WARNING trial odoo.addons.base.models.ir_asset: IrAsset: the path "web/static/src/core/commands/**/*" did not resolve to anything. 

2024-01-31 00:51:09,518 919 ERROR trial odoo.http: Exception during request handling. 

Traceback (most recent call last):

  File "/opt/odoosrc/17.0/odoo/odoo/tools/cache.py", line 99, in lookup

    r = d[key]

        ~^^^^^

  File "", line 2, in __getitem__

  File "/opt/odoosrc/17.0/odoo/odoo/tools/func.py", line 87, in locked

    return func(inst, *args, **kwargs)

           ^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/opt/odoosrc/17.0/odoo/odoo/tools/lru.py", line 34, in __getitem__

    a = self.d[obj]

        ~~~~~~^^^^^

KeyError: ('ir.qweb', , 'web.assets_frontend', True, False, (), False)


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

  File "/opt/odoosrc/17.0/odoo/odoo/tools/cache.py", line 99, in lookup

    r = d[key]

        ~^^^^^

  File "", line 2, in __getitem__

  File "/opt/odoosrc/17.0/odoo/odoo/tools/func.py", line 87, in locked

    return func(inst, *args, **kwargs)

           ^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/opt/odoosrc/17.0/odoo/odoo/tools/lru.py", line 34, in __getitem__

    a = self.d[obj]

        ~~~~~~^^^^^

KeyError: ('ir.asset', , 'web.assets_frontend', ())


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

  File "", line 653, in template_187

  File "", line 381, in template_187_content

  File "/opt/odoosrc/17.0/odoo/odoo/addons/base/models/ir_qweb.py", line 2461, in _get_asset_nodes

    links = self._get_asset_links(bundle, css=css, js=js, debug=debug)

            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/opt/odoosrc/17.0/odoo/odoo/addons/base/models/ir_qweb.py", line 2476, in _get_asset_links

    return self._generate_asset_links_cache(bundle, css=css, js=js, assets_params=assets_params, rtl=rtl)

           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "", line 2, in _generate_asset_links_cache

  File "/opt/odoosrc/17.0/odoo/odoo/tools/cache.py", line 104, in lookup

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

                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/opt/odoosrc/17.0/odoo/odoo/addons/base/models/ir_qweb.py", line 2530, in _generate_asset_links_cache

    return self._generate_asset_links(bundle, css, js, False, assets_params, rtl)

           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/opt/odoosrc/17.0/odoo/odoo/addons/base/models/ir_qweb.py", line 2606, in _generate_asset_links

    asset_bundle = self._get_asset_bundle(bundle, css=css, js=js, debug_assets=debug_assets, rtl=rtl, assets_params=assets_params)

                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/opt/odoosrc/17.0/odoo/odoo/addons/base/models/ir_qweb.py", line 2553, in _get_asset_bundle

    files, external_assets = self._get_asset_content(bundle_name, assets_params)

                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/opt/odoosrc/17.0/odoo/odoo/addons/base/models/ir_qweb.py", line 2535, in _get_asset_content

    asset_paths = self.env['ir.asset']._get_asset_paths(bundle=bundle, assets_params=assets_params)

                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "", line 2, in _get_asset_paths

  File "/opt/odoosrc/17.0/odoo/odoo/tools/cache.py", line 104, in lookup

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

                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/opt/odoosrc/17.0/odoo/odoo/addons/base/models/ir_asset.py", line 155, in _get_asset_paths

    self._fill_asset_paths(bundle, asset_paths, [], addons, installed, **assets_params)

  File "/opt/odoosrc/17.0/odoo/odoo/addons/base/models/ir_asset.py", line 188, in _fill_asset_paths

    self._process_path(bundle, directive, target, path_def, asset_paths, seen, addons, installed, bundle_start_index, **assets_params)

  File "/opt/odoosrc/17.0/odoo/odoo/addons/base/models/ir_asset.py", line 235, in _process_path

    asset_paths.remove(paths, bundle)

  File "/opt/odoosrc/17.0/odoo/odoo/addons/base/models/ir_asset.py", line 429, in remove

    self._raise_not_found([path for path, _full_path, _last_modified in paths_to_remove], bundle)

  File "/opt/odoosrc/17.0/odoo/odoo/addons/base/models/ir_asset.py", line 432, in _raise_not_found

    raise ValueError("File(s) %s not found in bundle %s" % (path, bundle))

ValueError: File(s) ['web/static/src/core/debug/debug_menu.js'] not found in bundle web.assets_frontend


The above exception was the direct cause of the following exception:


Traceback (most recent call last):

  File "/opt/odoosrc/17.0/odoo/odoo/http.py", line 2150, in __call__

    response = request._serve_db()

               ^^^^^^^^^^^^^^^^^^^

  File "/opt/odoosrc/17.0/odoo/odoo/http.py", line 1722, in _serve_db

    return service_model.retrying(self._serve_ir_http, self.env)

           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/opt/odoosrc/17.0/odoo/odoo/service/model.py", line 133, in retrying

    result = func()

             ^^^^^^

  File "/opt/odoosrc/17.0/odoo/odoo/http.py", line 1749, in _serve_ir_http

    response = self.dispatcher.dispatch(rule.endpoint, args)

               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/opt/odoosrc/17.0/odoo/odoo/http.py", line 1866, in dispatch

    return self.request.registry['ir.http']._dispatch(endpoint)

           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/opt/odoosrc/17.0/odoo/odoo/addons/base/models/ir_http.py", line 224, in _dispatch

    result.flatten()

  File "/opt/odoosrc/17.0/odoo/odoo/http.py", line 1248, in flatten

    self.response.append(self.render())

                         ^^^^^^^^^^^^^

  File "/opt/odoosrc/17.0/odoo/odoo/http.py", line 1240, in render

    return request.env["ir.ui.view"]._render_template(self.template, self.qcontext)

           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/opt/odoosrc/17.0/odoo/odoo/addons/base/models/ir_ui_view.py", line 2050, in _render_template

    return self.env['ir.qweb']._render(template, values)

           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/opt/odoosrc/17.0/odoo/odoo/tools/profiler.py", line 292, in _tracked_method_render

    return method_render(self, template, values, **options)

           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/opt/odoosrc/17.0/odoo/odoo/addons/base/models/ir_qweb.py", line 593, in _render

    result = ''.join(rendering)

             ^^^^^^^^^^^^^^^^^^

  File "", line 243, in template_191

  File "", line 232, in template_191_content

  File "", line 111, in template_190

  File "", line 100, in template_190_content

  File "", line 659, in template_187

odoo.addons.base.models.ir_qweb.QWebException: Error while render the template

ValueError: File(s) ['web/static/src/core/debug/debug_menu.js'] not found in bundle web.assets_frontend

Template: web.frontend_layout

Path: /t/html/head/t[2]

Node:

2024-01-31 00:51:09,523 919 INFO trial werkzeug: 10.10.10.4 - - [31/Jan/2024 00:51:09] "GET /web/login HTTP/1.1" 500 - 38 0.017 0.173


Avatar
Discard
Related Posts Replies Views Activity
4
May 25
2556
2
May 25
5939
1
Mar 25
1706
4
Mar 25
4538
3
Feb 25
5546