[Zope-dev] Can I configure additional loggers via zope.conf?

2004-10-28 Thread Ames Andreas (MPA/DF)
Hello, sorry if this the wrong list, I just wasn't sure. I'd like to use a python lib which creates and uses its own logger objects/hierarchy. This hierarchy is not a subtree of the 'event'-hierarchy or the other default Zope-logger hierarchies. Unfortunately I wasn't able to define a logger

Re: [Zope-dev] Can I configure additional loggers via zope.conf?

2004-10-28 Thread Ames Andreas (MPA/DF)
Hello, Fred Drake wrote: Please file a feature request for this so we don't forget it. This can be assigned to me, though I'm not sure when I'll be able to get to it. Please look to http://zope.org/Collectors/Zope/1555. Unfortunately I don't know how to assign this to you. Thanks,

Re: [Zope-dev] Patch: let non-seekable streams be input for ZPublisher (updated)

2004-08-24 Thread Ames Andreas (MPA/DF)
Hello, Leonardo Rochael Almeida wrote: Yes, if you file a feature request on the bug collector, which can be found at: I've put the most recent version of the patch to http://collector.zope.org/Zope/1472. cheers, andreas ___ Zope-Dev maillist -

Re: [Zope-dev] Patch: let non-seekable streams be input for ZPublisher (updated)

2004-08-23 Thread Ames Andreas (MPA/DF)
Hello, Dieter Maurer wrote: Maybe, I have a much simpler solution: Something in ZServer makes all file fields seekable by delivering them through some temporary (either a StringIO or a temporary file). Maybe, you could do the same for your requests? Yes, I could. But trying to

Re: [Zope-dev] Patch: let non-seekable streams be input for ZPublisher (updated)

2004-08-20 Thread Ames Andreas (MPA/DF)
Hi, Andreas Ames wrote: next trial. I hope I've got it straight now. Not quite so (although this may only be nitpicking ;-). fs_env = environ should have read fs_env = environ.copy() obviously. See attachment. cheers, andreas --- lib.orig/python/ZPublisher/HTTPRequest.py 2004-08-18

Re: [Zope-dev] Patch: let non-seekable streams be input for ZPublisher (updated)

2004-08-20 Thread Ames Andreas (MPA/DF)
Hi Dieter, *, Dieter Maurer wrote: The FieldStorage must be rebuilt, because it can contain file objects. These file objects must be reset as they may have been (partially) read in the previous request. This prevent reusing the previous FieldStorage. As you may have seen in my first

[Zope-dev] Patch: let non-seekable streams be input for ZPublisher (updated)

2004-08-18 Thread Ames Andreas (MPA/DF)
Hi, I had a thinko in my previous patch (http://mail.zope.org/pipermail/zope-dev/2004-August/023630.html) which is corrected in the attached version of the patch. Sorry for any inconvenience, I might have caused. As I'm sort of protocol challenged (thanks to corporate firewall), svn

[Zope-dev] Re: Are input streams seekable in Zope? (+ patch proposal)

2004-08-12 Thread Ames Andreas (MPA/DF)
Hi, at first let me say that I'm very sorry for the long delay; it was just an oversight. Tres Seaver wrote: Is there a reason why the AJP protocol won't allow you to rewind to the beginning of the request stream? I don't think that the publisher does any other seek than to the start of the

[Zope-dev] Are input streams seekable in Zope?

2004-07-30 Thread Ames Andreas (MPA/DF)
Hi, I've stumbled over some code in Zope 2.7.0 that seems to suggest that input streams are meant to be seekable. In an extension I wrote for ZServer, i.e. AJPServer, I throw an exception when this is tried and I'm quite sure the call to seek wasn't there in 2.6.x. I found the call to seek in

Re: [Zope-dev] [Q] Pickle support for C wrapper and ZEO

2004-04-23 Thread Ames Andreas (MPA/DF)
Hello Dieter, thanks for your answer. Dieter Maurer [EMAIL PROTECTED] writes: You mean ZEO client instances not ZEO (server) instances, don't you? Exactly, sorry for having been ambiguous. Why do you think your ODBC objects should be consistent across ZEO clients? I do not think that it

[Zope-dev] [Q] Pickle support for C wrapper and ZEO

2004-04-22 Thread Ames Andreas (MPA/DF)
Hi all, I'm reposting here because I had no luck on [EMAIL PROTECTED] I'm in the course of low-level wrapping the ODBC api. Just in case you wonder: I know of mxODBC and pyodbc, they don't fit my needs as well license-wise as technically (I want better metadata access, thread-safety etc.).

Re: [Zope-dev] [Q] Pickle support for C wrapper and ZEO

2004-04-22 Thread Ames Andreas (MPA/DF)
Hello Martin, [EMAIL PROTECTED] (Martin Kretschmar) writes: putting this back on list, hope it's ok with you. Hello, I was once debugging an application which usually crashed after 2-3 days during load tests. It was doing a lot of database operations. The access was to a Microsoft SQL