[BlueBream] buildout error creating sampleproject

George Wright georgewr at bigpond.net.au
Tue May 10 07:32:20 EDT 2011


Thanks Christophe
some comments below.
George

On 09/05/2011, at 2:00 AM, bluebream-request at zope.org wrote:

> Message: 1
> Date: Sun, 8 May 2011 13:45:06 +1000
> From: George Wright <georgewr at bigpond.net.au>
> Subject: [BlueBream] buildout error creating sampleproject
> To: bluebream at zope.org
> Message-ID: <A06CA923-1FCA-4C93-A131-CFB925581E0A at bigpond.net.au>
> Content-Type: text/plain; charset="windows-1252"
> 
> Following the screencast Installing BlueBream Screencasts ? BlueBream v1.0 documentation
> Using a newly installed Bluebream 1.0 on OSX 10.6.7
> 
> When I get to the ./bin/buildout stage it goes into an  loop (infinite?) where it seems to be unhappy 
> using both 'distribute-0.6.14' and 'setuptools version 0.6c11'
> Any suggestions?
> 
> geomacbk:sampleproject georgewr$ sudo python bootstrap.py
> Password:
> Creating directory '/Users/georgewr/sampleproject/bin'.
> Creating directory '/Users/georgewr/sampleproject/parts'.
> Creating directory '/Users/georgewr/sampleproject/develop-eggs'.
> Generated script '/Users/georgewr/sampleproject/bin/buildout'.
> geomacbk:sampleproject georgewr$ sudo ./bin/buildout
> /Users/georgewr/sampleproject/parts/buildout/site.py:262: UserWarning: Module pkg_resources was already imported from /System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/pkg_resources.pyc, but /Users/georgewr/.buildout/eggs/distribute-0.6.14-py2.6.egg is being added to sys.path
>  import pkg_resources
> /Users/georgewr/sampleproject/parts/buildout/site.py:262: UserWarning: Module site was already imported from /Users/georgewr/sampleproject/parts/buildout/site.py, but /Users/georgewr/.buildout/eggs/distribute-0.6.14-py2.6.egg is being added to sys.path
>  import pkg_resources
> Upgraded:
>  setuptools version 0.6c11;
> restarting.
> Generated script '/Users/georgewr/sampleproject/bin/buildout'.
> /Users/georgewr/sampleproject/parts/buildout/site.py:262: UserWarning: Module pkg_resources was already imported from /System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/pkg_resources.pyc, but /Users/georgewr/.buildout/eggs/distribute-0.6.14-py2.6.egg is being added to sys.path
>  import pkg_resources
> /Users/georgewr/sampleproject/parts/buildout/site.py:262: UserWarning: Module site was already imported from /Users/georgewr/sampleproject/parts/buildout/site.pyc, but /Users/georgewr/.buildout/eggs/distribute-0.6.14-py2.6.egg is being added to sys.path
>  import pkg_resources
> Upgraded:
>  setuptools version 0.6c11;
> ....
> etc
> 
> Message: 2
> Date: Sun, 08 May 2011 10:16:39 +0200
> From: Christophe Combelles <ccomb at free.fr>
> Subject: Re: [BlueBream] buildout error creating sampleproject
> To: bluebream at zope.org
> Message-ID: <4DC65167.5040800 at free.fr>
> Content-Type: text/plain; charset=UTF-8; format=flowed
> 
> Le 08/05/2011 05:45, George Wright a ?crit :
>> Following the screencast Installing BlueBream Screencasts ? BlueBream v1.0
>> documentation <http://bluebream.zope.org/screencasts.html>
>> Using a newly installed Bluebream 1.0 on OSX 10.6.7
>> 
>> When I get to the ./bin/buildout stage it goes into an loop (infinite?) where it
>> seems to be unhappy
>> using both 'distribute-0.6.14' and 'setuptools version 0.6c11'
>> Any suggestions?
>> 
>> geomacbk:sampleproject georgewr$ sudo python bootstrap.py
> 
> Why sudo ? The bootstrap purpose is to install buildout in a sandbox so that you 
> don't have to be administrator.

OK Christophe. I started again and this time did the python bootstrap.py  without sudo.
That did make quite a big difference! All running ok now.
However a couple of questions;
I could not follow the purpose of these steps:
 rm -fr src/sampleproject.egg-info/,
bzr init
bzr add *
bzr ci
As well the "initial commit " insert into the bzr_log file. I've not used bzr before and as there is no audio on the screencast I didn't follow what was going on. I guess it is to do with version control and not actually coding the project - and I guess these steps could be omitted without ill effect?


> The loop below is the sign of a conflict between Distribute and a system-wide 
> setuptools, or something like that.
> First try to recreate your sample app from scratch. If this occurs again, try to 
> upgrade your system-wide setuptools or distribute (this time with a sudo: sudo 
> easy_install --upgrade distribute, or sudo pip install --upgrade distribute).
> 
> 
>> Password:
>> Creating directory '/Users/georgewr/sampleproject/bin'.
>> Creating directory '/Users/georgewr/sampleproject/parts'.
>> Creating directory '/Users/georgewr/sampleproject/develop-eggs'.
>> Generated script '/Users/georgewr/sampleproject/bin/buildout'.
>> geomacbk:sampleproject georgewr$ sudo ./bin/buildout
>> /Users/georgewr/sampleproject/parts/buildout/site.py:262: UserWarning: Module
>> pkg_resources was already imported from
>> /System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/pkg_resources.pyc,
>> but /Users/georgewr/.buildout/eggs/distribute-0.6.14-py2.6.egg is being added to
>> sys.path
>> import pkg_resources
>> /Users/georgewr/sampleproject/parts/buildout/site.py:262: UserWarning: Module
>> site was already imported from
>> /Users/georgewr/sampleproject/parts/buildout/site.py, but
>> /Users/georgewr/.buildout/eggs/distribute-0.6.14-py2.6.egg is being added to
>> sys.path
>> import pkg_resources
>> Upgraded:
>> setuptools version 0.6c11;
>> restarting.
>> Generated script '/Users/georgewr/sampleproject/bin/buildout'.
>> /Users/georgewr/sampleproject/parts/buildout/site.py:262: UserWarning: Module
>> pkg_resources was already imported from
>> /System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/pkg_resources.pyc,
>> but /Users/georgewr/.buildout/eggs/distribute-0.6.14-py2.6.egg is being added to
>> sys.path
>> import pkg_resources
>> /Users/georgewr/sampleproject/parts/buildout/site.py:262: UserWarning: Module
>> site was already imported from
>> /Users/georgewr/sampleproject/parts/buildout/site.pyc, but
>> /Users/georgewr/.buildout/eggs/distribute-0.6.14-py2.6.egg is being added to
>> sys.path
>> import pkg_resources
>> Upgraded:
>> setuptools version 0.6c11;
>> ....
>> 
> ****************************************

George Wright
georgewr at bigpond.net.au
http://www.labyrinth.net.au/~gwright







More information about the bluebream mailing list