[Zope-dev] Re: Zope-2.8.4 Problem with Plone-2.1.1

2005-11-25 Thread Alexander Limi
Put it in the Plone issue tracker, and we'll have a look at it. PS: Don't cross-post to lists when you want to ask several lists about the same - post individual messages, a lot of people don't like cross-posting. (Personally I don't really care, but... :) -- Alexander On Fri, 25 Nov 2005

[Zope-dev] Re: More events

2005-11-25 Thread Florent Guillaume
Florent Guillaume wrote: I've made changes so that Five and (Zope 2.9 & Zope 2 trunk) send IContainerModifiedEvents when appropriate. These events are new in Zope 3.2, and subclass IObjectModifiedEvents. This is of course available in Five 1.2 and Five 1.3. I still have to stich in a snapsh

[Zope-dev] Zope-2.8.4 Problem with Plone-2.1.1

2005-11-25 Thread Tony Addyman
I am running Plone-2.1.1. I recently upgraded from zope-2.8.3 to zope-2.8.4 with no apparent issues. However, today when I attempted to view the properties of the Document content type within portal_types, i.e. I used a URL ending with /portal_types/Document/manage_propertiesForm. I received the fo

[Zope-dev] buildbot failure in Zope trunk 2.4 Linux zc-buildbot

2005-11-25 Thread buildbot
The Buildbot has detected a failed build of Zope trunk 2.4 Linux zc-buildbot. Buildbot URL: http://buildbot.zope.org/ Build Reason: changes Build Source Stamp: 1820 Blamelist: efge BUILD FAILED: failed test sincerely, -The Buildbot ___ Zope-Dev mail

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

Re: [Zope-dev] Re: How bad _are_ ConflictErrors

2005-11-25 Thread Dieter Maurer
Florent Guillaume wrote at 2005-11-25 11:22 +0100: > ... >Guess what, I know that. But I want a "real" ConflictError, to see what >useful info about involved objects I can log. The only thing you need to log is "str(conflict_error_value)". "ConflictError" does a good job to provide all available

Re: [Zope-dev] I volunteer to make ConflictError handling "better" if you guys can help me ;-)

2005-11-25 Thread Dieter Maurer
Chris Withers wrote at 2005-11-24 19:42 +: > ... >I would really appreciate it if you could dig this out and give me a >direct url. If you do, I promise I will see it gets properly merged into >the Zope core... You know that I *never* search for others (I hate searching). But I can show you

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, ther

[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 inexper

[Zope-dev] buildbot failure in Zope trunk 2.4 Linux zc-buildbot

2005-11-25 Thread buildbot
The Buildbot has detected a failed build of Zope trunk 2.4 Linux zc-buildbot. Buildbot URL: http://buildbot.zope.org/ Build Reason: changes Build Source Stamp: 1818 Blamelist: anguenot,chrisw,efge,jinty,sidnei,yuppie BUILD FAILED: failed test sincerely, -The Buildbot _

[Zope-dev] More events

2005-11-25 Thread Florent Guillaume
I've made changes so that Five and (Zope 2.9 & Zope 2 trunk) send IContainerModifiedEvents when appropriate. These events are new in Zope 3.2, and subclass IObjectModifiedEvents. This is of course available in Five 1.2 and Five 1.3. I still have to stich in a snapshot of Five 1.3 into Zope 2

Re: [Zope-dev] removing test.py from path

2005-11-25 Thread Tarek Ziadé
Tarek Ziadé wrote: Hello, Benji recently changed test.py in Z3 in order to avoid collision name with the standard python 'test' module. I bumped into the same problem running tests under Z 2.8. I would like to add this change as well in Z 2.8 bin/test.py if no one objects. oups, tipo, (Z2

[Zope-dev] removing test.py from path

2005-11-25 Thread Tarek Ziadé
Hello, Benji recently changed test.py in Z3 in order to avoid collision name with the standard python 'test' module. I bumped into the same problem running tests under Z 2.8. I would like to add this change as well in Z 2.8 bin/test.py if no one objects. Tarek -- Tarek Ziadé | Nuxeo R&D (P

Re: [Zope-dev] Not-really-unit-testing ideas.

2005-11-25 Thread Jim Fulton
Chris Withers wrote: Fred Drake wrote: On 11/23/05, Lennart Regebro <[EMAIL PROTECTED]> wrote: Basically, I'd like to create a site once, and use it for all subsequent tests, until I made a change that means the site needs to be recreated. But how? Well, I'm not sure. How, for example, could

Re: [Zope-dev] Re: How bad _are_ ConflictErrors

2005-11-25 Thread Sidnei da Silva
On Fri, Nov 25, 2005 at 11:22:32AM +0100, Florent Guillaume wrote: | Guess what, I know that. But I want a "real" ConflictError, to see what | useful info about involved objects I can log. I'm pretty sure there are ZODB tests that exercise the creation and handling of ConflictError. -- Sidnei d

[Zope-dev] Re: How bad _are_ ConflictErrors

2005-11-25 Thread Florent Guillaume
Chris Withers wrote: If nothing is logged, I'll add something at level ERROR. Has this been done? If not, I volunteer to do it as part of my upcoming "make COnflictErrors suck less" work ;-) I'm working on it at the moment. BTW does someone have a handy script to provoke conflict errors on

[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 gues

Re: [Zope-dev] Re: How bad _are_ ConflictErrors

2005-11-25 Thread Chris Withers
Florent Guillaume wrote: I'm actually not sure what's logged when a Conflict Error makes it back to the users, offhand I don't see anything in my logs. Can someone confirm or infirm that fact? Well, I can agree based on empirical evidence. I have MailingLogger (sorry, I really feel the need

Re: [Zope-dev] Not-really-unit-testing ideas.

2005-11-25 Thread Chris Withers
Fred Drake wrote: On 11/23/05, Lennart Regebro <[EMAIL PROTECTED]> wrote: Basically, I'd like to create a site once, and use it for all subsequent tests, until I made a change that means the site needs to be recreated. But how? Well, I'm not sure. How, for example, could I Jim's "new test run

[Zope-dev] I volunteer to make ConflictError handling "better" if you guys can help me ;-)

2005-11-25 Thread Chris Withers
Dieter Maurer wrote: What is this telling me? It is incredibly stupid. So I'm gathering... The message above only tells you, that (at the given time) a request for "/some_uri" resulted in a "ConflictError" and that since startup (at the given time) 347 conflicts occured. Unfortunately, it