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

Dylan Jay gmane at dylanjay.com
Tue Jun 14 03:45:02 EDT 2005


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 shouldn't matter should it?
I've also taken the lock code out altogeather now and I'm still getting the 
same error. Any ideas?

2005-06-14T17:33:39 ERROR(200) SiteError 
http://localhost:8080/iv/scheduler/noti
fyOne
Traceback (most recent call last):
  File "C:\Program Files\Zope-2.7.5-final\lib\python\ZPublisher\Publish.py", 
lin
e 107, in publish
    transactions_manager.commit()
  File "C:\Program Files\Zope-2.7.5-final\lib\python\Zope\App\startup.py", 
line
222, in commit
    get_transaction().commit()
  File "C:\Program Files\Zope-2.7.5-final\lib\python\ZODB\Transaction.py", 
line
241, in commit
    ncommitted += self._commit_objects(objects)
  File "C:\Program Files\Zope-2.7.5-final\lib\python\ZODB\Transaction.py", 
line
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

-- 
Dylan Jay
---
http://www.meetmemap.com - makes giving directions easy
http://www.pretaweb.com - Update-it-yourself, low cost websites
http://www.eatmanifesto.com - against all dumbing down of food
Y!:dylan_jay ICQ:520341 MSN:djsq at hotmail.com Ph:+61423198306 





More information about the Zope mailing list