[Zope] UnpickleableError: Cannot pickle type 'thread.lock' objects

2005-06-14 Thread Dylan Jay
I'm having some ZODB troubles. I'm getting the following error. The problem is I'm not using locks in the objects that are being changed. I do have a lock being used with the Schedule object which is in the acquisition path. but this lock was a module variable rather than a attribute so that

Re: [Zope] UnpickleableError: Cannot pickle type 'thread.lock' objects

2005-06-14 Thread Dieter Maurer
Dylan Jay wrote at 2005-6-14 17:45 +1000: ... 356, in _commit_objects jar.commit(o, self) File C:\Program Files\Zope-2.7.5-final\lib\python\ZODB\Connection.py, line 4 52, in commit dump(state) UnpickleableError: Cannot pickle type 'thread.lock' objects I would catch the error and