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

Tarek Ziadé ziade.tarek at gmail.com
Sat Dec 12 15:25:39 CET 2009


On Sat, Dec 12, 2009 at 3:06 PM, Tarek Ziadé <ziade.tarek at gmail.com> wrote:
> On Sat, Dec 12, 2009 at 2:56 PM, Reinout van Rees <reinout at vanrees.org> wrote:
>> On 12/12/09 6:14 AM, Tres Seaver wrote:
>>>
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>>>
>>> James J Myers wrote:
>>>>
>>>> Next try was to change buildout to use minitage.recipe.cmmi and that
>>>> works!
>>>>
>>>> So it appears that something changed in zc.recipe.cmmi in December that
>>>> broke it.
>>>
>>> Unless you are using an SVN checkout of zc.recipe.cmmi, the latest
>>> release was 1.3.1, 2009-09-10.  zc.buildout 1.4.3 was released
>>> 2009-12-10, but its deltas don't appear to explain the behavior you
>>> report.
>>
>> I'm also getting an error:
>>
>> While:
>>  Installing.
>>  Getting section lxml.
>>  Initializing section lxml.
>>  Installing recipe z3c.recipe.staticlxml >= 0.6.
>>
>> An internal error occured due to a bug in either zc.buildout or in a
>> recipe being used:
>> Traceback (most recent call last):
>>  File
>> "/private/var/folders/qC/qC6d69l0EDe-sx-yyKchqU+++TI/-Tmp-/tmpeuNbOC/zc.buildout-1.4.3-py2.5.egg/zc/buildout/buildout.py",
>> line 1660, in main
>>  File
>> "/private/var/folders/qC/qC6d69l0EDe-sx-yyKchqU+++TI/-Tmp-/tmpeuNbOC/zc.buildout-1.4.3-py2.5.egg/zc/buildout/buildout.py",
>> line 416, in install
>>  File
>> "/private/var/folders/qC/qC6d69l0EDe-sx-yyKchqU+++TI/-Tmp-/tmpeuNbOC/zc.buildout-1.4.3-py2.5.egg/zc/buildout/buildout.py",
>> line 964, in __getitem__
>>  File
>> "/private/var/folders/qC/qC6d69l0EDe-sx-yyKchqU+++TI/-Tmp-/tmpeuNbOC/zc.buildout-1.4.3-py2.5.egg/zc/buildout/buildout.py",
>> line 1048, in _initialize
>>  File
>> "/private/var/folders/qC/qC6d69l0EDe-sx-yyKchqU+++TI/-Tmp-/tmpeuNbOC/zc.buildout-1.4.3-py2.5.egg/zc/buildout/buildout.py",
>> line 1004, in _install_and_load
>>  File
>> "/private/var/folders/qC/qC6d69l0EDe-sx-yyKchqU+++TI/-Tmp-/tmpeuNbOC/zc.buildout-1.4.3-py2.5.egg/zc/buildout/easy_install.py",
>> line 800, in install
>>  File
>> "/private/var/folders/qC/qC6d69l0EDe-sx-yyKchqU+++TI/-Tmp-/tmpeuNbOC/zc.buildout-1.4.3-py2.5.egg/zc/buildout/easy_install.py",
>> line 663, in install
>>  File
>> "/private/var/folders/qC/qC6d69l0EDe-sx-yyKchqU+++TI/-Tmp-/tmpeuNbOC/zc.buildout-1.4.3-py2.5.egg/zc/buildout/easy_install.py",
>> line 612, in _constrain
>> AttributeError: 'str' object has no attribute 'project_name'

Ok this is fixed now. 0.6.10 released

I think we should work on adding a functional test in Distribute, that
runs some zc.buildout scripts
to make sure this doesn't happen again,

Reinout, do you have some buildout.cfg scripts you could add in
Distribute, that can be built
quickly and illustrates this problem ?

Tarek


More information about the Distutils-SIG mailing list