This question has been flagged
2 Replies
6824 Views

Hi,

After configuring my webshop using the standard tools and installing the web apps for the contact form and Dutch language, I got the following error after restarting the server:

Could not get content for /web/static/lib/bootstrap/css/bootstrap.css defined in bundle 'website.assets_frontend'.

Could not get content for /website/static/src/css/website.css defined in bundle 'website.assets_frontend'.

Could not get content for /website_mail/static/src/css/website_mail.css defined in bundle 'website.assets_frontend'

.....   and even more messages of missing css files when I login as admin.


I am running Odoo 8 on windows 7, rebooting the pc did not help.


Does anybody has a resolution for this? And mayby a way to prevent this.


Thank you,

Richard

Avatar
Discard
Author Best Answer

Hi,

I found the cause, issue solved. The cause was the rename of an addon directory and had nothing to do with the shop configuration. The error in the webpage does indicate a symptom only.

Maybe the error message in the view can be improved.

The cause must have been that the anchor for the relative addressen /web/... was corrupt.

The server log said: 


2015-03-18 20:23:47,331 9312 INFO ? openerp: database user: openpg

2015-03-18 20:23:48,000 9312 INFO ? openerp.service.server: HTTP service (werkzeug) running on 0.0.0.0:8069

2015-03-18 20:25:13,894 9312 INFO ? werkzeug: 192.168.2.3 - - [18/Mar/2015 20:25:13] "GET /web HTTP/1.1" 500 -

2015-03-18 20:25:13,914 9312 ERROR ? werkzeug: Error on request:

Traceback (most recent call last):

File "werkzeug\serving.py", line 177, in run_wsgi

File "werkzeug\serving.py", line 165, in execute

File "C:\Program Files (x86)\Odoo 8.0-20150227\server\openerp\service\server.py", line 281, in app

return self.app(e, s)

File "C:\Program Files (x86)\Odoo 8.0-20150227\server\openerp\service\wsgi_server.py", line 216, in application

return application_unproxied(environ, start_response)

File "C:\Program Files (x86)\Odoo 8.0-20150227\server\openerp\service\wsgi_server.py", line 202, in application_unproxied

result = handler(environ, start_response)

File "C:\Program Files (x86)\Odoo 8.0-20150227\server\openerp\http.py", line 1279, in __call__

self.load_addons()

File "C:\Program Files (x86)\Odoo 8.0-20150227\server\openerp\http.py", line 1298, in load_addons

m = __import__('openerp.addons.' + module)

File "C:\Program Files (x86)\Odoo 8.0-20150227\server\openerp\modules\module.py", line 80, in load_module

mod = imp.load_module('openerp.addons.' + module_part, f, path, descr)

File "C:\Program Files (x86)\Odoo 8.0-20150227\server\addons\account_banking v7\__init__.py", line 29, in <module>

import banking_import_transaction

File "C:\Program Files (x86)\Odoo 8.0-20150227\server\addons\account_banking v7\banking_import_transaction.py", line 31, in <module>

from openerp.addons.account_banking.parsers import models

File "C:\Program Files (x86)\Odoo 8.0-20150227\server\openerp\modules\module.py", line 79, in load_module

f, path, descr = imp.find_module(module_part, ad_paths)

ImportError: No module named account_banking

2015-03-18 20:25:16,256 9312 INFO testreq openerp.modules.loading: loading 1 modules...

2015-03-18 20:25:16,306 9312 INFO testreq openerp.modules.loading: 1 modules loaded in 0.05s, 0 queries

Avatar
Discard
Best Answer

Hi, I have the same issue with same cause as you did but I don't know how to solve it. Could you explain me how you did?

Thank you.

Avatar
Discard