[Zope] Strange Zope errors with heavy use of SESSION

Chris McDonough chrism@zope.com
15 Jan 2003 00:31:35 -0500


Here is a description of the error that the OS is raising which results
in this traceback:

http://support.ipswitch.com/kb/WSK-19980702-EM02.htm

I'm not sure how the sessioning code could cause this, but it's possible
it's some sort of platform-specific behavior.  Is it 98, ME, W2K?  I'd
like to try to replicate it.

On Tue, 2003-01-14 at 21:39, Peter Bengtsson wrote:
> 2003-01-15T02:33:15 ERROR(200) ZServer uncaptured python exception, closing 
> chan
> nel <ZServer.HTTPServer.zhttp_channel connected 127.0.0.1:2553 at 0x27aff4c 
> chan
> nel#: 15 requests:2> (socket.error:(10053, 'Software caused connection 
> abort') [
> H:\ZOPE\ZOPE26~1\ZServer\medusa\asynchat.py|handle_read|82] 
> [H:\ZOPE\ZOPE26~1\ZS
> erver\medusa\http_server.py|recv|423] 
> [H:\ZOPE\ZOPE26~1\ZServer\medusa\asyncore.
> py|recv|361])
> 
> Yeah, right!?
> 
> 
> I've got a page (python product) that is like a step-by-step wizard. After 
> every screen I stick a couple of variables in the SESSION object like this:
> 
>      def PropertiesWizardRemember(self, **kw):
> 	""" remember things for the wizard in the SESSION """
> 	session = self.REQUEST.SESSION
> 	for key, value in kw.items():
> 	    session[key]= value
> 
> 
> Sometimes it works, but very rarely; for a little while. Then all of sudden 
> the SESSION object is being "reset". This happens jointly with the error 
> message to stdout.
> I can't find exactly what triggers it, but I'm the only one using this 
> dev-server. Only since I started working on this wizard these messages 
> started to appear.
> 
> Zope 2.6.1b1 win32
> python 2.1
> 
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
-- 
Chris McDonough <chrism@zope.com>
Zope Corporation