Re: [Zope-dev] The Return of the Son of Session Errors, redux
On Thu, 2003-05-29 at 07:56, Jean Jordaan wrote: > Hi Chris > > > I just checked in a change that disables the "low conflict connection" > > feature of temporary storage. > > We've patched, and so far it looks good. We've seen one KeyError, > but that was after leaving the session to expire. Will 2.6.2 get > the patch? Yes... hopefully I'll be able to track down the problem in TemporaryStorage, but probably not by 2.6.2. Thanks! - C ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] The Return of the Son of Session Errors, redux
Hi Chris I just checked in a change that disables the "low conflict connection" feature of temporary storage. We've patched, and so far it looks good. We've seen one KeyError, but that was after leaving the session to expire. Will 2.6.2 get the patch? Thanks! -- Jean Jordaan http://www.upfrontsystems.co.za ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] The Return of the Son of Session Errors, redux
Dieter Maurer wrote: What have session errors to do with XMLWidgets? XMLWidgets stores the state of the document that you're editing in the session. We don't want to hack and fork XMLWidgets, so we're not in a position to change the way it uses the session. -- Jean Jordaan http://www.upfrontsystems.co.za ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] The Return of the Son of Session Errors, redux
Jean Jordaan wrote at 2003-5-28 10:54 +0200: > ... Session Errors ... > Our errors are triggered in the bowels of XMLWidgets What have session errors to do with XMLWidgets? Dieter ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] The Return of the Son of Session Errors, redux
On Wed, 2003-05-28 at 04:54, Jean Jordaan wrote: > Hi all > > We're being chowed heavily by the KeyError discussed from the > 13th to the 18th March in this thread: >http://mail.zope.org/pipermail/zope-dev/2003-March/019081.html > > Has there been any definite resolution of that issue? We're running > Zope 2.6.1, has the issue gone away on Zope 2.6.2? I just checked in a change that disables the "low conflict connection" feature of temporary storage. This fixes the KeyError issue out of 'get', but others have reported a problem for which the symptom is a a KeyError out of the storage's 'load' method. I have not been able to reproduce this problem. > In that thread a patch to TemporaryFolder.py was suggested > to deal with ReadConflictErrors, but we don't get those. The > suggestions regarding the KeyErrors was: > > 1) to move to a different storage, such as BerkeleyStorage or > DirectoryStorage, for the session data, or > 2) to "touch the objects that are likely to change early in the > transaction." (Toby Dickenson). > > Our errors are triggered in the bowels of XMLWidgets, so I don't > think 1) is a simple solution, and we don't want to do 2) if we > can avoid it. Have specific alternative session storages been > found to be free of this issue? You can give it a shot. The problem definitely seems to be related to the TemporaryStorage class, which won't be used if you use a different storage. > > The initial report has been logged as a 'critical' error as >http://collector.zope.org/Zope/848 > but it's still Pending. I have commented on the issue. Thanks! - C > > -- > Jean Jordaan > http://www.upfrontsystems.co.za > > > ___ > Zope-Dev maillist - [EMAIL PROTECTED] > http://mail.zope.org/mailman/listinfo/zope-dev > ** No cross posts or HTML encoding! ** > (Related lists - > http://mail.zope.org/mailman/listinfo/zope-announce > http://mail.zope.org/mailman/listinfo/zope ) ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] The Return of the Son of Session Errors, redux
Our errors are triggered in the bowels of XMLWidgets, so I don't think 1) is a simple solution, and we don't want to do 2) if we Err, swap 1) and 2) .. that'll teach me to use gratuitous lists :/ -- Jean Jordaan http://www.upfrontsystems.co.za ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )