Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
5 Trả lời
28011 Lượt xem

HI, I am getting this error after installing Odoo 13 on Ubuntu 

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

Process exited with return code -11
This error occured while compiling the bundle 'web.assets_common' containing:
- /web/static/lib/bootstrap/scss/_functions.scss
- /web/static/lib/bootstrap/scss/_mixins.scss
- /web/static/src/scss/bs_mixins_overrides.scss
- /web/static/src/scss/utils.scss
- /web/static/src/scss/primary_variables.scss
- /web_editor/static/src/scss/web_editor.variables.scss
- /web_editor/static/src/scss/secondary_variables.scss
- /web/static/src/scss/secondary_variables.scss
- /web/static/lib/bootstrap/scss/_variables.scss
- /web/static/lib/tempusdominus/tempusdominus.scss
- /web/static/src/scss/fonts.scss
- /web/static/src/scss/ui.scss
- /web/static/src/scss/ui_extra.scss
- /web/static/src/scss/navbar.scss
- /web/static/src/scss/mimetypes.scss
- /web/static/src/scss/modal.scss
- /web/static/src/scss/animation.scss
- /web/static/src/scss/rainbow.scss
- /web/static/src/scss/datepicker.scss
- /web/static/src/scss/daterangepicker.scss
- /web/static/src/scss/banner.scss
- /web/static/src/scss/colorpicker.scss
- /web/static/src/scss/translation_dialog.scss
- /web/static/src/scss/keyboard.scss
- /web/static/src/scss/name_and_signature.scss
- /web/static/src/scss/web.zoomodoo.scss
- /web/static/src/scss/fontawesome_overridden.scss
- /web_tour/static/src/scss/tip.scss
- /web_tour/static/src/scss/keyframes.scss"

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

You need some python libraries for sass,bootstrap... like Libass librarie (https://github.com/sass/libsass-python/releases)

you can install  all required Python modules for odoo with pip3 to make sure that no file is missing using the file "requirements.txt "(the path of the file is under the odoo directory next to the addons),

pip3 install -r odoo13/odoo/requirements.txt
good luck!

Ảnh đại diện
Huỷ bỏ

this is a correct,great

Câu trả lời hay nhất

please install below package
pip3 install libsass==0.17.0

Ảnh đại diện
Huỷ bỏ

This is help to correct style error in odoo 15 .

Câu trả lời hay nhất

it seems that some python libraries for Bootstrap... are missing 

to make sure that all Odoo required modules  are available,you can use pip3 to install these libraries using the file requirements.txt under the "odoo" directory next to the addons directory,

pip3 install -r odoo/requirements.txt

good luck!

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

Also getting this issue 


Error:


Traceback:
TypeError: Cannot read property 'getBoundingClientRect' of undefined
at computeFloatOuterWidthWithMargins (http://192.168.2.116:8069/web/content/252-3d5e37d/web.assets_common.js:3922:73)
at _adapt (http://192.168.2.116:8069/web/content/252-3d5e37d/web.assets_common.js:3921:461)
at Object.initAutoMoreMenu (http://192.168.2.116:8069/web/content/252-3d5e37d/web.assets_common.js:3915:533)
at http://192.168.2.116:8069/web/content/253-d559326/web.assets_backend.js:779:242
at async Promise.all (index 2)
at async Promise.all (index 0)

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

this occurred when I upgrade nodejs package on server, to fix it.
In terminal:
try to remove libsass library by:


pip uninstall libsass


then install it again:


pip install -U libsass


Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
4
thg 2 24
6524
3
thg 3 24
3002
0
thg 11 22
2084
0
thg 2 22
3518
2
thg 2 22
5725