[Erp5-dev] Install ERP5 on Mandriva 2010 using buildout

Kazuhiko Shiozaki kazuhiko at nexedi.com
Tue Dec 22 17:01:24 CET 2009


Hello,

Abou Mariam wrote:
> As mentionned on the page http://www.erp5.org/DownloadBuildout, I tryed 
> to install ERP5 using buildout but I have the following error : IOError: 
> [Errno ftp error] (110, 'Connection timed out')
> 
> However, I print the url of the file ( 
> ftp://ftp.tummy.com/pub/python-memcached/ ) by unzipping the 
> setuptools-0.6c11-py2.4.egg and adding print in the package_index.py 
> script. ( Is there a simple way to have the url even in the error message?)

add '-v' argument when you invoke buildout command.

> I have download the file with Konqueror but impossible with firefox!
> 
> How can I use the downloaded file ( python-memcached-1.45.tar.gz ) with 
> buildout? Or where are listed the urls in order to replace the ftp url 
> by another one ?

Temporarily, I copyied the same file to :
http://www.nexedi.org/static/packages/source/python-memcached-1.45.tar.gz

And when I tried buildout with '-v', the log says:

We have no distributions for python-memcached that satisfies
'python-memcached==1.45'.
open_url('http://download.zope.org/distribution/')
open_url('http://download.hforge.org/itools/0.20/')
open_url('http://download.hforge.org/itools/')
open_url('http://dist.repoze.org')
open_url('http://www.nexedi.org/static/packages/source/')
open_url('http://pypi.python.org/simple/python-memcached/')
open_url('http://www.tummy.com/Community/software/python-memcached/')
open_url('ftp://ftp.tummy.com/pub/python-memcached/')
Getting distribution for 'python-memcached==1.45'.
open_url('http://www.nexedi.org/static/packages/source/python-memcached-1.45.tar.gz')
...

So it may work even when ftp does not work in your environment.
(But I'm not sure if it works when you cannot connect ftp.tummy.com)

And back to your question, you can create a directory to put downloaded
files (eg. /tmp/source), and add the path in find-links parameter of
[buildout] (see profiles/base.cfg for example). eg.

find-links +=
  file:///tmp/source/
-- 
Kazuhiko Shiozaki, Nexedi SA Senior Consultant
Nexedi: Consulting and Development of Free / Open Source Software
http://www.nexedi.com
ERP5: Full Featured High End Open Source ERP
http://www.erp5.com
ERP5 Wiki: Developer Zone for ERP5 Community
http://www.erp5.org



More information about the Erp5-dev mailing list