Submitted by : simon at: 2007-04-29T12:23:36+00:00 (10 years ago)
Name :
Category : Severity : Status :
Optional subject :  
Optional comment :

Lately I get this error when trying to save certain text:

2007-04-29T05:18:34 ERROR Zope.SiteErrorLog http://zwiki.org/FrontPage/edit
Traceback (innermost last)::

 Module ZPublisher.Publish, line 125, in publish
 Module Zope2.App.startup, line 238, in commit
 Module transaction._manager, line 96, in commit
 Module transaction._transaction, line 395, in commit
 Module transaction._transaction, line 495, in _commitResources
 Module ZODB.Connection, line 490, in commit
 Module ZODB.Connection, line 1034, in savepoint
 Module ZODB.Connection, line 543, in _commit
 Module ZODB.Connection, line 570, in _store_objects
 Module ZODB.serialize, line 407, in serialize
 Module ZODB.serialize, line 416, in _dump
 Module copy_reg, line 69, in _reduce_ex
 TypeError: can't pickle instancemethod objects

... --simon, Sun, 29 Apr 2007 15:51:58 -0700 reply

Name: '#1337 TypeError?: can't pickle instancemethod objects' => '#1337 TypeError?: can't pickle instancemethod objects when saving'

fixed in darcs --simon, Mon, 30 Apr 2007 10:06:37 -0700 reply

Status: open => closed

Putting that unit test commit hack in the runtime class was a bad idea! All better now.