تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
7 الردود
5466 أدوات العرض
Hello everyone,
I recently started exploring the world of Odoo and I'm setting up the environment for development in Odoo 17 in Ubuntu 22.04.
After much trouble, I managed to launch odoo, but I have the following style error in display:
The style compilation failed, see the error below. This is an administrator or developer error that must be fixed for the entire database before continuing working.

"Could not execute command 'sassc'This error occurred while compiling the bundle 'web.assets_frontend' containing: - /web/static/lib/bootstrap/scss/_functions.scss - /web/static/lib/bootstrap/scss/_mixins.scss - /web/static/src/scss/functions.scss - /web/static/src/scss/mixins_forwardport.scss - /web/static/src/scss/bs_mixins_overrides.scss - /web/static/src/scss/utils.scss - /web/static/src/scss/primary_variables.scss - /web/static/src/core/avatar/avatar.variables.scss - /web/static/src/core/notifications/notification.variables.scss - /web/static/src/search/control_panel/control_panel.variables.scss - /web/static/src/search/search_panel/search_panel.variables.scss - /web/static/src/views/fields/statusbar/statusbar_field.variables.scss - /web/static/src/views/form/form.variables.scss - /web/static/src/views/kanban/kanban.variables.scss - /web/static/src/webclient/burger_menu/burger_menu.variables.scss - /web/static/src/webclient/navbar/navbar.variables.scss - /web_editor/static/src/scss/web_editor.variables.scss - /web_editor/static/src/scss/wysiwyg.variables.scss - /web/static/src/scss/secondary_variables.scss - /web_editor/static/src/scss/secondary_variables.scss - /web_editor/static/src/scss/bootstrap_overridden.scss - /web/static/src/scss/bootstrap_overridden_frontend.scss - /web/static/src/scss/pre_variables.scss - /web/static/lib/bootstrap/scss/_variables.scss - /web/static/src/scss/import_bootstrap.scss - /web/static/src/scss/helpers_backport.scss - /web/static/src/scss/utilities_custom.scss - /web/static/lib/bootstrap/scss/utilities/_api.scss - /web/static/src/scss/bootstrap_review.scss - /web/static/src/scss/bootstrap_review_frontend.scss - /web/static/src/webclient/navbar/navbar.scss - /web/static/src/scss/animation.scss - /web/static/src/scss/base_frontend.scss - /web/static/src/scss/fontawesome_overridden.scss - /web/static/src/scss/mimetypes.scss - /web/static/src/scss/ui.scss - /web/static/src/views/fields/translation_dialog.scss - /web/static/src/views/fields/signature/signature_field.scss - /web/static/src/legacy/scss/ui.scss - /web/static/src/legacy/scss/modal.scss - /web/static/src/legacy/scss/lazyloader.scss - /web/static/src/core/utils/transitions.scss - /web/static/src/core/action_swiper/action_swiper.scss - /web/static/src/core/autocomplete/autocomplete.scss - /web/static/src/core/avatar/avatar.scss - /web/static/src/core/checkbox/checkbox.scss - /web/static/src/core/colorlist/colorlist.scss - /web/static/src/core/colorpicker/colorpicker.scss - /web/static/src/core/datetime/datetime_picker.scss - /web/static/src/core/debug/debug_menu.scss - /web/static/src/core/debug/profiling/profiling_item.scss - /web/static/src/core/debug/profiling/profiling_qweb.scss - /web/static/src/core/dialog/dialog.scss - /web/static/src/core/dropdown/accordion_item.scss - /web/static/src/core/dropdown/dropdown.scss - /web/static/src/core/effects/rainbow_man.scss - /web/static/src/core/emoji_picker/emoji_picker.dark.scss - /web/static/src/core/emoji_picker/emoji_picker.scss - /web/static/src/core/errors/error_dialog.scss - /web/static/src/core/file_upload/file_upload_progress_bar.scss - /web/static/src/core/file_upload/file_upload_progress_record.scss - /web/static/src/core/file_viewer/file_viewer.scss - /web/static/src/core/install_prompt/install_prompt.scss - /web/static/src/core/model_field_selector/model_field_selector.scss - /web/static/src/core/model_field_selector/model_field_selector_popover.scss - /web/static/src/core/model_selector/model_selector.scss - /web/static/src/core/notebook/notebook.scss - /web/static/src/core/notifications/notification.scss - /web/static/src/core/popover/popover.scss - /web/static/src/core/resizable_panel/resizable_panel.scss - /web/static/src/core/select_menu/select_menu.scss - /web/static/src/core/signature/name_and_signature.scss - /web/static/src/core/tags_list/tags_list.scss - /web/static/src/core/tooltip/tooltip.scss - /web/static/src/core/tree_editor/tree_editor.scss - /web/static/src/core/ui/block_ui.scss - /web/static/src/core/utils/draggable_hook_builder.scss - /web/static/src/core/utils/nested_sortable.scss - /web_editor/static/src/components/history_dialog/history_dialog.scss - /web_editor/static/src/components/media_dialog/media_dialog.scss - /web_editor/static/src/components/upload_progress_toast/upload_progress_toast.scss - /web_editor/static/src/js/editor/odoo-editor/src/base_style.scss - /web_editor/static/src/scss/web_editor.common.scss - /web_editor/static/src/scss/web_editor.frontend.scss - /web_tour/static/src/tour_pointer/tour_pointer.scss"

Could you kindly help me by guiding me towards solving the problem?
A thousand thanks.


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

If you're using a build tool (like Gulp, Grunt, or Webpack), ensure that your configuration files are set up correctly to use sassc. Review the paths and options specified in your build configuration.

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

I treid this method  but  still wrong

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

pip3 install libsass==0.12.3

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

Cảm ơn tôi đã giải quyết được vấn đề này khi cài đặt libsaas với phiên bản 0.20.1.

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

Please let me know if it is resolved

الصورة الرمزية
إهمال
الكاتب أفضل إجابة
thank you so much for your answer.
I tried to install libsass 0.20.1 but unfortunately I still get the same error.


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

Hi 

Install libsaas with version 0.20.1

sudo apt install python3-libsass

pip3 install libsass==0.20.1


Hope it Helps

Regards

الصورة الرمزية
إهمال

Hi I've tried installing libsass using pip3 and restart the Odoo 18 server and the console still shows could not execute command sassc. I've tried everything already, hope you can reply soon.

المنشورات ذات الصلة الردود أدوات العرض النشاط
0
يوليو 24
650
0
مايو 24
776
0
أبريل 24
23
1
مارس 24
1837
0
مارس 24
1080