[Distutils] Problem with buildout and zc.recipe.cmmi

Reinout van Rees reinout at vanrees.org
Sat Dec 12 17:16:55 CET 2009

On 12/12/09 3:06 PM, Tarek Ziadé wrote:
> On Sat, Dec 12, 2009 at 2:56 PM, Reinout van Rees<reinout at vanrees.org>  wrote:
>> AttributeError: 'str' object has no attribute 'project_name'
>> I put a try/except in there and 'str' in this case is the string "The
>> 'zc.recipe.cmmi' distribution was not found on this system, and is required
>> by this application.".
> Yes that's a problem introduced by 0.6.9.
> I have changed the way the DistributionNotFound() exception is raised.
> Unfortunately
> zc.buildout does a str(error) to grab the name of the distribution,
> leading to the problem you have
> I am reverting this change and releasing 0.6.10 so people are not confused.

Thanks, my buildout runs fine now.

And I'm happy to see that zc.buildout 1.4.3 indeed allows a distribute 
upgrade just fine without infinite recursion :-)


Reinout van Rees - reinout at vanrees.org - http://reinout.vanrees.org
Software developer at http://www.thehealthagency.com
"Military engineers build missiles. Civil engineers build targets"

More information about the Distutils-SIG mailing list