[Zope3-dev] Re: zodb error associated with ContainedProxy

Philipp von Weitershausen philipp at weitershausen.de
Thu Sep 25 19:42:23 EDT 2003


Garrett Smith wrote:
> I'm not sure if this is something I'm doing or not. I'm getting the 
> following error when accessing an object in the zodb:

...

> The value for klass is zope.app.container.contained.ContainedProxy, thus 
> the post.
> 
> I'm not intending to store ContainedProxies

Allow me to quote from the ParentGeddon proposal 
(http://dev.zope.org/Zope3/ParentGeddon):

> 1.  Provide a ContainerProxy decorator that can be used to
> persistently decorate objects that must be given a location but that
> don't implement ILocation themselves. This decorator will be
> persistent, meaning both that it is picklable and that it implements
> IPersistent. Implementing IPersistent is needed to make sure that
> shared references to location proxies remain shared.


> I'm not quite done refactoring for containgeddon, so this could *easily* 
> be my problem.

It might be a hosed Data.fs, too. Although Jim provided conversion 
scripts, I had to throw away my Data.fs after parent geddon.

Phil





More information about the Zope3-dev mailing list