تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
6 الردود
45564 أدوات العرض

The style compilation failed, see the error below. Your recent actions may be the cause, please try reverting the changes you made.

Could not get content for /muk_web_branding/static/src/scss/primary_colors.custom.muk_web_branding._assets_primary_variables.scss defined in bundle 'web.assets_common'.

الصورة الرمزية
إهمال
أفضل إجابة

I was also getting similar problem in Odoo 11:


2021-06-28 16:37:04,158 4908 WARNING SAS_cellntell odoo.addons.base.ir.ir_qweb.assetsbundle: (b'', b'The "--no-js" argument is deprecated, as inline JavaScript is disabled by default. Use "--js" to enable inline JavaScript (not recommended).\nArgumentError: Error evaluating function `floor`: argument must be a number in - on line 3251, column 17:\n3250 height: @planner-height;\n3251 margin: floor((@odoo-navbar-height - @planner-height)/2) 10px 0;\n3252 cursor: pointer;\n\n')This error occured while compiling the bundle 'web.assets_common' containing:
- /web/static/lib/bootstrap/less/variables.less
- /web/static/lib/bootstrap/less/mixins/vendor-prefixes.less
- /web/static/lib/bootstrap/less/mixins/buttons.less
- /web/static/lib/bootstrap/less/mixins/clearfix.less
- /web/static/lib/bootstrap/less/mixins/size.less
- /web/static/src/less/variables.less
- /web_enterprise/static/src/less/variables.less
- /web/static/src/less/utils.less
- /web_editor/static/src/less/web_editor.variables.less
- /web/static/lib/bootstrap-datetimepicker/src/less/_bootstrap-datetimepicker.less
- /web/static/src/less/fonts.less
- /web/static/src/less/navbar.less
- /web/static/src/less/mimetypes.less
- /web/static/src/less/modal.less
- /web/static/src/less/animation.less
- /web/static/src/less/rainbow.less
- /web/static/src/less/datepicker.less
- /web_enterprise/static/src/less/fonts.less
- /web_planner/static/src/less/web_planner_common.less
- /web_tour/static/src/less/tip.less
- /web_tour/static/src/less/keyframes.less
- /stock/static/src/less/stock_traceability_report.less

I have checked the less version in Ubuntu 20.04:

lessc --version
lessc 4.1.1 (Less Compiler) [JavaScript]

I have installaed less@3.10.3

sudo npm install -g less@3.10.3

This has solved my issue.

الصورة الرمزية
إهمال
الكاتب أفضل إجابة

thank you for help, impossible. I restart the server

الصورة الرمزية
إهمال
أفضل إجابة

Bro,  after restore backup, I was also getting this error.  My operating system is WINDOWS 10. How can I solve this problem? 

الصورة الرمزية
إهمال
أفضل إجابة

vamos a probar

الصورة الرمزية
إهمال
أفضل إجابة

Try this command

sudo apt-get install npm

sudo npm install -g less@3.10.3

Restart your odoo 

الصورة الرمزية
إهمال
أفضل إجابة

You may be removed the muk_web_branding addon from addons path without un-install.  Try to put back the addon on the same path.

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
2
أغسطس 19
3921
2
سبتمبر 23
6298
4
مايو 25
47315
3
أكتوبر 21
17918
tmp is full تم الحل
1
يونيو 19
7431