← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 676736] Re: openerp-client points to wrong location when deployed with py2.6

 

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

** This bug is no longer a duplicate of bug 484740
   revision 1014 Kubuntu 9.10 Python location wrong in openerp-client executable files
** This bug has been marked a duplicate of bug 674231
   openerp-client trunk: deployment fails with python 2.6 (ubuntu 10.04)
 * You can subscribe to bug 674231 by following this link: https://bugs.launchpad.net/openobject-client/+bug/674231/+subscribe

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/676736

Title:
  openerp-client points to wrong location when deployed with py2.6

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