← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 676736] Re: wrong openerp deployment in ubuntu lucid with py2.6

 

*** This bug is a duplicate of bug 484740 ***
    https://bugs.launchpad.net/bugs/484740

I should have pointed out that python packaging (python setup.py install) is not valid with python2.6 in Ubuntu Lucid. The bug description aims to show the outcome of such scenario.
Note that the same installation behaves differently when python2.5 and Ubuntu 8.04 is used instead. The former environment deploys well in a production system, while this is not happening in Lucid where extra configuration is required in order to make it work.

Perhaps this is a duplicate of bug #484740

-- 
wrong openerp deployment in ubuntu lucid with py2.6
https://bugs.launchpad.net/bugs/676736
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject GTK Client: New

Bug description:
openerp Trunk
revision 5121 of trunk-extra-addons
Ubuntu lucid / python2.6:


A) openerp-server, openerp-web, and openerp-client are deployed in /usr/local/lib/python2.6/dist-packages/

openerp@openerp6desktop:~/production/openerp-client/bin$ ls -F /usr/local/lib/python2.6/dist-packages/
Beaker-1.5.1-py2.6.egg/         Mako-0.2.5-py2.6.egg/  openerp-server/                      openerp_web-6.0.0_rc1-py2.6.egg/
CherryPy-3.1.2-py2.6.egg/       easy-install.pth       openerp_client-6.0.0_rc1_1.egg-info  python_dateutil-1.4.1-py2.6.egg/
FormEncode-1.2.3dev-py2.6.egg/  openerp-client/        openerp_server-6.0.0_rc1.egg-info/   simplejson-2.0.9-py2.6-linux-i686.egg/

openerp@openerp6desktop:~/production/openerp-client/bin$ ls /usr/local/lib/python2.6/dist-packages/openerp-server/      
__init__.py   import_xml.rng  netsvc.pyc          osv         pychart      report         server.cert  sql_db.py   tiny_socket.py   wizard
__init__.pyc  ir              openerp-server.py   pooler.py   release.py   run_tests.py   server.pkey  sql_db.pyc  tiny_socket.pyc  workflow
addons        netsvc.py       openerp-server.pyc  pooler.pyc  release.pyc  run_tests.pyc  service      test        tools

ADDONS DIR IS ALMOST EMPTY:

openerp@openerp6desktop:~/production/openerp-client/bin$ ls /usr/local/lib/python2.6/dist-packages/openerp-server/addons/
__init__.py  __init__.pyc  base  base_quality_interrogation.py  base_quality_interrogation.pyc
openerp@openerp6desktop:~/production/openerp-client/bin$


B) openerp-server modules are deployed in other location! : /usr/lib/python2.6/site-packages/openerp-server/    

openerp@openerp6desktop:~/production/openerp-client/bin$ ls /usr/lib/python2.6/site-packages/openerp-server/
addons

openerp@openerp6desktop:~/production/openerp-client/bin$ ls /usr/lib/python2.6/site-packages/openerp-server/addons/
account                                crm_caldav                   l10n_chart_at                     product_lot_foundry
account_accountant                     crm_claim                    l10n_chart_au                     product_m2mcategories
account_analytic_analysis              crm_claim_refund             l10n_chart_be_frnl                product_manufacturer
[...]


C) openerp-client is not well deployed either:

openerp@openerp6desktop:~$ openerp-client
cd: 2: can't cd to /usr/lib/python2.6/site-packages/openerp-client
/usr/bin/python: can't open file './openerp-client.py': [Errno 2] No such file or directory


Note that openerp-client is not deployed in /usr/lib/python2.6/site-packages but in /usr/local/lib/python2.6/dist-packages/

openerp@openerp6desktop:~$ ls -l /usr/lib/python2.6/site-packages
total 4
drwxr-xr-x 3 openerp root 4096 Nov  6 17:50 openerp-server
openerp@openerp6desktop:~$





References