Re: [Zope] Florent Guillaume's database Conflict Error on session objects patch not working ?

2007-02-03 Thread Michael Dunstan
On 2/3/07, yacine chaouche <[EMAIL PROTECTED]> wrote: I am experiencing issues regarding a database ConflictError on session objects. Can you detail all the various getSesion and setSession methods of: http://mail.zope.org/pipermail/zope/2007-January/170167.html I use zope 2.9.0 python 2.4.

Re: [Zope] Inavlid Refernce Counts in Temporary Storage

2006-07-16 Thread Michael Dunstan
On 7/14/06, Philip Kilner <[EMAIL PROTECTED]> wrote: For the last three days, we have been plagued by slowdowns and temporary lock-ups, which have on a couple of score occasions culminated in a Conflict Error, indicting transactional problems in the temporary storage. On four or five occasions, Z

Re: [Zope] Trying to trap ConflictError

2006-07-06 Thread Michael Dunstan
On 7/7/06, Michael Dunstan <[EMAIL PROTECTED]> wrote: An oid is an identifier for a persistent state of an object. As the state of an object evolves from transaction to transaction it gets a new oid for each state. Two concurrent transactions that involve the same object will start with th

Re: [Zope] Trying to trap ConflictError

2006-07-06 Thread Michael Dunstan
On 7/7/06, Jonathan <[EMAIL PROTECTED]> wrote: I haven't been able to determine how the oid's are generated, other than "little-endian 64-bit unsigned integers that will be assigned more or less sequentially", but I can't figure out how the same oid is being used twice (on the other hand I could

Re: [Zope] Trying to trap ConflictError

2006-07-05 Thread Michael Dunstan
On 7/6/06, Jonathan <[EMAIL PROTECTED]> wrote: I am still investing, and have found errors like: 2006-07-04T14:48:12 ERROR ZODB.Connection Couldn't load state for 0x1c Traceback (most recent call last): File "/usr/local/Zope-2.9.2/lib/python/ZODB/Connection.py", line 732, in setstate self

Re: [Zope] More on understanding conflicts

2005-12-21 Thread Michael Dunstan
On 12/22/05, Dennis Allison <[EMAIL PROTECTED]> wrote: > The issue here has had to do with session variables and their iteraction > with the persistence mechanism and conflicts and multiple threads for the > same session. Chris McDonough has pointed out that session variables can > cause writes an

Re: [Zope] Re: Zope Persistence (was: XML-RPC within ZOPE)

2005-12-18 Thread Michael Dunstan
On 12/19/05, Jan-Ole Esleben <[EMAIL PROTECTED]> wrote: > However, even if > it is only the docs that are lacking I think it would be sensible to > acknowledge that as a problem. Zope 3 is the literate child of Zope 2. ___ Zope maillist - Zope@zope.org

Re: [Zope] Re: Zope Persistence (was: XML-RPC within ZOPE)

2005-12-18 Thread Michael Dunstan
On 12/19/05, Jan-Ole Esleben <[EMAIL PROTECTED]> wrote: > > Little bit tricky to try out as testers need to guess what all the > > missing code is. > > Any standard persistent ZOPE product wrapped around this will do. > These are the only methods in a ZOPE product that inherits from Item, > Persist

Re: [Zope] Re: Zope Persistence (was: XML-RPC within ZOPE)

2005-12-18 Thread Michael Dunstan
On 12/19/05, Jan-Ole Esleben <[EMAIL PROTECTED]> wrote: > > > 1. In the example, just setting _p_changed=1 does _not_ lead to a > > > conflict error. With the ineffectual code above it (that never gets > > > executed) it _does_. So there _is_ some implicit magical stuff going > > > on and ZOPE trie

Re: [Zope] resolving conflict errors

2005-12-10 Thread Michael Dunstan
On 12/11/05, Dennis Allison <[EMAIL PROTECTED]> wrote: > > Good idea, but it is hard to do in a production environment with a "never > lose data" model. Have a go at recreating the problems you are seeing on a development host. SessionRig can be used to mount a brute force attack of the session ma

Re: [Zope] resolving conflict errors

2005-12-10 Thread Michael Dunstan
On 12/9/05, Dennis Allison <[EMAIL PROTECTED]> wrote: > The problem I am trying to resolve appears to be load related. The > observed symptom is that (some) session variables spontaneously disappear. > There appears to be some connection to conflicts, but the exact mechanism > and the relationship

Re: [Zope] conflicts, sessions, and programming best practices guidelines

2005-11-18 Thread Michael Dunstan
On 11/18/05, Chris McDonough <[EMAIL PROTECTED]> wrote: > > On Nov 17, 2005, at 4:46 AM, Dennis Allison wrote: > > > > > Thank Chris, good pointsB. > > > > The session variable timeout is currently several hours as requird > > by our > > application. The timeout resolution remains at its default va

Re: [Zope] Help!!! Zope won't start -- StorageSystemError

2005-08-27 Thread Michael Dunstan
On 8/28/05, Dan Gaibel <[EMAIL PROTECTED]> wrote: > Hi folks, > > This is my first post to this list and I'm desperate for help. I'm running > Zope 2.6.1 with Python 2.1.3. My Zope instance died today and won't come > back. When I try to start it, I get: > > 2005-08-27T20:58:15 PANIC(300) z2 Star

Re: [Zope] Zope 2.8.1 on Mac OS X tiger Server

2005-08-17 Thread Michael Dunstan
On 2005-08-18, at 06:35 GMT+12:00, Bernd Dorn wrote: On 17.08.2005, at 20:22, Garito wrote: Hi again! Sorry but Zope is executable, perhaps another thing? Any idea? hm, have you set the effective user in zope.conf? you need this if you run zopectl as root as root try to execute /System/Li

Re: [Zope] Zope 2.8 and conflict errors

2005-08-03 Thread Michael Dunstan
On 2005-08-04, at 02:32 GMT+12:00, Maciej Wisniowski wrote: All errors are with OOBTree and as I can see with tempstorage.TemporaryStorage. They look like: Module ZPublisher.Publish, line 187, in publish_module_standard Module ZPublisher.Publish, line 161, in publish Module ZPublisher

Re: [Zope] accessing session data error

2005-06-21 Thread Michael Dunstan
On 22/06/2005, at 4:50 AM, Leticia Larrosa wrote: Hi: Thanks to Michael Dunstan. I test with the recomendation of Michael but I still get the error. In pages where I get the error, if I wait some seconds and refresh the pages, I obtain the correct information (no get the error). I

Re: [Zope] accessing session data error

2005-06-20 Thread Michael Dunstan
Hi Leticia, The mixture of ``response.write()`` including JavaScript to drive the browser to a new location along with writing objects in ZODB all within the same transaction can break some of the promises that you'd normally expect Zope and a browser to keep. My guess is that browser is