[Zope] Zope 2.7 Problem w/Value Error: unpack list of wrong size

Dieter Maurer dieter at handshake.de
Sat Mar 27 05:29:20 EST 2004


Chris Bruce wrote at 2004-3-24 14:03 -0800:
>I am getting the following error while trying to add a ZClass
>programmatically with proxy set to manger:
> ...
>  Module AccessControl.Owned, line 123, in getWrappedOwner
>ValueError: unpack list of wrong size

A bug in Zope 2.7's security code.

The author had forgotten that there are unowned objects (such
as ZClasses). The code breaks for unowned objects.

Almost surely, it is easy to fix (look near line 123 of
"AccessControl/Owned.py").

-- 
Dieter



More information about the Zope mailing list