Community mailing list archives

community@mail.odoo.com

Re: 404 when getting CSS for qweb report

by
Vauxoo S.A. de C.V., Nhomar Hernandez
- 05/06/2016 04:36:44

On Thu, May 5, 2016 at 6:21 AM, Alexandre Fayolle <alexandre.fayolle@camptocamp.com> wrote:
2016-05-05 11:15:43,073 24872 INFO ? werkzeug: 127.0.0.1 - -
[05/May/2016 11:15:43] "GET
/web/content/418012-a62486a/report.assets_pdf.0.css HTTP/1.1" 404 -
2016-05-05 11:15:43,081 24873 INFO ? werkzeug: 127.0.0.1 - -
[05/May/2016 11:15:43] "GET
/web/content/418007-02ab18d/report.assets_common.0.css HTTP/1.1" 404 -
2016-05-05 11:15:43,304 24872 INFO ? werkzeug: 127.0.0.1 - -
[05/May/2016 11:15:43] "GET
/web/content/418012-a62486a/report.assets_pdf.0.css HTTP/1.1" 404 -
2016-05-05 11:15:43,304 24873 INFO ? werkzeug: 127.0.0.1 - -
[05/May/2016 11:15:43] "GET
/web/content/418007-02ab18d/report.assets_common.0.css HTTP/1.1" 404 -

It happens to me frequently, supposing it is what happens to me, force recompile the CSS.

Hypothesis 1:


1.- Run as ?debug= enabled in order to force download your css file by file.
2.- Go to attachments and find all attachments that finish with css, delete the records.
3.- Delete you filestore/addons folder.
4.- Restart.

I did not reproduce it yet properly but in certain circumstances (mostly when move from one server to another or with some broken updates) it happens to me and with that1 sequence it is solved.

Let me know if it works for you.!

Hypothesis 2 (if v9.0):

Do you have configured the CDN feature in your server? if yes, disable it, the /content/ part of your url looks like that is the problem.

Regards.

--
Nhomar Hernandez
CEO Vauxoo.
Twitter: @nhomar
Odoo Gold Partner
Skype: nhomar00 (Envia mail previo no lo superviso siempre).
Móvil Venezuela:
+58 4144110269
Móvil México:
+52 1 4773933942