Apache Mod-Python - mod_python 3.2.6 testing on debian/colinux

This is Interesting: Free IT Magazines  
Home > Archive > Apache Mod-Python > January 2006 > mod_python 3.2.6 testing on debian/colinux





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author mod_python 3.2.6 testing on debian/colinux
Mike Looijmans

2006-01-18, 7:46 am

Since I have a CoLinux instance on my machine here, I wanted to give it
a go with mod_python as well (need a linux test environment for
mod_python anyway).

It's running a Debian distro, I have gcc-3.3 on it, as well as
apache2-dev and python-dev (version 2.3).

Can't get the tests to run though, even though Apache itself appears to
run okay (I can get the manual pages from it).

Here's an example session (running as root, also tried normal user):



colinux:/home/mike/mod_python/test# Python test.py

* Testing LoadModule
Creating config....
listen port: 32843
Starting Apache....
/usr/sbin/apache2 -k start -f
/home/mike/mod_python/test/conf/test.conf
F Stopping Apache...
/usr/sbin/apache2 -k stop -f /home/mike/mod_python/test/conf/test.conf
httpd (pid 4940?) not running
Traceback (most recent call last):
File "test.py", line 2033, in ?
tr.run(suite())
File "/usr/lib/python2.3/unittest.py", line 658, in run
test(result)
File "/usr/lib/python2.3/unittest.py", line 389, in __call__
test(result)
File "/usr/lib/python2.3/unittest.py", line 239, in __call__
self.tearDown()
File "test.py", line 1812, in tearDown
self.stopHttpd()
File "test.py", line 331, in stopHttpd
time.sleep(1)
KeyboardInterrupt
colinux:/home/mike/mod_python/test#

Mike Looijmans
Philips Natlab / Topic Automation




Nicolas Lehuen wrote:
> Mike, I forward your +1 to python-dev since you only sent it to me.
>
> Regards,
> Nicolas
>
> ---------- Forwarded message ----------
> From: Mike Looijmans <nlv11281@natlab.research.philips.com>
> Date: 18 janv. 2006 08:21
> Subject: Re: mod_python 3.2.6 (Final!) available for testing
> To: nicolas@lehuen.com
>
>
> +1
>
> Windows XP Pro SP2
> Apache 2.0.54
> Python 2.4.2
>
> --
> Mike Looijmans
> Philips Natlab / Topic Automation
>
>
> Nicolas Lehuen wrote:
>
>
>



Jorey Bump

2006-01-18, 7:46 am

Mike Looijmans wrote:
> Since I have a CoLinux instance on my machine here, I wanted to give it
> a go with mod_python as well (need a linux test environment for
> mod_python anyway).
>
> It's running a Debian distro, I have gcc-3.3 on it, as well as
> apache2-dev and python-dev (version 2.3).
>
> Can't get the tests to run though, even though Apache itself appears to
> run okay (I can get the manual pages from it).
>
> Here's an example session (running as root, also tried normal user):
>
>
>
> colinux:/home/mike/mod_python/test# Python test.py


If you compiled it as mike, you need to run the tests as mike, not root.

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com