[Zope-Coders] Re: SEGFAULT using ComputedAttribute
Derrick Hudson
dman at dman13.dyndns.org
Wed Jan 19 12:39:30 EST 2005
On Tue, Jan 18, 2005 at 09:12:52PM -0200, Dorneles Treméa wrote:
[...]
| The problem
| ===========
|
| Some AT pieces rely in the presence of an attribute containing
| the data it wants to access. This attribute should behave exactly
| as calling the field accessor method (sorry for the AT specific
| terminology). Normally, this kind of thing is a trivial task done
| by ComputedAttribute, to mimics the results of an original method
| call. When I try to use the ComputedAttribute trick, I make Zope
| SEGFAULT... :-(
[...]
I discovered that if you try to store an instance of a class that does
not inherit from Persistent then Zope can crash when the ZODB tries to
store that object. Perhaps you are inadvertently trying to do the
same thing?
-D
--
One OS to rule them all, one OS to find them,
One OS to bring them all and in the darkness bind them,
In the Land of Redmond, where the Shadows lie.
www: http://dman13.dyndns.org/~dman/ jabber: dman at dman13.dyndns.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mail.zope.org/pipermail/zope-coders/attachments/20050119/1427c63d/attachment.bin
More information about the Zope-Coders
mailing list