On Aug 23, 2010, at 1:26 PM, Gary Poster wrote:
> On Aug 23, 2010, at 12:36 PM, Andreas Jung wrote:
>> zc.recipe.egg 1.3.0 fails badly with
>> Installing supervisor.
>> Traceback (most recent call last):
>> line 1784, in main
>> getattr(buildout, command)(args)
>> line 569, in install
>> installed_files = self[part]._call(recipe.install)
>> line 1276, in _call
>> return f()
>> line 202, in install
>> extra_eggs + \
>> line 159, in install
>> if options.query_bool('dependent-scripts', 'false'):
>> AttributeError: 'dict' object has no attribute 'query_bool'
>> Not sure who is in charge and where the related bug tracker is!?
> zc.recipe.egg 1.3.0 requires zc.buildout 1.5.0 or higher, as it states it
> setup.py. Are you using zc.buildout 1.5.0? If you are, then this is a bug
> in zc.recipe.egg (that I don't understand on the face of it; all tests pass,
> and Options objects now have a "query_bool" method).
> If you are not forced to use zc.buildout 1.5.0 somehow, I don't know what the
> error there is.
Sorry, the traceback shows you are using zc.buildout 1.5.0.
I take it collective.recipe.supervisor does not use an Options object from
zc.buildout? That is what is passed to zc.recipe.egg normally. Options
objects now have a query_bool method, which reduces a lot of duplication of
code acrorss recipes.
I'd argue that this is a bug in the collective.recipe.supervisor, but I knew at
the start that zc.recipe.egg usage was likely to be fragile. I'll put together
a more-backwards-compatible change later, hopefully today.
Zope-Dev maillist - Zope-Dev@zope.org
** No cross posts or HTML encoding! **
(Related lists -