[z3-five] ConnectionStateError: Shouldn't load state for 0x04 when the connection is closed

Rocky Burt rocky at serverzen.com
Sun Jul 30 00:09:29 CEST 2006


On Sat, 2006-29-07 at 20:26 +0200, Philipp von Weitershausen wrote:
> yuppie wrote:
> > Index: pythonproducts.py
> > ===================================================================
> > --- pythonproducts.py	(Revision 69227)
> > +++ pythonproducts.py	(Arbeitskopie)
> > @@ -124,7 +124,7 @@
> >           product=self.aq_acquire('_getProducts')()._product(name)
> > 
> >           # Try to get a custom dispatcher from a Python product
> > -        productPkgs = product_packages(app)
> > +        productPkgs = product_packages(self.getPhysicalRoot())
> >           dispatcher_class=getattr(
> >               productPkgs.get(name, None),
> >               '__FactoryDispatcher__',
> > 
> > 
> > You are invited to test this patch and to report back if it causes any 
> > trouble. If the patch solves the problem without creating new problems 
> > it should be checked in.
> 
> Seems like the patch has been verified to work. Yuppie, Rocky, ...?

Hmm, I seem to recall trying something like this and the tests failing.
If the tests pass I'd say its a decent short-term patch.  But
realistically I should update the application context handling a bit
better in general.  Thankfully this support isn't needed with Five 1.5.


Regards,
Rocky

-- 
Rocky Burt
ServerZen Software -- http://www.serverzen.com
News About The Server (blog) -- http://www.serverzen.net

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : http://codespeak.net/pipermail/z3-five/attachments/20060729/87a0a380/attachment.pgp 


More information about the z3-five mailing list