Skip to Content
Menu
This question has been flagged
1 Reply
2453 Views

Server LOg 

2022-02-14 15:50:19,220 33900 ERROR MP werkzeug: Error on request:

Traceback (most recent call last):

  File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_http.py", line 237, in _dispatch

    result = request.dispatch()

  File "/usr/lib/python3/dist-packages/odoo/http.py", line 811, in dispatch

    r = self._call_function(**self.params)

  File "/usr/lib/python3/dist-packages/odoo/http.py", line 360, in _call_function

    return checked_call(self.db, *args, **kwargs)

  File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 94, in wrapper

    return f(dbname, *args, **kwargs)

  File "/usr/lib/python3/dist-packages/odoo/http.py", line 349, in checked_call

    result = self.endpoint(*a, **kw)

  File "/usr/lib/python3/dist-packages/odoo/http.py", line 917, in __call__

    return self.method(*args, **kw)

  File "/usr/lib/python3/dist-packages/odoo/http.py", line 536, in response_wrap

    response = f(*args, **kw)

  File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 831, in web_client

    context = request.env['ir.http'].webclient_rendering_context()

  File "/usr/lib/python3/dist-packages/odoo/addons/web/models/ir_http.py", line 22, in webclient_rendering_context

    'session_info': self.session_info(),

  File "/usr/lib/python3/dist-packages/odoo/addons/partner_autocomplete/models/ir_http.py", line 13, in session_info

    session_info = super(Http, self).session_info()

  File "/usr/lib/python3/dist-packages/odoo/addons/mail_bot/models/ir_http.py", line 11, in session_info

    res = super(Http, self).session_info()

  File "/usr/lib/python3/dist-packages/odoo/addons/mail/models/ir_http.py", line 15, in session_info

    result = super(IrHttp, self).session_info()

  File "/usr/lib/python3/dist-packages/odoo/addons/web_tour/models/ir_http.py", line 12, in session_info

    result = super().session_info()

  File "/usr/lib/python3/dist-packages/odoo/addons/base_setup/models/ir_http.py", line 11, in session_info

    result = super(IrHttp, self).session_info()

  File "/usr/lib/python3/dist-packages/odoo/addons/auth_totp/models/ir_http.py", line 9, in session_info

    info = super().session_info()

  File "/usr/lib/python3/dist-packages/odoo/addons/web/models/ir_http.py", line 72, in session_info

    qweb_checksum = HomeStaticTemplateHelpers.get_qweb_templates_checksum(debug=request.session.debug, bundle="web.assets_qweb")

  File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 571, in get_qweb_templates_checksum

    return cls(addons, db, checksum_only=True, debug=debug)._get_qweb_templates(bundle)[1]

  File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 566, in _get_qweb_templates

    content, checksum = self._concat_xml(xml_paths)

  File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 533, in _concat_xml

    contents = self._read_addon_file(fname)

  File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 514, in _read_addon_file

    raise e

  File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 504, in _read_addon_file

    with file_open(path_or_url, 'rb') as fp:

  File "/usr/lib/python3/dist-packages/odoo/tools/misc.py", line 196, in file_open

    path = file_path(name, filter_ext=filter_ext)

  File "/usr/lib/python3/dist-packages/odoo/tools/misc.py", line 177, in file_path

    raise FileNotFoundError("File not found: " + file_path)

Exception


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


Traceback (most recent call last):

  File "/usr/lib/python3/dist-packages/werkzeug/serving.py", line 306, in run_wsgi

    execute(self.server.app)

  File "/usr/lib/python3/dist-packages/werkzeug/serving.py", line 294, in execute

    application_iter = app(environ, start_response)

  File "/usr/lib/python3/dist-packages/odoo/service/server.py", line 476, in app

    return self.app(e, s)

  File "/usr/lib/python3/dist-packages/odoo/service/wsgi_server.py", line 112, in application

    return application_unproxied(environ, start_response)

  File "/usr/lib/python3/dist-packages/odoo/service/wsgi_server.py", line 87, in application_unproxied

    result = odoo.http.root(environ, start_response)

  File "/usr/lib/python3/dist-packages/odoo/http.py", line 1314, in __call__

    return self.dispatch(environ, start_response)

  File "/usr/lib/python3/dist-packages/odoo/http.py", line 1280, in __call__

    return self.app(environ, start_wrapped)

  File "/usr/lib/python3/dist-packages/werkzeug/middleware/shared_data.py", line 220, in __call__

    return self.app(environ, start_response)

  File "/usr/lib/python3/dist-packages/odoo/http.py", line 1508, in dispatch

    result = ir_http._dispatch()

  File "/usr/lib/python3/dist-packages/odoo/addons/auth_signup/models/ir_http.py", line 19, in _dispatch

    return super(Http, cls)._dispatch()

  File "/usr/lib/python3/dist-packages/odoo/addons/web_editor/models/ir_http.py", line 21, in _dispatch

    return super(IrHttp, cls)._dispatch()

  File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_http.py", line 241, in _dispatch

    return cls._handle_exception(e)

  File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_http.py", line 209, in _handle_exception

    return request._handle_exception(exception)

  File "/usr/lib/python3/dist-packages/odoo/http.py", line 749, in _handle_exception

    return super(HttpRequest, self)._handle_exception(exception)

  File "/usr/lib/python3/dist-packages/odoo/http.py", line 302, in _handle_exception

    raise exception.with_traceback(None) from new_cause

FileNotFoundError: File not found: code_backend_theme/static/src/xml/styles.xml - - -


Avatar
Discard
Best Answer

Hello @Dr.Wael

I tried installing the same module and did not get any error.

The error which you are getting for missing file: /code_backend_theme/static/src/xml/styles.xml might me because the file got deleted/relocated somehow in your system.

In the app that I downloaded the file is available at the required location.

Please try it again after a fresh download.

Here's the link to the app for v15
https://apps.odoo.com/apps/themes/15.0/code_backend_theme/#:~:text=The Code Backend Theme V15,Theme for Your Odoo 15.

Hope this helps.

Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari

Avatar
Discard
Related Posts Replies Views Activity
0
Jul 22
1204
2
Apr 24
4507
1
Sep 23
1714
2
Mar 23
5026
2
Apr 22
2595