Re: [Zope3-Users] Re: Multiple actions per button in formlib forms?

2006-09-18 Thread Stefan Fink
Thanks Martjin. That did the trick :-) Martijn Pieters wrote: On 9/15/06, Bjorn Tillenius [EMAIL PROTECTED] wrote: This is not true. The decorator also returns the action, meaning that self.handle_edit_action will be an Action, not a method. You are absolutely right, and *bingo*. Martin

[Zope3-Users] __init__ method never called?

2006-09-18 Thread John Smith
Hi everyone! the class zope.app.publisher.browser.fileresource.FileResource inherits from BrowserView and Resource in that order. As far as I can work out, the __init__ method in Resource (zope.app.publisher.browser.resource.Resource) is never called. does anyone know if that Resource.__init__

Re: [Zope3-Users] MySQL connection timeout problem

2006-09-18 Thread Brian Sutherland
On Mon, Sep 18, 2006 at 09:43:01AM -0700, Michael Bernstein wrote: I am running into a problem that seems superficially similar to the one described here: http://mail.zope.org/pipermail/zope3-dev/2005-December/thread.html#17052 Looks the same to me. Was a fix for the problem described in the

[Zope3-Users] MySQL connection timeout problem

2006-09-18 Thread Michael Bernstein
I am running into a problem that seems superficially similar to the one described here: http://mail.zope.org/pipermail/zope3-dev/2005-December/thread.html#17052 Was a fix for the problem described in the above thread ever checked in? Here is my traceback (a Zope restart also makes this go away):

Re: [Zope3-Users] MySQL connection timeout problem

2006-09-18 Thread Michael Bernstein
On Mon, 2006-09-18 at 19:04 +0200, Brian Sutherland wrote: On Mon, Sep 18, 2006 at 09:43:01AM -0700, Michael Bernstein wrote: I am running into a problem that seems superficially similar to the one described here: http://mail.zope.org/pipermail/zope3-dev/2005-December/thread.html#17052

[Zope3-Users] sx.translations 1.0 Released!

2006-09-18 Thread Chris Withers
This package provides components for use with Zope 3 and Zope 2 + Five that implement both ITranslationDomain and ILanguageAvailability as well as supporting the recording of untranslated msgids. This means that, not only do the components support the interface require to provide messages to

[Zope3-Users] looking for something like getUtilitiesFor...

2006-09-18 Thread Chris Withers
...but which just gets the names of utilities available for a particular interface. The reason I ask is that getUtilitiesFor returns tuples of name and utility. This seems wasteful, particular when the utilities need to be created from factories, and all I'm then doing with the list is

[Zope3-Users] Re: looking for something like getUtilitiesFor...

2006-09-18 Thread Philipp von Weitershausen
Chris Withers wrote: ...but which just gets the names of utilities available for a particular interface. The reason I ask is that getUtilitiesFor returns tuples of name and utility. This seems wasteful, particular when the utilities need to be created from factories, Utilities are never

Re: [Zope3-Users] MySQL connection timeout problem

2006-09-18 Thread Brian Sutherland
On Mon, Sep 18, 2006 at 10:19:06AM -0700, Michael Bernstein wrote: On Mon, 2006-09-18 at 19:04 +0200, Brian Sutherland wrote: On Mon, Sep 18, 2006 at 09:43:01AM -0700, Michael Bernstein wrote: I am running into a problem that seems superficially similar to the one described here:

Re: [Zope3-Users] MySQL connection timeout problem

2006-09-18 Thread Brian Sutherland
On Tue, Sep 19, 2006 at 02:14:39AM +0200, Brian Sutherland wrote: On Mon, Sep 18, 2006 at 10:19:06AM -0700, Michael Bernstein wrote: Well, the problem requires an eight-hour timeout in order to manifest, so the only reason I am hitting it is because my prototype app is idle overnight. Does

[Zope3-Users] Is this a bug of HTTP response's head handling? (publisherhttpserver.py)

2006-09-18 Thread Simon Hang
Dear all, While I was exploringmy options to implement NTLM authentication, I found some strange behavior of Zope HTTP server. in zope.server.http.wsgihttpserver.WSGIHTTPServer, It use below function to handle response's head: def start_response(status, headers): # Prepare the headers for