Re: mod_python 3.2.7 available for testing

2006-02-05 Thread Daniel J. Popowich

+1 Debian (testing, aka, etch), Apache 2.0.55-worker, Python 2.3.5



Re: mod_python 3.2.7 available for testing

2006-02-05 Thread Jim Gallacher

+1 Debian (sid), Apache 2.0.55-prefork, Python 2.3.5
+1 Debian (sarge), Apache 2.0.54-worker, Python 2.3.5
+1 Debian (sarge), Apache 2.0.54-prefork, Python 2.3.5

Jim

Jim Gallacher wrote:
Mod_python 3.2.7 tarball is available for test. Here's hoping this will 
be to final time we need your help testing before the official release.


3.2.7 adds a fix for the connection read issue that was causing problems 
on FreeBSD.


Here are the rules:

In order for a file to be officially announced, it has to be tested by
developers on the dev list. Anyone subscribed to this list can (and
should feel obligated to :-) ) test it, and provide feedback *to _this_
 list*! (Not the [EMAIL PROTECTED] list, and preferably not me
personally).

The files are (temporarily) available here:

http://www.modpython.org/dist/

Please download it, then do the usual

$ ./configure --with-apxs=/wherever/it/is
$ make
$ (su)
# make install

Then (as non-root user!)

$ cd test
$ python test.py

And see if any tests fail. If they pass, send a +1 to the list, if they
fail, send the details (the versions of OS, Python and Apache, the test
output, and suggestions, if any).

Thank you for your assistance,
Jim Gallacher






mod_python 3.2.7 available for testing

2006-02-05 Thread Jim Gallacher
Mod_python 3.2.7 tarball is available for test. Here's hoping this will 
be to final time we need your help testing before the official release.


3.2.7 adds a fix for the connection read issue that was causing problems 
on FreeBSD.


Here are the rules:

In order for a file to be officially announced, it has to be tested by
developers on the dev list. Anyone subscribed to this list can (and
should feel obligated to :-) ) test it, and provide feedback *to _this_
 list*! (Not the [EMAIL PROTECTED] list, and preferably not me
personally).

The files are (temporarily) available here:

http://www.modpython.org/dist/

Please download it, then do the usual

$ ./configure --with-apxs=/wherever/it/is
$ make
$ (su)
# make install

Then (as non-root user!)

$ cd test
$ python test.py

And see if any tests fail. If they pass, send a +1 to the list, if they
fail, send the details (the versions of OS, Python and Apache, the test
output, and suggestions, if any).

Thank you for your assistance,
Jim Gallacher



Re: [jira] Created: (MODPYTHON-120) Connection handler test fails on virtual hosting system such as OpenVPS.

2006-02-05 Thread Jorey Bump

Graham Dumpleton (JIRA) wrote:


On a virtual hosting environment such as OpenVPS, "localhost" does not map to the IP 
address "127.0.0.1" but the actual IP of the host.

  >>> import socket
  >>> socket.gethostbyname("localhost")
  '207.126.122.36'

This fact causes the connection handler test to fail because it sets up the 
virtual host listener definition as something like:

  Listen 59180
  
SetHandler mod_python
PythonPath [r'/home/grahamd/mod_python-3.2.7/test/htdocs']+sys.path
PythonConnectionHandler tests::connectionhandler
   


In this case it really needs to be:

  Listen 59180
  
SetHandler mod_python
PythonPath [r'/home/grahamd/mod_python-3.2.7/test/htdocs']+sys.path
PythonConnectionHandler tests::connectionhandler
   



I'd never do it in production, but, for testing purposes, wouldn't it be 
easier to use localhost directly?


   Listen 59180
   
 SetHandler mod_python
 PythonPath [r'/home/grahamd/mod_python-3.2.7/test/htdocs']+sys.path
 PythonConnectionHandler tests::connectionhandler
   

This should be portable across platforms.