Re: [Zope3-Users] ConnectionStateError when a worker thread finishes

2007-01-08 Thread Stephan Richter
On Wednesday 03 January 2007 05:46, Shailesh Kumar wrote: In my application, some background threads are being created. But when a thread finishes up its work, a strange exception is thrown: The callstack doesn't show any part of my application code. You have to use threads very carefully, if

Re: [Zope3-Users] ConnectionStateError when a worker thread finishes

2007-01-08 Thread Shailesh Kumar
Thanx for the guidance. I did figure out that the whole problem was happening because of threads trying to access the ZODB. For the time being, I got rid of that, and had a separate sheduler event which queries the background threads to get update information and put it in the ZODB. It seems to

[Zope3-Users] ConnectionStateError when a worker thread finishes

2007-01-03 Thread Shailesh Kumar
Hi, In my application, some background threads are being created. But when a thread finishes up its work, a strange exception is thrown: The callstack doesn't show any part of my application code. = Traceback