[Zope-dev] Most likely explanation for pickling error ?

Dr. Ross Lazarus rossl@med.usyd.edu.au
Sat, 27 Nov 1999 20:12:41 +1100


A product, Zope 2.1.0b2 - when I try to add an instance, I get :-



Error type: cPickle.PicklingError
Error value:: Cannot pickle objects.
Error Traceback: Traceback (innermost last):
File /u2/home/rossl/zope21b/lib/python/ZPublisher/Publish.py, line 169,
in publish
File /u2/home/rossl/zope2/lib/python/ZODB/Transaction.py, line 237, in
commit
File /u2/home/rossl/zope2/lib/python/ZODB/Connection.py, line 325, in
commit
(Info: (('Products.foobar.foobar', 'foobar'),
'\000\000\000\000\000\002\\\355', ''))
cPickle.PicklingError: Cannot pickle objects.

Any suggestions as to what sort of python misdemeanor might be
responsible gratefully received?
-- 

Dr Ross Lazarus
Associate Professor and Sub-Dean for Information Technology
Faculty of Medicine, A27, R126a, University of Sydney,
Camperdown, NSW 2006, Australia
Tel: (+61 2) 93514429 Mobile: +61414872482
Fax: (+61 2) 93516646 Email: rossl@med.usyd.edu.au
http://www.health.usyd.edu.au/people/rossl.htm