[Setup] Re: buildout problem

Martin Aspeli optilude at gmx.net
Tue Jan 8 23:15:22 UTC 2008


Richard Berger wrote:
> Hello everybody!
> 
> I'm currently reading Martin Aspeli's book "Professional Plone
> Development". However, I got stuck while trying to use buildout. After
> searching various forums, mailing lists and googling most of this day
> without any success, I feel quite lost. I hope someone can help me out
> here:
> 
> I get this error while running ./bin/buildout -v
> 
> 	Installing 'zc.buildout', 'setuptools'.
> 	We have the best distribution that satisfies 'zc.buildout'.
> 	Picked: zc.buildout = 1.0.0b31
> 	We have the best distribution that satisfies 'setuptools'.
> 	Picked: setuptools = 0.6c7
> 	Installing 'plone.recipe.plone'.
> 	We have no distributions for plone.recipe.plone that satisfies
> 	'plone.recipe.plone'.

Does it stop there, or does it continue? This isn't a problem, normally 
- it just means that it'll go and download it.

> After asking my question at #plone, it became clear that something must
> be wrong with my environment, since my buildout.cfg seemed to be fine
> for someone else. However I really can't find my mistake. Anyway, these
> are the things I did:
> 
> My environment:
> - Ubuntu 7.10 Gutsy Gibbon
> - Python 2.5.1 and Python 2.4.4 (including dev packages) installed
> - PIL installed
> - elementtree installed
> 
> 	$ cd ~
> 	$ wget http://peak.telecommunity.com/dist/ez_setup.py
> 	$ sudo python2.4 ez_setup.py
> 	$ sudo easy_install ZopeSkel
> 	$ paster create -t plone3_buildout optilux
> 	$ cd optilux
> 
> I added the following line to the buildout.cfg in the [buildout] section
> to make sure I'm using python 2.4 (as mentioned in the README.txt):
> 
> 	executable = /usr/bin/python2.4
> 
> And entered the following commands:
> 
> 	$ python2.4 bootstrap.py
> 	$ ./bin/buildout -v
> 
> Which produced the output mentioned above.

That all looks fine. Are you sure there is a real problem? What happens 
when the command completes? What's in your 'bin' directory? If you see 
'instance' in there, you're golden.

Martin

-- 
Author of `Professional Plone Development`, a book for developers who
want to work with Plone. See http://martinaspeli.net/plone-book




More information about the Setup mailing list