[Zope] Zope 2.7 Problem w/Value Error: unpack list of wrong size
Chris Bruce
chris at chrisbruce.com
Sat Mar 27 12:49:59 EST 2004
Already fixed and posted to the Collector.
Chris
----- Original Message -----
From: Dieter Maurer
To: Chris Bruce
Cc: zope at zope.org
Sent: Saturday, March 27, 2004 2:29 AM
Subject: Re: [Zope] Zope 2.7 Problem w/Value Error: unpack list of wrong
size
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