Odoo Help

Welcome!

This community 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.

1

What is the reason for AttributeError: 'module' object has no attribute 'cli'?

By
Nihat
on 8/15/13, 7:10 AM 2,676 views

I have installed Openerp Server 7 on Centos and it worked perfectly for a while. One day when I tried to open the web client it did not come up. When I checked the server process it was stopped. When I try to start the service I get the following output:

Starting OpenERP Server Daemon (openerp-server): [ OK ] [root@localhost openerp]# Traceback (most recent call last): File "/usr/bin/openerp-server", line 5, in <module> pkg_resources.run_script('openerp==7.0-20130717-231254', 'openerp-server') File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 461, in run_script self.require(requires)[0].run_script(script_name, ns) File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 1194, in run_script execfile(script_filename, namespace, namespace) File "/usr/lib/python2.6/site-packages/openerp-7.0_20130717_231254-py2.6.egg/EGG-INFO/scripts/openerp-server", line 5, in <module> openerp.cli.main() AttributeError: 'module' object has no attribute 'cli'

Can aynone suggest what I shall do?

0
Khalil Awada
On 9/3/13, 9:30 PM

i got the same issue but openerp-server failed to start

[root@server openerp]# service openerp start Starting OpenERP Server Daemon (openerp-server): [ OK ] [root@server openerp]# Traceback (most recent call last): File "/usr/bin/openerp-server", line 5, in <module> pkg_resources.run_script('openerp==7.0-20130902-231053', 'openerp-server') File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 461, in run_script self.require(requires)[0].run_script(script_name, ns) File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 1194, in run_script execfile(script_filename, namespace, namespace) File "/usr/lib/python2.6/site-packages/openerp-7.0_20130902_231053-py2.6.egg/EGG-INFO/scripts/openerp-server", line 5, in <module> openerp.cli.main() AttributeError: 'module' object has no attribute 'cli'

0
Juani
On 9/20/13, 7:40 AM

I had this issue too and it was a permissions problem. It happened again with the latest revision of openerp-web and the only way I managed to fix it was to download an earlier revision of openerp-web. I hope it might help you

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)

Stats

Asked: 8/15/13, 7:10 AM
Seen: 2676 times
Last updated: 3/16/15, 8:10 AM