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.

0

Install issue on CentOS 6.

By
name
on 10/17/13, 7:28 PM 3,656 views

I would like to ask, if there any solutions for the issues on CentOS:

File "/usr/bin/openerp-server", line 5, in <module> pkg_resources.run_script('openerp==7.0-20131008-231022', 'openerp-server') File "/usr/lib/python2.6/site-packages/setuptools-1.1.6-py2.6.egg/pkg_resources.py", line 492, in run_script self.require(requires)[0].run_script(script_name, ns) File "/usr/lib/python2.6/site-packages/setuptools-1.1.6-py2.6.egg/pkg_resources.py", line 1350, in run_script execfile(script_filename, namespace, namespace) File "/usr/lib/python2.6/site-packages/openerp-7.0_20131008_231022-py2.6.egg/EGG-INFO/scripts/openerp-server", line 5, in <module> openerp.cli.main() AttributeError: 'module' object has no attribute 'cli'

Thanks

0
David Dean
On 10/17/13, 8:34 PM

Make sure you have installed all the Python dependencies before installing OpenERP. Most of them are only available from the Fedora repository.

Note: I have insufficient karma to post links, so remember to add the http prefix in the rpm command below.

rpm -ivh dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

yum -y install graphviz ghostscript PyGreSQL python-dateutil python-feedparser python-gdata python-ldap python-lxml python-xlrd python-mako python-openid python-psycopg2 python-babel python-pycha pydot pyparsing python-reportlab python-simplejson pytz python-vatnumber python-vobject pywebdav python-werkzeug python-yaml  python-imaging python-matplotlib python-psutil gcc

Here is how I install the nightly build. Note: I have insufficient karma to post links, so remember to add the http prefix in the wget command below.

cd /tmp/
wget nightly.openerp.com/7.0/nightly/src/openerp-7.0-latest.tar.gz
tar -zxvf openerp-7.0-latest.tar.gz --transform 's!^[^/]\+\($\|/\)!openerp\1!'
cd openerp
python setup.py install
rm -f /usr/local/bin/openerp-server
cp openerp-server /usr/local/bin
cp install/openerp-server.init /etc/init.d/openerp
cp install/openerp-server.conf /etc
chown openerp:openerp /etc/openerp-server.conf
chmod u+x /etc/init.d/openerp
/sbin/chkconfig --level 35 openerp on
/etc/init.d/openerp start

David, Thanks!:)

Tried your recommendations, but still no result.

Traceback (most recent call last): File "/usr/bin/openerp-server", line 5, in <module> pkg_resources.run_script('openerp==7.0-20131009-231130', 'openerp-server') File "/usr/lib/python2.6/site-packages/setuptools-1.1.6-py2.6.egg/pkg_resources.py", line 492, in run_script self.require(requires)[0].run_script(script_name, ns) File "/usr/lib/python2.6/site-packages/setuptools-1.1.6-py2.6.egg/pkg_resources.py", line 1350, in run_script execfile(script_filename, namespace, namespace) File "/usr/lib/python2.6/site-packages/openerp-7

name
on 10/19/13, 7:27 AM
0

Serpent Consulting Services Pvt. Ltd.

--Serpent Consulting Services Pvt. Ltd.--
4341
| 6 6 8
Gandhinagar, India
--Serpent Consulting Services Pvt. Ltd.--

Serpent Consulting Services Pvt. Ltd. Your Odoo/OpenERP Solution, just an email away!

Serpent Consulting Services Pvt. Ltd.
On 12/31/13, 11:56 AM

This seems more about the issue of access to the OpenERP server files. Check this, might help : http://www.serpentcs.com/serpentcs-how-to-install-openerp-on-centos

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

0 follower(s)

Stats

Asked: 10/17/13, 7:28 PM
Seen: 3656 times
Last updated: 3/16/15, 8:10 AM