[Zope3-dev] buildbot failure in Zope3 trunk 2.4 Windows 2000 fred-win

2005-11-04 Thread buildbot
The Buildbot has detected a failed build of Zope3 trunk 2.4 Windows 2000 fred-win. Buildbot URL: http://buildbot.zope.org/ Build Reason: changes Build Source Stamp: 1348 Blamelist: srichter BUILD FAILED: failed failed slave lost sincerely, -The Buildbot __

[Zope3-dev] zope.app.appsetup.bootstrap proposal

2005-11-04 Thread Adam Groszer
I think (that may be stupid, because I'm not an expert) that the module is not 100% consistent, once it is checking on the passed folder's SiteManager (in ensureUtility) and then tries to add the utility to a maybe completely different SM (in addUtility). I propose a change to getSiteManagerDefaul

Re[2]: [Zope3-dev] How to provide some default utilities for sub-site

2005-11-04 Thread Adam Groszer
Hello Dominik, Great, it's working. Thanks. Friday, November 4, 2005, 4:28:13 PM, you wrote: DH> Hi Adam DH> First you have to assert that you object (obj) provides ISite. Then I DH> would use the following attachted helper function `addLocalUtility` to DH> add the your utiltiy. Least, you co

Re[2]: [Zope3-dev] ServerControlForm.html / Restart, Shutdown does not work

2005-11-04 Thread Adam Groszer
Hello Stephan, I think I have something for tomorrow's bug day. It is not working again. I have the current trunk and brand new instance. Sunday, July 17, 2005, 12:38:47 PM, you wrote: > On Saturday 16 July 2005 03:48, Adam Groszer wrote: >> If I click "Shutdown" on the ServerControlForm.html it

Re: [Zope3-dev] How to provide some default utilities for sub-site

2005-11-04 Thread Dominik Huber
Hi Adam First you have to assert that you object (obj) provides ISite. Then I would use the following attachted helper function `addLocalUtility` to add the your utiltiy. Least, you could use multi-subscriber for events providing IObjectEvent, then you don't have to check for IApplication. P

Re: [Zope3-dev] Where is zsync

2005-11-04 Thread Fred Drake
On 11/3/05, Antonio Beamud Montero <[EMAIL PROTECTED]> wrote: > I can't find zsync in Zope 3.1... it has been deprecated? I don't think zsync has ever been released as part of a distribution. It's not deprecated so much as unfinished, and we haven't had time to work on it for a while. -Fred

[Zope3-dev] Bug in viewmeta.py (page directive handler)

2005-11-04 Thread Sven Schomaker
Hi all, I found a tiny bug in the page directive handler "page" in zope.app.publisher.browser.viewmeta.py. Handling allowed attributes seems to be buggy: _handle_allowed_attributes(_context, allowed_interface, permission, required) should most probably be

[Zope3-dev] New database generation for Zope 3.2 (Was: [Zope3-checkins] Added BBB for older instances)

2005-11-04 Thread Dmitry Vasiliev
Roger Ineichen wrote: Hi Dimitry Roger Ineichen wrote: Log message for revision 39855: [SKIP] +_passwordManagerName = "Plain Text" + def __init__(self, login, password, title, description=u'', passwordManagerName="Plain Text"): self._login = login This is unn

Re[2]: [Zope3-dev] How to provide some default utilities for sub-site

2005-11-04 Thread Adam Groszer
Hello Dominik, I tried it using a subscriber. def App_boot(event): # precondition obj = event.object if not IApplication.providedBy(obj): return ensureUtility(obj, IWorkflowProcessRepository, 'WorkflowProcessRep

[Zope3-dev] buildbot failure in Zope3 trunk 2.4 Windows 2000 fred-win

2005-11-04 Thread buildbot
The Buildbot has detected a failed build of Zope3 trunk 2.4 Windows 2000 fred-win. Buildbot URL: http://buildbot.zope.org/ Build Reason: changes Build Source Stamp: 1333 Blamelist: hdima,jinty,philikon,shh,yuppie BUILD FAILED: failed failed slave lost sincerely, -The Buildbot ___

[Zope3-dev] Re: [Zope3-checkins] SVN: Zope3/trunk/ Add DEPENDENCIES.cfg for zope.testbrowser and tell zpkgtools where to find them.

2005-11-04 Thread Stephan Richter
On Friday 04 November 2005 04:06, Brian Sutherland wrote: > Log message for revision 39880: >   Add DEPENDENCIES.cfg for zope.testbrowser and tell zpkgtools where to > find them. >   Note that this setup probably does not work with current zpkgtools trunk, > but looks like it will be resolved soon

Re[2]: [Zope3-dev] How to provide some default utilities for sub-site

2005-11-04 Thread Adam Groszer
Hello Dominik, I think (that may be stupid, because I'm not an expert) that the method is not 100% consistent, once it is checking on the passed folder's SM and then trying to add the utility to a maybe completely different SM. By the way, is the (sub) site going to be deprecated? I see some BBB'

Re: [Zope3-dev] How to provide some default utilities for sub-site

2005-11-04 Thread Dominik Huber
Hi Adam You need location information (-> __parent__) for this setup. Regularly the object knows that information not until its addition to a container. Subscribe to ObjectAdded event and do the same setup within the handler and it will work. Regards, Dominik Adam Groszer wrote: I'd like t

[Zope3-dev] How to provide some default utilities for sub-site

2005-11-04 Thread Adam Groszer
I'd like to provide some default utilities for my sub-site. As I checked there is the nice ensureUtility method but as it turns out it failes with ... Module szscreen.app, line 339, in __init__ 'WorkflowUtility', WorkflowUtility, 'wfu') Module zope.app.appsetup.bootstrap, line 66, in ensur