Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
5 Respostas
28038 Visualizações

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"

Avatar
Cancelar
Melhor resposta

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!

Avatar
Cancelar

this is a correct,great

Melhor resposta

please install below package
pip3 install libsass==0.17.0

Avatar
Cancelar

This is help to correct style error in odoo 15 .

Melhor resposta

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!

Avatar
Cancelar
Autor Melhor resposta

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)

Avatar
Cancelar
Melhor resposta

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


Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
4
fev. 24
6561
3
mar. 24
3027
0
nov. 22
2106
0
fev. 22
3544
2
fev. 22
5744