I try to call a python script from a Zope product developped in python, from a function which is a thread: _thread=threading.Thread(None,self._checkExpired) _thread.setDaemon(1) _thread.start() def _checkExpired(self): if hasattr(self,'onSessionExpire'): self.onSessionExpire() onSessionExpire() is the python script I want to launch. The error I have on the console is: 2001-10-12T17:22:45 ERROR(200) ZODB Couldn't load state for '\x00\x00\x00\x00\x00\x003\xbf' Traceback (innermost last): File /home/julian/Zope/lib/python/ZODB/Connection.py, line 519, in setstate AttributeError: 'None' object has no attribute 'load' Exception in thread Thread-1: Traceback (most recent call last): File "/home/julian/Zope/lib/python2.1/threading.py", line 378, in __bootstrap self.run() File "/home/julian/Zope/lib/python2.1/threading.py", line 366, in run apply(self.__target, self.__args, self.__kwargs) File "/home/julian/Zope/lib/python/Products/CookieLess/Session.py", line 283, in _checkExpired self._expireSession(session) File "/home/julian/Zope/lib/python/Products/CookieLess/Session.py", line 289, in _expireSession self.onSessionExpire() AttributeError: __call__ I am not sure of what is happening, have you an idea ??? (Zope is 2.4.1) -- __o _ \<_ (_)/(_) Saludos de Julián EA4ACL -.-