At E-ndicus we have been successfully offering OpenERP services for nearly 18 months now. The installation help page for its recent client version 6.0.2 present here unfortunately doesn’t caters to Fedora derivative lovers.
The link for installing given above lists the following packages to be pre-installed before installing OpenERP Client in Ubuntu.
- python-gtk2
- python-glade2
- python-matplotlib
- python-egenix-mxdatetime
- python-xml
- python-tz
- python-hippocanvas
- python-pydot
Fortunately all of them are packaged & kept ready through Ubuntu repository. Life is even easier since openerp comes packaged & delivered through Ubuntu repo (may not be the latest version). But OpenERP itself provides necessary Ubuntu binaries & if you open it through Gdebi & provided you are online, Gdebi takes care of the rest.
I recently installed Fedora 15 on my Laptop (have Ubuntu 11.04 on top of it
). So I needed atleast openerp-client to be installed in my Fedora to connect to couple of servers.
Did some search to map the above mentioned dependencies in Ubuntu to their Fedora equivalents and here are they,
- python-gtk2 – pygtk2
- python-glade2 – glade2
- python-matplotlib – python-matplotlib
- python-egenix-mxdatetime –
no pre-built packages through repository
- python-xml – python-lxml
- python-tz – pytz
- python-hippocanvas – hippo-canvas
- python-pydot – pydot
So, went ahead to install all except the egenix-mxdatetime through yum.
egenix-mxdatetime is actually from: http://www.egenix.com/products/python/mxBase/
I preferred to install it after installing python-setuptools & easy_install egenix-mx-base (mind that you need to be root to do all these.)
Downloaded openerp-client-6.0.2
Extracted the archive. went into the folder & cd openerp-client-6.0.2
# python setup.py install
noticed it checks for dependencies and installed python-dateutil.. Hmm..
So, Life is not yet good in Fedora for OpenERP client.
I gave, openerp-client & it threw,
$ openerp-client
/usr/bin/openerp-client: line 2: cd: /usr/lib/python2.7/site-packages/openerp-client: No such file or directory
/usr/bin/python: can’t open file ‘./openerp-client.py’: [Errno 2] No such file or directory
the reason is perhaps that openerp-client file at /usr/bin/openerp-client point to /usr/lib/python2.7/site-packages/openerp-client which is actually at, /usr/lib/python2.7/site-packages/openerp_client-6.0.2-py2.7.egg/openerp-client
Edited the /usr/bin/openerp-client file and made necessary modification. But the time is not good yet. Giving,
$ openerp-client
throwed me,
CRITICAL:init:Failed to open file ‘openerp-icon.png’: No such file or directory
CRITICAL:init:Ensure that the file /home/endicus/.openerprc is correct