On Aug 23, 2010, at 2:53 PM, Andreas Jung wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Gary Poster wrote:
> 
>> 1.3.1 has change and is released.
>> 
> 
> On it's failing in a different way:
> 
> An internal error occurred due to a bug in either zc.buildout or in a
> recipe being used:
> Traceback (most recent call last):
>  File
> "/Users/ajung/sandboxes/occ/eggs/zc.buildout-1.5.0-py2.6.egg/zc/buildout/buildout.py",
> line 1784, in main
>    getattr(buildout, command)(args)
>  File
> "/Users/ajung/sandboxes/occ/eggs/zc.buildout-1.5.0-py2.6.egg/zc/buildout/buildout.py",
> line 569, in install
>    installed_files = self[part]._call(recipe.install)
>  File
> "/Users/ajung/sandboxes/occ/eggs/zc.buildout-1.5.0-py2.6.egg/zc/buildout/buildout.py",
> line 1276, in _call
>    return f()
>  File
> "/Users/ajung/sandboxes/occ/eggs/collective.recipe.supervisor-0.12-py2.6.egg/collective/recipe/supervisor/__init__.py",
> line 202, in install
>    extra_eggs + \
>  File
> "/Users/ajung/sandboxes/occ/eggs/zc.recipe.egg-1.3.1-py2.6.egg/zc/recipe/egg/egg.py",
> line 173, in install
>    return self._install(reqs, ws, scripts)
>  File
> "/Users/ajung/sandboxes/occ/eggs/zc.recipe.egg-1.3.1-py2.6.egg/zc/recipe/egg/egg.py",
> line 189, in _install
>    options['bin-directory'],
>  File "/opt/python-2.6/lib/python2.6/UserDict.py", line 22, in __getitem__
>    raise KeyError(key)
> KeyError: 'bin-directory'

Please apply this patch to zc.recipe.egg and see if it fixes things for you.

Index: src/zc/recipe/egg/egg.py
===================================================================
--- src/zc/recipe/egg/egg.py    (revision 115896)
+++ src/zc/recipe/egg/egg.py    (working copy)
@@ -200,6 +200,9 @@
 
 class _BackwardsSupportOption(UserDict.UserDict):
 
+    def __init__(self, data):
+        self.data = data # We want to show mutations to the underlying dict.
+
     def query_bool(self, name, default=None):
         """Given a name, return a boolean value for that name.
 

Gary

_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )

Reply via email to