Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
5 Răspunsuri
28001 Vizualizări

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"

Imagine profil
Abandonează
Cel mai bun răspuns

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!

Imagine profil
Abandonează

this is a correct,great

Cel mai bun răspuns

please install below package
pip3 install libsass==0.17.0

Imagine profil
Abandonează

This is help to correct style error in odoo 15 .

Cel mai bun răspuns

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!

Imagine profil
Abandonează
Autor Cel mai bun răspuns

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)

Imagine profil
Abandonează
Cel mai bun răspuns

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


Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
4
feb. 24
6511
3
mar. 24
2994
0
nov. 22
2079
0
feb. 22
3505
2
feb. 22
5717