Rob Miller wrote at 2008-6-17 15:47 -0700: > ... >Traceback (most recent call last): > .... >"/home/rob/topp/14000/builds/20080611/opencore/lib/zope/lib/python/ZODB/serialize.py", > >line 407, in serialize > return self._dump(meta, obj.__getstate__()) > File >"/home/rob/topp/14000/builds/20080611/opencore/lib/zope/lib/python/ZODB/serialize.py", > >line 416, in _dump > self._p.dump(state) > File "copy_reg.py", line 69, in _reduce_ex > raise TypeError, "can't pickle %s objects" % base.__name__ >TypeError: can't pickle instancemethod objects
Reproduce the problem in an interactive Python interpreter ("bin/zopectl debug" on *nix; alternatives for Win*). Call "pdb.pm()" (or probably better "dm.pdb.zpdb.pm()" ("dm.pdb" can be found on PyPI)) and go up two call frames. Look at "obj". With a bit of looks, you see which objects this is and where it comes from. -- Dieter _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )