[ZODB-Dev] example for the following?
Jamie McQuay
jamie at scimatic.com
Thu Jan 22 11:46:08 EST 2009
Hi,
I'm using ZODB in a desktop app (i.e. not using zope).
I have class A which contains a list of instances for class B.
I can persist class A when the list of class B is empty. When i add
an instance of class B to the list (and set _p_changed = 1) i get the
error:
"TypeError: can't pickle PySwigObject objects"
Can someone please give me a link of some advice in how i go about
persisting lists of class instances?
Thanks,
Jamie
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Jamie McQuay
Scimatic Software Inc.
www.scimatic.com
We build software for scientists.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zodb-dev/attachments/20090122/c0d6b8f0/attachment.html
More information about the ZODB-Dev
mailing list