← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 725317] Re: [6.0.1] populate.sh seams broken

 

Also a small correction:

> So it seems to be related to the fact that latest CherryPy version
target Python 3.x while OpenERP is sticking with 2.x for now.

CherryPy 3.2 is available for both Python 2 and Python 3.

-- 
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/725317

Title:
  [6.0.1] populate.sh seams broken

Status in OpenERP Web Client:
  New

Bug description:
  Hello, doing populate.sh to installed the required egg dependencies
  doesn't seem to work anymore, here is what I'm getting:

  
  ubuntu@ip-10-203-7-157:/opt/openerp/web/lib$ sudo ./populate.sh 
  install_dir .
  Creating /opt/openerp/web/lib/site.py
  Searching for CherryPy>=3.1.2
  Reading http://pypi.python.org/simple/CherryPy/
  Reading http://www.cherrypy.org
  Reading http://download.cherrypy.org/cherrypy/3.1.0rc1/
  Reading http://download.cherrypy.org/cherrypy/3.1.0/
  Reading http://sourceforge.net/project/showfiles.php?group_id=56099
  Reading http://download.cherrypy.org/cherrypy/3.0.1/
  Reading http://download.cherrypy.org/cherrypy/3.1.0beta3/
  Reading http://download.cherrypy.org/cherrypy/3.0.3/
  Reading http://download.cherrypy.org/cherrypy/3.0.0/
  Reading http://download.cherrypy.org/cherrypy/2.2.1/
  Reading http://download.cherrypy.org/cherrypy/3.1.2/
  Reading http://download.cherrypy.org/cherrypy/3.1.1/
  Reading http://download.cherrypy.org/cherrypy/3.0RC1/
  Reading http://trac.cherrypy.org/cgi-bin/trac.cgi/wiki/CherryPyDownload
  Reading http://download.cherrypy.org/cherrypy/3.1beta/
  Reading http://download.cherrypy.org/cherrypy/3.0.2/
  Reading http://download.cherrypy.org/cherrypy/2.3.0/
  Reading http://download.cherrypy.org/cherrypy/3.0.4/
  Reading http://download.cherrypy.org/cherrypy/3.2.0/
  Best match: CherryPy 3.2.0-py3
  Downloading http://download.cherrypy.org/cherrypy/3.2.0/CherryPy-3.2.0-py3.zip
  Processing CherryPy-3.2.0-py3.zip
  Running CherryPy-3.2.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-m8nQZN/CherryPy-3.2.0/egg-dist-tmp-6Ol4es
  I'm sorry, but CherryPy 3.2.0 requires Python 3.0 or later.

  
  So it seems to be related to the fact that latest CherryPy version target Python 3.x while OpenERP is sticking with 2.x for now.
  A simple fix is to change the CherryPy line in populate.sh with:
  install "http://download.cherrypy.org/cherrypy/3.1.2/CherryPy-3.1.2.tar.gz"; "-d cherrypy"

  May be there could be better fixes however. Hope this helps



References