Re: SEGFAULT using ComputedAttribute

Derrick Hudson <[email protected]>
Newsgroups gmane.comp.web.zope.coders
Message-ID <[email protected]>
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: [email protected]

_______________________________________________
Zope-Coders mailing list
[email protected]
http://mail.zope.org/mailman/listinfo/zope-coders
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFB7ptSiB6vp1xAVUARApWKAJ9KaGhL4nNl3H9FJ/QPsYDj6Uc53ACfdr0f
dkzLKaVClBkiO0vsMpYCI/Y=
=aq6E
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.