[Zope] Re: invalid property value: wrapped object

Tres Seaver tseaver at palladion.com
Sat Feb 24 16:29:25 EST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Anthony Monta wrote:
> Hello group:
> 
> Running Zope 2.6.1/Python 2.1.3, I get the following error when I try
> to pass form values to a custom ZClass instance-creating method:
> 
> Error Type: ValueError
> Error Value: Invalid property value: wrapped object
> 
> I haven't had to deal with this kind of error before.  Does this mean
> that the wrapped object (aq_parent) has an invalid property value, or
> does aq_self have the invalid value?  What's the most efficient way to
> debug this?

Look at (and post) the *entire* traceback, then look at the code from
the "bottom" upward.

I don't know if it will work in a Zope 2.6.x site (that's *4* major
production releases back!), but you might google for the PDBDebugMode
product:  it lets you stop right at the point of the exception, and
examine variable state, etc. if you are running Zope in foreground /
debug mode.


Tres.
- --
===================================================================
Tres Seaver          +1 540-429-0999          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF4K41+gerLs4ltQ4RAj/tAKC2cd3ZYICZMViRVbwwam1WH0fs6ACgr5a7
sSrzBJO/TLAIMmnUsOodzJA=
=4Pyd
-----END PGP SIGNATURE-----



More information about the Zope mailing list