[Zope-dev] ConflictError shouldn't subclass Exception

2005-11-25 Thread Chris Withers
Hi All, Chris McDonough wrote: Is this the number of log messages that indicate a conflict error occurred (e.g. x conflict errors since DATE messages in the event log) or the number of conflict errors that are retried more than three times and thus make it out to the app user? I'm

[Zope-dev] ConflictError shouldn't subclass Exception

2005-11-25 Thread Patrick Gerken
2005/11/24, Chris Withers [EMAIL PROTECTED]: Interestingly, you can raise things that don't subclass Exception in python. This was discussed before, and I firmly agree with, that zodb conflicts should _not_ sublcass exception. That way, there's less chance of them being caught by

Re: [Zope-dev] ConflictError shouldn't subclass Exception

2005-11-25 Thread Chris McDonough
On Nov 25, 2005, at 2:25 PM, Patrick Gerken wrote: 2005/11/24, Chris Withers [EMAIL PROTECTED]: Interestingly, you can raise things that don't subclass Exception in python. This was discussed before, and I firmly agree with, that zodb conflicts should _not_ sublcass exception. That way,

Re: [Zope-dev] ConflictError shouldn't subclass Exception

2005-11-25 Thread Dieter Maurer
Chris Withers wrote at 2005-11-24 19:34 +: ... and I firmly agree with, that zodb conflicts should _not_ sublcass exception. -1 That way, there's less chance of them being caught by inexperienced programmers putting in try: except Exception: 's. Most people that use an unrestricted try

Re: [Zope-dev] ConflictError in BTreeFolder2

2004-01-27 Thread Chris Withers
Are these patches available anywhere? Have you let Shane know? Chris Florent Guillaume wrote: FYI: I've fixed BTreeFolder2 to properly re-raise ConflictError in _delObject and not swallow it during beforeDelete cleanups. This is the same fix that was done in ObjectManager. Florent

[Zope-dev] ConflictError in BTreeFolder2

2004-01-26 Thread Florent Guillaume
FYI: I've fixed BTreeFolder2 to properly re-raise ConflictError in _delObject and not swallow it during beforeDelete cleanups. This is the same fix that was done in ObjectManager. Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:[EMAIL PROTECTED]

[Zope-dev] ConflictError

2003-03-28 Thread Andre Schubert
Hi all, i have a little problem with the following log-entry in my logfile. 2003-03-28T10:09:18 INFO(0) ZODB conflict error at /foo/bar/tab_kopf (1 conflicts since startup at 2003-03-28T10:09:03). After searching through several mailinglists i found that this error seem to occur when using

Re: [Zope-dev] ConflictError

2003-03-28 Thread Leonardo Rochael Almeida
On Fri, 2003-03-28 at 06:15, Andre Schubert wrote: Hi all, i have a little problem with the following log-entry in my logfile. 2003-03-28T10:09:18 INFO(0) ZODB conflict error at /foo/bar/tab_kopf (1 conflicts since startup at 2003-03-28T10:09:03). After searching through several

Re: [Zope-dev] ConflictError

2003-03-28 Thread Dieter Maurer
Andre Schubert wrote at 2003-3-28 10:15 +0100: i have a little problem with the following log-entry in my logfile. 2003-03-28T10:09:18 INFO(0) ZODB conflict error at /foo/bar/tab_kopf (1 conflicts since startup at 2003-03-28T10:09:03). After searching through several mailinglists i

[Zope-dev] ConflictError

2000-10-04 Thread Andre Schubert
Hi, who can tell me a story about the following error. thanks as 2000-10-04T15:49:35 INFO(0) Z2 CONFLICT Competing writes at, /Management/Geyer/Cluster_1/Verstaerker_1/Modem_7/chart_images Traceback (innermost last): File /usr/share/zope_2.2/Zope-2.2.0-src/lib/python/ZPublisher/Publish.py,