Odoo error while compiling the bundle #less

Tags: #<Tag:0x00007f790d53d6e8> #<Tag:0x00007f790d53d580> #<Tag:0x00007f790d53d238>

Hi,

Recently I am facing this problem with Odoo, after installing Bahmni version 0.92.

While trying to access Odoo, there is a yellow line at the top of the page. After logging in via credentials I was able to view the full error.

I must say that I am running the same install script as the one I used before New Year’s Eve, which worked very smooth, but now after re-trying to run it again I am getting this error:

The \"--no-js\" argument is deprecated, as inline JavaScript is disabled by default. Use \"--js\" to enable inline JavaScript (not recommended).
SyntaxError: Error evaluating function `floor`: argument must be a number in - on line 2866, column 9:
2865 // o_group contains nested groups 
2866 .o-generate-groups(@odoo-form-group-cols);
2867 .o-generate-groups(@n, @i: 1) when (@i =< @n) {

This error occured while compiling the bundle 'web.assets_backend' 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/src/less/variables.less
	- /web/static/src/less/utils.less 
	- /web_editor/static/src/less/web_editor.variables.less
	- /web/static/src/less/import_bootstrap.less
	- /web/static/src/less/bootstrap_overridden.less 
	- /web/static/src/less/webclient_extra.less
	- /web/static/src/less/webclient_layout.less
	- /web/static/src/less/webclient.less
	- /web/static/src/less/datepicker.less
	- /web/static/src/less/progress_bar.less
	- /web/static/src/less/dropdown.less
	- /web/static/src/less/tooltip.less
	- /web/static/src/less/debug_manager.less
	- /web/static/src/less/control_panel.less
	- /web/static/src/less/control_panel_layout.less 
	- /web/static/src/less/views.less
	- /web/static/src/less/pivot_view.less
	- /web/static/src/less/graph_view.less
	- /web/static/src/less/tree_view.less
	- /web/static/src/less/form_view_layout.less
	- /web/static/src/less/form_view.less
	- /web/static/src/less/list_view.less
	- /web/static/src/less/search_view.less
	- /web/static/src/less/modal.less
	- /web/static/src/less/data_export.less
	- /web/static/src/less/switch_company_menu.less
	- /web/static/src/less/dropdown_extra.less
	- /web/static/src/less/views_extra.less
	- /web/static/src/less/form_view_extra.less
	- /web/static/src/less/form_view_layout_extra.less
	- /web/static/src/less/search_view_extra.less
	- /account/static/src/less/account_reconciliation.less
	- /account/static/src/less/account_journal_dashboard.less
	- /base_import/static/src/less/base_import.less
	- /point_of_sale/static/src/less/pos_dashboard.less
	- /mail/static/src/less/announcement.less
	- /mail/static/src/less/client_action.less
	- /mail/static/src/less/chat_window.less
	- /mail/static/src/less/extended_chat_window.less
	- /mail/static/src/less/composer.less
	- /mail/static/src/less/chatter.less
	- /mail/static/src/less/followers.less
	- /mail/static/src/less/thread.less
	- /mail/static/src/less/systray.less
	- /payment/static/src/less/payment_acquirer.less
	- /report/static/src/less/report_backend.less
	- /sales_team/static/src/less/sales_team_dashboard.less
	- /web_calendar/static/src/less/web_calendar.less
	- /web_diagram/static/src/less/diagram_view.less
	- /web_editor/static/src/less/web_editor.common.less
	- /web_editor/static/src/less/web_editor.backend.less
	- /web_kanban/static/src/less/kanban_dashboard.less
	- /web_kanban/static/src/less/kanban_view.less
	- /web_settings_dashboard/static/src/less/dashboard.less

Is anyone else facing the same error, or do you have a solution for this?

1 Like

Please see this thread

2 Likes

Thank you, this solved my issue.