Re: mod_python 3.2.7 available for testing

2006-02-08 Thread David Fraser
Nicolas Lehuen wrote: Hi David, One thing I don't understand is why you have "foreign" PythonOption definitions in your test setup. Are you sure you have re-created a clean testconf.py file from testconf.py.in ? I've write a little bit of documentation in test/README, please try to follow it.

Re: mod_python 3.2.9-rc2 available for testing

2006-06-23 Thread David Fraser
I've recently been bitten by the Apache 2.0.47 requirement as mentioned in the following mails: http://www.modpython.org/pipermail/mod_python/2006-February/020280.html http://www.modpython.org/pipermail/mod_python/2006-May/021135.html http://www.modpython.org/pipermail/mod_python/2006-May/021133.ht

Server Shutdown and register_cleanup

2006-08-24 Thread David Fraser
David Fraser wrote: > Graham Dumpleton wrote: >> On 18/08/2006, at 7:48 PM, Richard Lewis wrote: >>> On Tuesday 15 August 2006 23:31, Graham Dumpleton wrote: >>>> Richard Lewis wrote .. >>>>> Do you mean that there will be no opportunity to

Re: Server Shutdown and register_cleanup

2006-08-24 Thread David Fraser
Jim Gallacher wrote: > David Fraser wrote: >> Hi >> >> I thought it would be good to take this across to python-dev. I've read >> through >> https://issues.apache.org/jira/browse/MODPYTHON-109?page=all >> and the discussion in >> http://www.modp

Re: Server Shutdown and register_cleanup

2006-08-25 Thread David Fraser
Jim Gallacher wrote: > David Fraser wrote: >> Jim Gallacher wrote: >>> David Fraser wrote: >>>> Hi >>>> >>>> I thought it would be good to take this across to python-dev. I've >>>> read >>>> through >>&

Re: Proposal for adding html formatted tracebacks

2006-08-28 Thread David Fraser
Graham Dumpleton wrote: > Dan Eloff wrote .. > >> I've been using html formatted tracebacks in my handlers for a little >> while, and it's working rather well. Here's my proposal to add it to >> mod_python. Once we've reached agreement I'll add it and attach the >> files. >> >> -Add a file excep

Re: MODPYTHON-195

2006-11-09 Thread David Fraser
Hi Jeff We use Apache on Windows too, but we haven't spent time tracking down these leaks, so I'm really glad you're doing it :-) David Jeff Robbins wrote: Graham, Your version works well. Thanks, Jeff P.S. I know you're not testing on windows, but I found another leak in mpm_winnt.c.

Re: Core vote [Re: mod_python 3.3.0 beta available for testing]

2006-12-12 Thread David Fraser
I'm not "core" but I think its good practice to officially release this as a beta to the wider community before making it an actual release. I didn't test it because I was waiting for the core vote :-) David Jim Gallacher wrote: Gregory (Grisha) Trubetskoy wrote: > > core +1 on releasing it in

Re: [jira] Commented: (MODPYTHON-55) Add a version attribute to the mod_python module.

2005-05-20 Thread David Fraser
I've got a number of patches which relate to building on Windows using pure python. I'll try get them onto Jira next week David Nicolas Lehuen wrote: The problem is that this won't work when building on Windows. I think we should use Python scripts instead of configure, grep et al which are not t

Re: [jira] Commented: (MODPYTHON-55) Add a version attribute to the mod_python module.

2005-05-25 Thread David Fraser
; please carry on! David Fraser wrote: I've got a number of patches which relate to building on Windows using pure python. I'll try get them onto Jira next week David Nicolas Lehuen wrote: The problem is that this won't work when building on Windows. I think we should use Python

Re: Solving the import problem

2005-06-09 Thread David Fraser
Graham Dumpleton wrote: On 10/06/2005, at 2:53 AM, dharana wrote: As for vampire - why would I want vampire? mod_python is great except this. I personally have no interest in adding yet more software to my system just to solve the mod_python import issue - Id rather it was fixed in the righ

Re: PythonSessionOption - a new apache directive for session configuration

2005-06-13 Thread David Fraser
Hi Nicolas, Jim PythonSessionCreate as suggested is nice for flexibility, but scary for non-coders - I like Jim's multiple options for that reason David Nicolas Lehuen wrote: Hi Jim, Why not have a single 'PythonSessionCreate' option which contains the line of code that should be evaled to

Re: Session Benchmarks

2005-06-17 Thread David Fraser
Nicolas Lehuen wrote: Hi Jim, You've done a pretty impressive work here. What surprises me is the O(n) behaviour on DBM and FS. This seems to mean that indexes (or indices, if you prefer) ar not used. For DBM, well, if BDB could not handle indexes, this would be big news. Are you 100% sure tha

Re: glue between apache and python logging

2005-10-20 Thread David Fraser
Jim Gallacher wrote: Nic Ferrier wrote: All that I asked is that a module similar to mine be included in mod_python's dist so that it can be available to programmers by default. Yes, I understand this. I just think if the decision was made to include this feature it should be rock solid. I'

Re: mod_python 3.2.5b available for testing

2005-11-15 Thread David Fraser
Jim Gallacher wrote: A new mod_python 3.2.5 beta tarball is now available for testing. A windows binary should be available shortly. The windows binary for python 2.3 is borked, and contains its own md5sum, being only 68 bytes long. This did raise the interesting thought of how easy it would

Re: mod_python 3.2.5b available for testing

2005-11-15 Thread David Fraser
Jim Gallacher wrote: A new mod_python 3.2.5 beta tarball is now available for testing. A windows binary should be available shortly. I thought I'd add a note on building on Windows... Please download it, then do the usual $ ./configure --with-apxs=/wherever/it/is $ make $ (su) # make instal

Re: Developer Guidelines (was Re: More efficient FieldStorage, StringField and Field classes)

2005-11-15 Thread David Fraser
Mike Looijmans wrote: Ok, following Jim's advice, an having read his guide, I have so far: - Fetched the trunk version with anonymous SVN (no problem) I've already installed apache 2.0.55 and Python 2.4.1 on this Windows machine (the lazy way, with MSI packages). I've also installed the late

Re: mod_python 3.2.5b available for testing

2005-11-15 Thread David Fraser
Nicolas Lehuen wrote: Being the guy who provide the Win32 binaries, I feel obliged to answer :) Brilliant :-) download, untar, then do (substituting your apache directory for the one below) cd dist set APACHESRC="c:\Program Files\Apache Group\Apache2" build_installer.bat Note that without

Re: Developer Guidelines (was Re: More efficient FieldStorage, StringField and Field classes)

2005-11-15 Thread David Fraser
Mike Looijmans wrote: David Fraser wrote: > See my other mail - basically you do > cd dist > set APACHESRC=c:\path\to\apache (where this is the Apache2 dir in a > standard installation, now need for apache source) > build_installer Okay, first I downloaded the .NET SDK

Re: [jira] Commented: (MODPYTHON-93) Improve util.FieldStorage efficiency

2005-11-28 Thread David Fraser
Gregory (Grisha) Trubetskoy wrote: Having looked at the FieldStorage code, I'm guessing the idea was that you parse fields as they come in and append them to a list. This preserves the original order of fields, in case it is needed. I'm not sure that maintaining a dictionary alongside the

Re: [SPAM] [mod_python] [SPAM] ANNOUNCE: Mod_python 3.2.5 Beta

2005-11-28 Thread David Fraser
ython and python-dev did not have SPAM added to the subject, so perhaps the problem lies with David's server/email program. Jim Gregory (Grisha) Trubetskoy wrote: I don't know how to do that, and it doesn't bother me that much :-) Grisha On Mon, 28 Nov 2005, David Fraser wrot

Re: What's in a URL ?

2005-12-05 Thread David Fraser
Nicolas Lehuen wrote: As for the colophon : I initially built this chart on Excel 2003, then feeling a bit guilty, I decided to switch to OpenOffice 2 (developer release). I have then discovered that OpenOffice is far less intuitive in the domain of merged cells or cell borders. For example, y

Testing mod_python on win32

2005-12-05 Thread David Fraser
There's an old thread below about testing on Win32. As afar as I can recall, Nicolas Lehuen is the only guy who's been able to run the tests on win32 Has anybody else been able to? Can we put together some hints as to how to do it? David David Fraser wrote: Nicolas Lehuen wro

Re: Testing mod_python on win32

2005-12-05 Thread David Fraser
Nicolas Lehuen wrote: Hi David, To follow my old promise, I've just checked in a bit of documentation on how to run the test suite, including on Win32. I've also added a few self-test in the test module, so that the most obvious setup mistakes are notified to the user. Here is the document

Re: Testing mod_python on win32

2005-12-05 Thread David Fraser
the real documentation, but for various reasons this way is the quickest way to put it online. It's much better than the previous README file anyway (it was basically saying "keep out unless you know what you're doing" ;). Hope this helps. Regards, Nicolas 2005/12/5, David Fra

Re: Testing mod_python on win32

2005-12-05 Thread David Fraser
y to put it online. It's much better than the previous README file > anyway (it was basically saying "keep out unless you know what you're > doing" ;). > > Hope this helps. > > Regards, > Nicolas > > >

Re: Testing mod_python on win32

2005-12-05 Thread David Fraser
with the Apache Monitor ? Regards, Nicolas 2005/12/6, David Fraser <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>: I'm sure this is Win32 only. We could even remove the requirement on Win32 by using an alternative service name that we create and destroy as req

Re: Testing mod_python on win32

2005-12-06 Thread David Fraser
x27;ll have to debug later on. Nothings kills me more than debugging the tests :). Regards, Nicolas 2005/12/6, David Fraser <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>: Hi Nicolas Interesting, I never even tried running it the same time as the service, so I can see

Re: Testing mod_python on win32

2005-12-07 Thread David Fraser
he service running. What test are failing on your system ? Regards, Nicolas 2005/12/6, David Fraser <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>: Another minor point: 6 of the tests fail without the patch if the Apache service was running before the tests

Re: Testing mod_python on win32

2005-12-07 Thread David Fraser
Has anyone else run the tests on win32 with a standard Apache2 service started and checked the effects? (Does it stop the service? Do some tests fail? etc) David Fraser wrote: Well it certainly causes problems for me :-) OK It's only one that fails, I didn't read the message cle

Re: Segfaults in ConnectionHander FreeBSD (was Re: 3.2.6 test period - how long do we wait?)

2006-01-30 Thread David Fraser
Jim Gallacher wrote: Barry Pederson wrote: I think this is the general kind of thing we're looking for though, with some mistaken pointer/memory operation. Too bad we can't write *everything* in python. :( You haven't been following PyPy then? :-) David

[jira] Created: (MODPYTHON-174) Update requirements to Apache 2.0.47 or greater

2006-06-23 Thread David Fraser (JIRA)
Reporter: David Fraser Attachments: apache-2.0.47-req-doc.patch Usage of the apr_table_compress function requires Apache 2.0.47, but the docs only specify version 2.0.40 See the following URLs for details http://www.modpython.org/pipermail/mod_python/2006-February/020280.html http

[jira] Updated: (MODPYTHON-174) Update requirements to Apache 2.0.47 or greater

2006-06-23 Thread David Fraser (JIRA)
[ http://issues.apache.org/jira/browse/MODPYTHON-174?page=all ] David Fraser updated MODPYTHON-174: --- Attachment: apache-2.0.47-req-doc.patch Added patch to update the docs requirement strings > Update requirements to Apache 2.0.47 or grea

[jira] Updated: (MODPYTHON-174) Update requirements to Apache 2.0.47 or greater

2006-06-26 Thread David Fraser (JIRA)
[ http://issues.apache.org/jira/browse/MODPYTHON-174?page=all ] David Fraser updated MODPYTHON-174: --- This is now fixed for 3.2.9 (as of rc3) so can be marked fixed... > Update requirements to Apache 2.0.47 or grea

[jira] Commented: (MODPYTHON-223) Make sys.stdout/sys.stderr log properly to Apache error logs.

2007-05-11 Thread David Fraser (JIRA)
[ https://issues.apache.org/jira/browse/MODPYTHON-223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12495043 ] David Fraser commented on MODPYTHON-223: As a side comment that may be relevant, I've had

[jira] Commented: (MODPYTHON-94) Calling APR optional functions provided by mod_ssl

2005-11-28 Thread David Fraser (JIRA)
[ http://issues.apache.org/jira/browse/MODPYTHON-94?page=comments#action_12358754 ] David Fraser commented on MODPYTHON-94: --- I wonder whether it would be possible to use a module like ctypes to connect to Apache functions. That way the linking issue

[jira] Created: (MODPYTHON-95) Allow testing on Win32 without affecting main Apache service

2005-12-05 Thread David Fraser (JIRA)
: 3.2 Environment: Windows Reporter: David Fraser Currently the README for testing states: - The only trick is that you'll have to stop your Apache server before launching the test, as the start/stop command can only apply to one single Apache instance. This only applies on Win32

[jira] Updated: (MODPYTHON-95) Allow testing on Win32 without affecting main Apache service

2005-12-05 Thread David Fraser (JIRA)
[ http://issues.apache.org/jira/browse/MODPYTHON-95?page=all ] David Fraser updated MODPYTHON-95: -- Attachment: test-setsvcname-1.patch Basically if you set a service name in testconf.py then it will use that instead of the standard service, and will