c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #35425
[Bug 872925] Re: install trunk : script openerp-client miss egg folder in path
If it's work for you,
I think it's a python implementation eggs dependent distribution problem...
My System : Debian wheezy amd64
uname -a
Linux <machine> 3.0.0-1-amd64 #1 SMP Sat Aug 27 16:21:11 UTC 2011 x86_64 GNU/Linux
python -V
Python 2.7.2+
Installation :
cd /home/xavinsky
mkdir trunktest
cd trunktest/
bzr branch lp:~openerp/openobject-client/trunk client
Branched 1983 revision(s).
cd client
sudo python setup.py install
.....
Finished processing dependencies for openerp-client==6.1dev
Creation d'un fichier de config client : openerp-client.config
[path]
pixmaps = /usr/local/lib/python2.7/dist-packages/openerp_client-6.1dev-py2.7.egg/share/pixmaps/openerp-client
share = /usr/local/lib/python2.7/dist-packages/openerp_client-6.1dev-py2.7.egg/share/openerp-client
openerp-client -c /home/xavinsky/trunktest/client/
/usr/local/bin/openerp-client: 2: cd: can't cd to /usr/local/lib/python2.7/dist-packages/openerp-client
/usr/bin/python: can't open file './openerp-client.py': [Errno 2] No such file or directory
I have the same probleme in a virtualenv.
I fix it with :
lp:~xavinsky/openobject-client/trunk-bug-872925-xavinsky
----------
more explain ;
the script mydistutils.py
create the script :
/usr/local/bin/openerp-client
cd /usr/local/lib/python2.7/dist-packages/openerp-client
with the path of the egg in
/usr/local/lib/python2.7/dist-packages/openerp-client
but in my distrib, it's create it in :0
/usr/local/lib/python2.7/dist-packages/openerp_client-6.1dev-py2.7.egg/openerp-client
I will try with on other platform ...
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/872925
Title:
install trunk : script openerp-client miss egg folder in path
Status in OpenERP GTK Client:
Incomplete
Bug description:
Install on linux (debian with ou wothout virtualenv)
after the
python setup.py install
when I use openerp-client command :
<pathbin>/bin/openerp-client: 2: cd: can't cd to <pathlib>/lib/python2.7/site-packages/openerp-client
because the path miss the egg folder :
<pathlib>/lib/python2.7/site-packages/openerp_client-6.1dev-py2.7.egg/openerp-client
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-client/+bug/872925/+subscriptions
References