Re: [Zope-dev] zope.site.hooks

2009-10-09 Thread Fabio Tranchitella
* 2009-10-07 22:40, Martijn Faassen wrote: I think it would be interesting to review zope.component.zcml and see how it depends on security, and see whether we cannot make the dependency optional too. I fully agree with this, and the main reason why I use a package like repoze.zcml is to get

Re: [Zope-dev] zope.site.hooks

2009-10-09 Thread Martijn Faassen
Fabio Tranchitella wrote: [snip] All the proxying stuff can be made optional with conditional imports. I think the only solution to make zope.security optional without removing the permission attribute is to do something like: try: from zope.security.zcml import Permission except

[Zope-dev] Zope Tests: 8 OK

2009-10-09 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list. Period Thu Oct 8 12:00:00 2009 UTC to Fri Oct 9 12:00:00 2009 UTC. There were 8 messages: 8 from Zope Tests. Tests passed OK --- Subject: OK : Zope-2.10 Python-2.4.6 : Linux From: Zope Tests Date: Thu Oct 8 20:45:54 EDT 2009 URL:

[Zope-dev] ZTK sprint at ploneconf2009 Budapest

2009-10-09 Thread Adam GROSZER
Hello, Feel free to join at http://www.coactivate.org/projects/ploneconf2009-ztk-sprint/project-home -- Best regards, Adam GROSZER mailto:agros...@gmail.com -- Quote of the day: Democracy is a form of government in which it is permitted to wonder aloud what the

[Zope-dev] five.localsitemanager and unregisterUtility

2009-10-09 Thread Sylvain Viollon
Hello, I used to use those features in Silva. It work well with 0.4, but it's broken in 1.x. (I have tests in Silva testing that). This have to do with the wrapping (to remember the aquisition path) of an utility which is done inside the registry by registerUtility, which breaks

Re: [Zope-dev] zope.site.hooks

2009-10-09 Thread Fabio Tranchitella
* 2009-10-09 13:59, Martijn Faassen wrote: I propose we create a new zope.componentzcml package that contains the zope.component.zcml code. This package is *optionally* dependent on zope.security as well as zope.proxy. It should work with just a dependency on zope.i18nmessageid and

Re: [Zope-dev] Testrunner option for running tests in random order?!?

2009-10-09 Thread Christian Theune
Hi, On 10/08/2009 03:28 PM, Jonathan Ballet wrote: Hi Christian, On Fri, Oct 2, 2009 at 2:00 PM, Christian Theune c...@gocept.com wrote: Hi, I *thought* the test runner had a feature to run tests in randomized order, but I can't find it. Is that something that Zope 2 had and that was

Re: [Zope-dev] five.localsitemanager and unregisterUtility

2009-10-09 Thread Hanno Schlichting
Hi Sylvain. I'm including Michael here, who's added the mentioned feature in the first place. On Fri, Oct 9, 2009 at 2:22 PM, Sylvain Viollon sylv...@infrae.com wrote:   I used to use those features in Silva. It work well with 0.4, but   it's broken in 1.x. (I have tests in Silva testing

Re: [Zope-dev] Testrunner option for running tests in random order?!?

2009-10-09 Thread Jonathan Ballet
Hey, On Fri, Oct 9, 2009 at 2:33 PM, Christian Theune c...@gocept.com wrote:   * --shuffle to randomize the order of the tests in a layer (layers are not yet randomized, I didn't look at it yet);   * --shuffle-seed XXX, to initialize the RNG with a specific value, which allows to reproduce a

Re: [Zope-dev] Testrunner option for running tests in random order?!?

2009-10-09 Thread Benji York
On Fri, Oct 9, 2009 at 8:51 AM, Jonathan Ballet jonathan.bal...@securactive.net wrote: If I want this option to have an optional value, I think I must set a default value to the option. But then, how to make the distinction between the two first cases? I might miss something I don't know in

Re: [Zope-dev] zope.site.hooks

2009-10-09 Thread Martijn Faassen
Fabio Tranchitella wrote: [snip] Anyway, I'm fine with what Martijn proposed if nobody else supports my idea. I'm okay with *not* doing the split up and going with your idea, but I think eventually such a split up would simplify things. One advantage would be that someone could examine

Re: [Zope-dev] Testrunner option for running tests in random order?!?

2009-10-09 Thread Jonathan Ballet
Hi, On Fri, Oct 9, 2009 at 3:30 PM, Benji York be...@zope.com wrote: On Fri, Oct 9, 2009 at 8:51 AM, Jonathan Ballet jonathan.bal...@securactive.net wrote: If I want this option to have an optional value, I think I must set a default value to the option. But then, how to make the distinction

[Zope-dev] ZODB Competing read/writes: How to find out which attribute?

2009-10-09 Thread Hermann Himmelbauer
Hi, I once in the while get the following warning in my Zope 3 log, which I'd like to resolve: 2009-10-07T14:35:41 WARNING ZopePublication Competing writes/reads at /BSPSite/act/++vh++http:zis.act.at:80/bankneu/++/c/acc/booklist/index.html: database conflict error (oid 0x7a5d, class

Re: [Zope-dev] ZODB Competing read/writes: How to find out which attribute?

2009-10-09 Thread Shane Hathaway
Hermann Himmelbauer wrote: Hi, I once in the while get the following warning in my Zope 3 log, which I'd like to resolve: 2009-10-07T14:35:41 WARNING ZopePublication Competing writes/reads at /BSPSite/act/++vh++http:zis.act.at:80/bankneu/++/c/acc/booklist/index.html: database

Re: [Zope-dev] ZODB Competing read/writes: How to find out which attribute?

2009-10-09 Thread Roger Ineichen
Hi Hermann Betreff: Re: [Zope-dev] ZODB Competing read/writes: How to find out which attribute? Hermann Himmelbauer wrote: Hi, I once in the while get the following warning in my Zope 3 log, which I'd like to resolve: 2009-10-07T14:35:41 WARNING ZopePublication Competing

[Zope-dev] Zope 2 documentation

2009-10-09 Thread Baiju M
Hi Jens, I was looking at Zope 2 documentation. To generate this site : http://docs.zope.org/zope2/ we use the buildout available here, is it ? svn://svn.zope.org/repos/main/zope2docs/trunk So, can I remove the buildout available inside zdgbook and zope2book ? Also it looks like