Odoo Help

3

0
11 Answers
2
Avatar

Akhil P Sivan India

--Akhil P Sivan--

5977
| 6 5 9
Kochi, India
--Akhil P Sivan--

Odoo Developer

email-id : akhilpsivan01@gmail.com

Akhil P Sivan India
10/2/15, 4:01 AM

Hi,

Have you installed all the required libraries? Odoo 9 is depends on node-less.

Please install it by the following command:

sudp apt-get install python-pip python-dev libevent-dev gcc libxml2-dev libxslt-dev node-less libldap2-dev libssl-dev

Also please make sure you have installed all the python libraries mentioned here:

https://github.com/odoo/odoo/blob/9.0/requirements.txt 

if the above didn't work for you, try this command:

npm install -g less-plugin-clean-css

Hope this helps.

1 Comment
Sprint IT, Chandni Gandhi Finland
10/11/16, 7:21 AM

Please Update this:

sudo apt-get install python-pip python-dev libevent-dev gcc libxml2-dev libxslt-dev node-less libldap2-dev libssl-dev

SUDO instead of SUDP

2
Mateo Tibaquira Colombia
10/16/15, 3:42 PM

I figured out that Enterprise addons have to be before the Community addons in the addons_path config, or the community web module is installed instead the enterprise one, producing this error.

Now my odoo.conf looks like:

addons_path = /.../.local/data/addons/9.0,/odoo/openerp/addons,/odoo/enterprise,/odoo/addons,/odoo/my_addon
1 Comment
Justin Lessard Canada
10/30/15, 1:56 PM

Your answer did the job for me. Thanks

1
Tomasz Serwanski Poland
10/2/15, 3:57 AM

try this please, not sure but saw it in the meantime, looks similar - maybe will help you.


https://www.odoo.com/forum/help-1/question/solved-odoo-9-which-lib-is-missing-to-resolve-this-error-91050


regards

Tomasz

 

0
Avatar

Axel Mendoza Cuba

--Axel Mendoza--
13946
| 8 8 10
Camaguey, Cuba
--Axel Mendoza--

DevOps - Full stack - Software Architect - Developer - Technology Integrator

I could help you to develop anything and solve complex problems based on technologies, integrations and tricky stuffs mostly in Python with OpenERP/Odoo, Zato, Django and many others frameworks programming languages and technologies.

I offers consulting services to anyone with an unanswered questions or needs for customizations. Think about it, maybe it's better to have an expert to solve your issues and projects than having a full-time employee trying to understand what to do and how

Reach me at aekroft@gmail.com

Axel Mendoza Cuba
10/17/15, 9:27 PM

See how to solve it here:

https://www.odoo.com/forum/help-1/question/what-does-this-error-mean-on-odoo-could-not-execute-command-lessc-60439#answer_91689

0
Manu Miu Germany
10/2/15, 3:04 AM

It's the same for me.

This is my error message:

2015-10-02 09:12:43,927 1719 INFO odoo openerp.addons.base.ir.ir_autovacuum: GC'd 0 user log entries

2015-10-02 09:12:44,480 1719 WARNING odoo openerp.addons.base.ir.ir_qweb: TypeError: invalid data
at Socket.write (net.js:615:11)
at /usr/lib/node_modules/less/bin/lessc:388:40
at Object.finish [as _finish] (/usr/lib/node_modules/less/parser.js:669:28)
at Object.tree.importVisitor.run (/usr/lib/node_modules/less/import-visitor.js:34:22)
at Object.Parser.parser.parse (/usr/lib/node_modules/less/parser.js:675:22)
at parseLessFile (/usr/lib/node_modules/less/bin/lessc:347:12)
at Socket.<anonymous> (/usr/lib/node_modules/less/bin/lessc:412:9)
at Socket.emit (events.js:117:20)
at _stream_readable.js:944:16
at process._tickCallback (node.js:442:13)
This error occured while compiling the bundle 'web.assets_common' containing:
- /web/static/src/less/mimetypes.less
- /web/static/src/less/animation.less
- /web_planner/static/src/less/web_planner_common.less
- /web_editor/static/src/less/web_editor.less
2015-10-02 09:12:46,688 1719 WARNING odoo openerp.addons.base.ir.ir_qweb: TypeError: invalid data
at Socket.write (net.js:615:11)
at /usr/lib/node_modules/less/bin/lessc:388:40
at Object.finish [as _finish] (/usr/lib/node_modules/less/parser.js:669:28)
at Object.subFinish [as _finish] (/usr/lib/node_modules/less/import-visitor.js:87:47)
at Object.subFinish [as _finish] (/usr/lib/node_modules/less/import-visitor.js:87:47)
at Object.subFinish [as _finish] (/usr/lib/node_modules/less/import-visitor.js:87:47)
at Object.tree.importVisitor.run (/usr/lib/node_modules/less/import-visitor.js:34:22)
at /usr/lib/node_modules/less/import-visitor.js:98:38
at fileParsedFunc (/usr/lib/node_modules/less/parser.js:82:17)
at /usr/lib/node_modules/less/parser.js:105:29
This error occured while compiling the bundle 'web.assets_backend' containing:
- /website/static/src/less/import_bootstrap.less
- /web/static/src/less/variables.less
- /web/static/src/less/enterprise_compatibility.less
- /web/static/src/less/utils.less
- /web/static/src/less/modal.less
- /web/static/src/less/notification.less
- /base_import/static/src/less/import.less
- /web_tip/static/src/less/tip.less
- /web_calendar/static/src/less/web_calendar.less
- /web_diagram/static/src/less/diagram_view.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

On Github there's an issue concerning this: https://github.com/odoo/odoo/issues/8617

And a gist: https://gist.github.com/ovnicraft/96ec0aea574150c28b2a


The solution provided by Akhil P Sivan (which others also recommend) to install:

less-plugin-clean-css
node-clean-css
node-less 
etc.

Nothing solved this issue for me.

I installed the latest odoo v9 nightly rpm on Fedora 22.

4 Comments
Akhil P Sivan India
10/5/15, 8:16 AM

ok, you have installed node-less library right? Now try after installing the Blogs module or Website module in your database

Manu Miu Germany
10/5/15, 9:06 AM

Thanks for your answer! Yes, I did. I installed both modules independently, but nothing solved the issue. I would like to use a docker container to get it up and running, but the official docker repository is odoo v8. Hope they'll update the docker repo soon. Do you think, Fedora could be a reason for that problem?

Akhil P Sivan India
10/5/15, 2:12 PM

Yes, I think so.

Manu Miu Germany
10/12/15, 6:46 PM

Thanks for your help Akhil, with the docker image I got it working. Really happy about that! ;-)

Ask a Question
Writer
Keep Informed
5 follower(s)
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register
Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now