Where is this in the Collector, Chris? I'm having trouble finding it. I'm still getting bit by this one (2.7.0 from earlier this month) with some older products using ZClasses... perhaps the fix never quite made it in to the released Zope? Meanwhile, I'll dive in and look for Dieter's almost surely easy to fix solution myself. Sort of like the old textbook saw, "The solution is left as an exercise for the reader." =Paul At 09:49 AM 3/27/2004 -0800, Chris Bruce wrote:
Already fixed and posted to the Collector.
Chris
----- Original Message ----- From: Dieter Maurer To: Chris Bruce Cc: zope@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