[Zope] Strange Zope errors with heavy use of SESSION
Peter Bengtsson
mail@peterbe.com
Thu, 16 Jan 2003 00:41:26 +0000
>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.
How bloody typical! Started up the zope server today again. Went to exactly
the same page as yesterday. Did exactly the same thing now as I did
yesterday. Quite a few times too.
Now it works with no problems. And, yesterday I restarted the server many
times to see if it was not zope that got messed up with something strange.
Thank you anyway for the support.
Peter
>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