Closed grisha closed 11 years ago
Tests pass on Debian 6.0.7:
mod_python: 3.4.0-f0dcd6e
'/usr/lib/apache2/modules/mod_python.so'
python: 2.6.6 (r266:84292, Dec 26 2010, 22:31:48) [GCC 4.4.5]
'/usr/bin/python'
httpd: 2.2.16
'/usr/sbin/apache2'
apr: 1.4.2
platform: Linux-2.6.32-5-amd64-x86_64-with-debian-6.0.7
And all tests pass OS X 10.8.5. Woo-hoo - this is an LLVM compile!
mod_python: 3.4.0-f0dcd6e
'/usr/libexec/apache2/mod_python.so'
python: 2.7.2 (default, Oct 11 2012, 20:14:37) [GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)]
'/usr/bin/python'
httpd: 2.2.24
'/usr/sbin/httpd'
apr: 1.4.5
platform: Darwin-12.5.0-x86_64-i386-64bit
All tests pass on Ubuntu 12.04.2 LTS server.
mod_python: 3.4.0-f0dcd6e
'/usr/lib/apache2/modules/mod_python.so'
python: 2.7.3 (default, Apr 10 2013, 06:20:15) [GCC 4.6.3]
'/usr/bin/python'
httpd: 2.2.22
'/usr/sbin/apache2'
apr: 1.4.6
platform: Linux-3.5.0-23-generic-x86_64-with-Ubuntu-12.04-precise
Thanks sairon!
No errors (Ran 70 tests in 10.815s & Ran 7 tests in 46.405s) - Debian 7.1
mod_python: 3.4.0-f0dcd6e
'/usr/lib/apache2/modules/mod_python.so'
python: 2.7.3 (default, Jan 2 2013, 13:56:14) [GCC 4.7.2]
'/usr/bin/python'
httpd: 2.2.22
'/usr/sbin/apache2'
apr: 1.4.6
platform: Linux-3.2.0-4-amd64-x86_64-with-Debian-7
Awesome, thanks XSlicer.
Also copying FreeBSD 9.1 test pass which I posted to the mailing list:
All tests pass on FreeBSD 9.1:
mod_python: 3.4.0-f0dcd6e
'/usr/local/libexec/apache22/mod_python.so'
python: 2.7.3 (default, Apr 8 2013, 18:32:24) [GCC 4.2.1 20070831 patched [FreeBSD]]
'/usr/local/bin/python'
httpd: 2.2.23
'/usr/local/sbin/httpd'
apr: 1.4.6
platform: FreeBSD-9.1-RELEASE-amd64-64bit-ELF
I am very happy, finally a mod_python that I got to work with Apache HTTP Server 2.4, after some experimenting.
mod_python: 3.4.0-f0dcd6e
'/usr/local/apache2/modules/mod_python.so'
python: 2.7 (r27:82500, Aug 07 2010, 16:54:59) [GCC]
'/usr/bin/python'
httpd: 2.4.6
'/usr/local/apache2/bin/httpd'
apr: 1.4.8
platform: Linux-2.6.37.6-24-pae-i686-with-SuSE-11.4-i586
Testing req.document_root() got frozen. Debugging httpd showed a problem with PyCObject_FromVoidPtr (or how mod_python uses it).
Program received signal SIGSEGV, Segmentation fault.
0xb4751e8f in ?? () from /usr/lib/libpython2.7.so.1.0
(gdb) bt
#0 0xb4751e8f in ?? () from /usr/lib/libpython2.7.so.1.0
#1 0xb47522b2 in PyErr_WarnEx () from /usr/lib/libpython2.7.so.1.0
#2 0xb47248b0 in ?? () from /usr/lib/libpython2.7.so.1.0
#3 0xb47248ca in PyCObject_FromVoidPtr () from /usr/lib/libpython2.7.so.1.0
#4 0xb4882899 in save_interpreter (name=0x8d38c70 "wotan4.local.local", istate=<value optimized out>) at mod_python.c:193
#5 0xb4882a95 in get_interpreter (name=0x8d38c70 "wotan4.local.local") at mod_python.c:269
#6 0xb4886cf4 in python_handler (req=0x90ed8d0, phase=0xb4888135 "PythonHandler") at mod_python.c:1508
#7 0x0809d2e6 in ap_run_handler (r=0x90ed8d0) at config.c:169
#8 0x0809d681 in ap_invoke_handler (r=0x90ed8d0) at config.c:432
#9 0x08102d52 in ap_process_async_request (r=0x90ed8d0) at http_request.c:317
#10 0x08102e8d in ap_process_request (r=0x90ed8d0) at http_request.c:363
#11 0x080ff390 in ap_process_http_sync_connection (c=0x90d5a08) at http_core.c:190
#12 ap_process_http_connection (c=0x90d5a08) at http_core.c:231
#13 0x080a6296 in ap_run_process_connection (c=0x90d5a08) at connection.c:41
#14 0x081add62 in child_main (child_num_arg=<value optimized out>) at prefork.c:704
#15 0x081adf45 in make_child (s=0x826f088, slot=0) at prefork.c:746
#16 0x081aec76 in prefork_run (_pconf=0x823e0a8, plog=0x827b788, s=0x826f088) at prefork.c:956
#17 0x08083b34 in ap_run_mpm (pconf=0x823e0a8, plog=0x827b788, s=0x826f088) at mpm_common.c:98
#18 0x0807dbf0 in main (argc=4, argv=0xbffff554) at main.c:777
Upgrading to python 2.7.3 made it work.
mod_python: 3.4.0-f0dcd6e
'/usr/local/apache2/modules/mod_python.so'
python: 2.7.3 (default, Sep 28 2013, 20:32:52) [GCC 4.5.1 20101208 [gcc-4_5-branch revision 167585]]
'/usr/bin/python'
httpd: 2.4.6
'/usr/local/apache2/bin/httpd'
apr: 1.4.8
platform: Linux-2.6.37.6-24-pae-i686-with-SuSE-11.4-i586
Testing still shows an error, but a real application ( check_mk dashboard ) shows no problem.
* Testing internally (status messages go to error_log)
$ curl --verbose --header 'Host: test_internal' http://127.0.0.1:57963/tests.py
F
======================================================================
ERROR: test_psp_error (__main__.PerRequestTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test.py", line 2023, in test_psp_error
rsp = self.vhost_get("test_psp_error", path="/psptest_main.psp")
File "test.py", line 429, in vhost_get
response = conn.getresponse()
File "/usr/lib/python2.7/httplib.py", line 1030, in getresponse
response.begin()
File "/usr/lib/python2.7/httplib.py", line 407, in begin
version, status, reason = self._read_status()
File "/usr/lib/python2.7/httplib.py", line 371, in _read_status
raise BadStatusLine(line)
BadStatusLine: ''
some errors...
mod_python: 3.4.0-f0dcd6e
'/usr/local/libexec/apache24/mod_python.so'
python: 2.7.5 (default, Sep 29 2013, 13:16:50) [GCC 4.2.2 20070831 prerelease [FreeBSD]]
'/usr/local/bin/python'
httpd: 2.4.6
'/usr/local/sbin/httpd'
apr: 1.4.8
platform: FreeBSD-8.3-RELEASE-i386-32bit-ELF
in detail:
* Testing PythonConnectionHandler on port 64554
F
* Testing internally (status messages go to error_log)
$ curl --verbose --header 'Host: test_internal' http://127.0.0.1:44862/tests.py
F
======================================================================
FAIL: test_connectionhandler (__main__.PerRequestTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test.py", line 1852, in test_connectionhandler
self.fail(`rsp`)
AssertionError: '/s/tmp/mod_py34/mod_py34_git/mod_python/test/htdocs'
======================================================================
FAIL: test_internal (__main__.PerRequestTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test.py", line 1877, in test_internal
self.fail("Some tests failed, see error_log")
AssertionError: Some tests failed, see error_log
----------------------------------------------------------------------
Ran 69 tests in 23.165s
FAILED (failures=2)
F Stopping Apache...
/usr/local/sbin/httpd -k stop -f /s/tmp/mod_py34/mod_py34_git/mod_python/test/conf/test.conf
======================================================================
FAIL: testPerRequestTests (__main__.PerInstanceTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test.py", line 2896, in testPerRequestTests
self.failUnless(result.wasSuccessful())
AssertionError: False is not true
----------------------------------------------------------------------
Ran 7 tests in 57.207s
FAILED (failures=1)
trac won't work :-(
Kind regards, MrK
@MrK-git - would you tail your test/logs/error_log
- there should be some details on the test failure.
feisenko - I've created a new issue #6 for this.
@grisha: tail error_log:
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] server.limit_req_fieldsize: 8190
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] server.limit_req_fields: 100
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] server.names: ()
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] server.wild_names: ()
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] Examining connection memebers:
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] connection.base_server: <mp_server object at 0x2abd1f98>
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] connection.local_addr: ('xxx.xxx.xxx.xxx', 61380)
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] ....F.F.F\n======================================================================\nFAIL: test_req_members (tests.SimpleTestCase)\n-----------------------------------------------------------------------------------------\nRan 9 tests in 0.048s\n\nFAILED (failures=3)\n
[core:info] [pid 8994] AH00096: removed PID file /tmp/mod_py34/mod_py34_git/mod_python/test/logs/httpd.pid (pid=8994)
[mpm_prefork:notice] [pid 8994] AH00169: caught SIGTERM, shutting down
If necessary you can get the whole file (478 lines) or some special (if you can tell me which is interesting).
Kind regards, MrK
Thanks @MrK-git. Sorry "tail" may have been a poor choice of words - the actual errors are up above. It should be pretty clear in the log, it looks like there are three of them (based on the three F's) - it should say something about expecting one value, but seeing another.
Sorry @grisha I cannot find exactly what you expect, so I'll post it all:
[:notice] [pid 8994] mod_python: Creating 8 session mutexes based on 256 max processes and 0 max threads.
[:notice] [pid 8994] mod_python: using mutex_directory /tmp/mod_py34/mod_py34_git/mod_python/test/tmp
[mpm_prefork:notice] [pid 8994] AH00163: Apache/2.4.6 (FreeBSD) mod_python/3.4.0-f0dcd6e Python/2.7.5 configured -- resuming normal operations
[mpm_prefork:info] [pid 8994] AH00164: Server built: Sep 22 2013 21:42:07
[core:notice] [pid 8994] AH00094: Command line: '/usr/local/sbin/httpd -f /tmp/mod_py34/mod_py34_git/mod_python/test/conf/test.conf'
[mpm_prefork:debug] [pid 8994] prefork.c(995): AH00165: Accept mutex: flock (default: flock)
[unixd:alert] [pid 8995] (2)No such file or directory: AH02155: getpwuid: couldn't determine user name from uid -1, you probably need to modify the User directive
[unixd:alert] [pid 8996] (2)No such file or directory: AH02155: getpwuid: couldn't determine user name from uid -1, you probably need to modify the User directive
[unixd:alert] [pid 8997] (2)No such file or directory: AH02155: getpwuid: couldn't determine user name from uid -1, you probably need to modify the User directive
[:error] [pid 8996] dummymodule / test_import
[:error] [pid 8996] dummymodule::function / test_import
[:error] [pid 8995] dummymodule / test_import
[:error] [pid 8995] dummymodule::function / test_import
[:error] [pid 8997] dummymodule / test_import
[:error] [pid 8997] dummymodule::function / test_import
[authz_core:debug] [pid 8996] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:64055] AH01628: authorization result: granted (no directives)
[unixd:alert] [pid 8998] (2)No such file or directory: AH02155: getpwuid: couldn't determine user name from uid -1, you probably need to modify the User directive
[:error] [pid 8998] dummymodule / test_import
[:error] [pid 8998] dummymodule::function / test_import
[:notice] [pid 8996] mod_python: (Re)importing module 'tests'
[authz_core:debug] [pid 8995] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:28350] AH01628: authorization result: granted (no directives)
[:notice] [pid 8995] mod_python: (Re)importing module 'tests'
[authz_core:debug] [pid 8997] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:64333] AH01628: authorization result: granted (no directives)
[:notice] [pid 8997] mod_python: (Re)importing module 'tests'
[:error] [pid 8997] [client xxx.xxx.xxx.xxx:64333] req_add_bad_handler tests::req_add_bad_handler
[:error] [pid 8997] [client xxx.xxx.xxx.xxx:64333] req_add_bad_handler tests::req_add_bad_handler
[:error] [pid 8997] [client xxx.xxx.xxx.xxx:64333] PythonHandler tests::bad_handler: Traceback (most recent call last):
[:error] [pid 8997] [client xxx.xxx.xxx.xxx:64333] PythonHandler tests::bad_handler: File "/usr/local/lib/python2.7/site-packages/mod_python/apache.py", line 355, in HandlerDispatch\n arg=req, silent=hlist.silent)
[:error] [pid 8997] [client xxx.xxx.xxx.xxx:64333] PythonHandler tests::bad_handler: File "/usr/local/lib/python2.7/site-packages/mod_python/apache.py", line 689, in resolve_object\n raise AttributeError, s
[:error] [pid 8997] [client xxx.xxx.xxx.xxx:64333] PythonHandler tests::bad_handler: AttributeError: module '/tmp/mod_py34/mod_py34_git/mod_python/test/htdocs/tests.pyc' contains no 'bad_handler'
[unixd:alert] [pid 8999] (2)No such file or directory: AH02155: getpwuid: couldn't determine user name from uid -1, you probably need to modify the User directive
[unixd:alert] [pid 9000] (2)No such file or directory: AH02155: getpwuid: couldn't determine user name from uid -1, you probably need to modify the User directive
[:error] [pid 9000] dummymodule / test_import
[:error] [pid 9000] dummymodule::function / test_import
[:error] [pid 8999] dummymodule / test_import
[:error] [pid 8999] dummymodule::function / test_import
[authz_core:debug] [pid 8998] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:42652] AH01628: authorization result: granted (no directives)
[:notice] [pid 8998] mod_python: (Re)importing module 'tests'
[:error] [pid 8998] [client xxx.xxx.xxx.xxx:42652] req_add_empty_handler_string
[:notice] [pid 8998] mod_python: (Re)importing module ''
[:error] [pid 8998] [client xxx.xxx.xxx.xxx:42652] PythonHandler : Traceback (most recent call last):
[:error] [pid 8998] [client xxx.xxx.xxx.xxx:42652] PythonHandler : File "/usr/local/lib/python2.7/site-packages/mod_python/apache.py", line 351, in HandlerDispatch\n log=debug)
[:error] [pid 8998] [client xxx.xxx.xxx.xxx:42652] PythonHandler : File "/usr/local/lib/python2.7/site-packages/mod_python/apache.py", line 619, in import_module\n f, p, d = imp.find_module(parts[i], path)
[:error] [pid 8998] [client xxx.xxx.xxx.xxx:42652] PythonHandler : ImportError: No module named
[authz_core:debug] [pid 8995] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:17338] AH01628: authorization result: granted (no directives)
[:notice] [pid 8995] mod_python: (Re)importing module 'tests'
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:17338] req_add_handler_empty_phase
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:17338] phase=PythonFixupHandler
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:17338] interpreter=/tmp/mod_py34/mod_py34_git/mod_python/test/htdocs/
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:17338] directory=/tmp/mod_py34/mod_py34_git/mod_python/test/htdocs/
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:17338] req_add_handler_empty_phase
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:17338] phase=PythonHandler
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:17338] interpreter=/tmp/mod_py34/mod_py34_git/mod_python/test/htdocs/
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:17338] directory=/tmp/mod_py34/mod_py34_git/mod_python/test/htdocs/
[authz_core:debug] [pid 8997] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:29709] AH01628: authorization result: granted (no directives)
[:notice] [pid 8997] mod_python: (Re)importing module 'tests'
[:notice] [pid 8996] mod_python: (Re)importing module 'tests'
[:error] [pid 8996] [client xxx.xxx.xxx.xxx:31814] accesshandler_add_handler_to_empty_hl
[authz_core:debug] [pid 8996] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:31814] AH01628: authorization result: granted (no directives)
[authz_core:debug] [pid 9000] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:45167] AH01628: authorization result: granted (no directives)
[:notice] [pid 9000] mod_python: (Re)importing module 'tests'
[authz_core:debug] [pid 8999] mod_authz_core.c(802): [client xxx.xxx.xxx.xxx:43545] AH01626: authorization result of Require all granted: granted
[authz_core:debug] [pid 8999] mod_authz_core.c(802): [client xxx.xxx.xxx.xxx:43545] AH01626: authorization result of <RequireAny>: granted
[:notice] [pid 8999] mod_python: (Re)importing module 'tests'
[authz_core:debug] [pid 8998] mod_authz_core.c(802): [client xxx.xxx.xxx.xxx:32743] AH01626: authorization result of Require all granted: granted
[authz_core:debug] [pid 8998] mod_authz_core.c(802): [client xxx.xxx.xxx.xxx:32743] AH01626: authorization result of <RequireAny>: granted
[unixd:alert] [pid 9001] (2)No such file or directory: AH02155: getpwuid: couldn't determine user name from uid -1, you probably need to modify the User directive
[:notice] [pid 8998] mod_python: (Re)importing module 'tests'
[:error] [pid 9001] dummymodule / test_import
[:error] [pid 9001] dummymodule::function / test_import
[authz_core:debug] [pid 8995] mod_authz_core.c(802): [client xxx.xxx.xxx.xxx:15573] AH01626: authorization result of Require all granted: granted
[authz_core:debug] [pid 8995] mod_authz_core.c(802): [client xxx.xxx.xxx.xxx:15573] AH01626: authorization result of <RequireAny>: granted
[:notice] [pid 8995] mod_python: (Re)importing module 'tests'
[authz_core:debug] [pid 8997] mod_authz_core.c(802): [client xxx.xxx.xxx.xxx:46052] AH01626: authorization result of Require valid-user : denied (no authenticated user yet)
[authz_core:debug] [pid 8997] mod_authz_core.c(802): [client xxx.xxx.xxx.xxx:46052] AH01626: authorization result of <RequireAny>: denied (no authenticated user yet)
[:notice] [pid 8997] mod_python: (Re)importing module 'tests'
[authz_core:debug] [pid 8996] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:34259] AH01628: authorization result: granted (no directives)
[:notice] [pid 8996] mod_python: (Re)importing module 'tests'
[authz_core:debug] [pid 8996] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:34259] AH01628: authorization result: granted (no directives)
[authz_core:debug] [pid 9000] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:12720] AH01628: authorization result: granted (no directives)
[:notice] [pid 9000] mod_python: (Re)importing module 'tests'
[authz_core:debug] [pid 8999] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:48598] AH01628: authorization result: granted (no directives)
[:notice] [pid 8999] mod_python: (Re)importing module 'tests'
[authz_core:debug] [pid 9001] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:29826] AH01628: authorization result: granted (no directives)
[:notice] [pid 9001] mod_python: (Re)importing module 'tests'
[:error] [pid 9001] [client xxx.xxx.xxx.xxx:29826] PythonHandler tests::req_read: Traceback (most recent call last):
[:error] [pid 9001] [client xxx.xxx.xxx.xxx:29826] PythonHandler tests::req_read: File "/usr/local/lib/python2.7/site-packages/mod_python/apache.py", line 387, in HandlerDispatch\n result = object(req)
[:error] [pid 9001] [client xxx.xxx.xxx.xxx:29826] PythonHandler tests::req_read: File "/tmp/mod_py34/mod_py34_git/mod_python/test/htdocs/tests.py", line 787, in req_read\n s = req.read()
[:error] [pid 9001] [client xxx.xxx.xxx.xxx:29826] PythonHandler tests::req_read: IOError: Client read error (Timeout?)
[authz_core:debug] [pid 8998] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:30096] AH01628: authorization result: granted (no directives)
[:notice] [pid 8998] mod_python: (Re)importing module 'tests'
[authz_core:debug] [pid 8995] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:25432] AH01628: authorization result: granted (no directives)
[:notice] [pid 8995] mod_python: (Re)importing module 'tests'
[authz_core:debug] [pid 8997] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:24502] AH01628: authorization result: granted (no directives)
[:notice] [pid 8997] mod_python: (Re)importing module 'tests'
[authz_core:debug] [pid 9000] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:37132] AH01628: authorization result: granted (no directives)
[:notice] [pid 9000] mod_python: (Re)importing module 'tests'
[authz_core:debug] [pid 8996] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:61695] AH01628: authorization result: granted (no directives)
[:notice] [pid 8996] mod_python: (Re)importing module 'tests'
[authz_core:debug] [pid 8999] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:62738] AH01628: authorization result: granted (no directives)
[:notice] [pid 8999] mod_python: (Re)importing module 'tests'
[:error] [pid 8999] [client xxx.xxx.xxx.xxx:62738] req_register_cleanup test ok
[authz_core:debug] [pid 8998] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:36854] AH01628: authorization result: granted (no directives)
[:notice] [pid 8998] mod_python: (Re)importing module 'tests'
[authz_core:debug] [pid 8995] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:59053] AH01628: authorization result: granted (no directives)
[:notice] [pid 8995] mod_python: (Re)importing module 'tests'
[authz_core:debug] [pid 8997] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:24118] AH01628: authorization result: granted (no directives)
[:notice] [pid 8997] mod_python: (Re)importing module 'tests'
[authz_core:debug] [pid 9000] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:36127] AH01628: authorization result: granted (no directives)
[:notice] [pid 9000] mod_python: (Re)importing module 'tests'
[authz_core:debug] [pid 8996] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:19007] AH01628: authorization result: granted (no directives)
[:notice] [pid 8996] mod_python: (Re)importing module 'tests'
[authz_core:debug] [pid 8996] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:19007] AH01628: authorization result: granted (no directives)
[unixd:alert] [pid 9002] (2)No such file or directory: AH02155: getpwuid: couldn't determine user name from uid -1, you probably need to modify the User directive
[authz_core:debug] [pid 8999] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:53428] AH01628: authorization result: granted (no directives)
[:notice] [pid 8999] mod_python: (Re)importing module 'tests'
[authz_core:debug] [pid 8995] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:31819] AH01628: authorization result: granted (no directives)
[:notice] [pid 8995] mod_python: (Re)importing module 'tests'
[authz_core:debug] [pid 8997] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:52811] AH01628: authorization result: granted (no directives)
[:notice] [pid 8997] mod_python: (Re)importing module 'tests'
[authz_core:debug] [pid 8998] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:63394] AH01628: authorization result: granted (no directives)
[authz_core:debug] [pid 8996] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:49157] AH01628: authorization result: granted (no directives)
[:notice] [pid 8996] mod_python: (Re)importing module 'tests'
[:error] [pid 9002] dummymodule / test_import
[:error] [pid 9002] dummymodule::function / test_import
[authz_core:debug] [pid 8995] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:53225] AH01628: authorization result: granted (no directives)
[:notice] [pid 8995] mod_python: (Re)importing module 'tests'
[authz_core:debug] [pid 8999] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:10587] AH01628: authorization result: granted (no directives)
[:notice] [pid 8999] mod_python: (Re)importing module 'tests'
[authz_core:debug] [pid 8997] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:40896] AH01628: authorization result: granted (no directives)
[:notice] [pid 8997] mod_python: (Re)importing module 'tests'
[authz_core:debug] [pid 8996] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:41809] AH01628: authorization result: granted (no directives)
[:notice] [pid 8996] mod_python: (Re)importing module 'tests'
[authz_core:debug] [pid 8998] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:54104] AH01628: authorization result: granted (no directives)
[:notice] [pid 8998] mod_python: (Re)importing module 'tests'
[authz_core:debug] [pid 9002] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:36981] AH01628: authorization result: granted (no directives)
[:notice] [pid 9002] mod_python: (Re)importing module 'tests'
[authz_core:debug] [pid 8995] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:51206] AH01628: authorization result: granted (no directives)
[:notice] [pid 8995] mod_python: (Re)importing module 'tests'
[authz_core:debug] [pid 8999] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:39122] AH01628: authorization result: granted (no directives)
[:notice] [pid 8999] mod_python: (Re)importing module 'tests'
[authz_core:debug] [pid 8997] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:43794] AH01628: authorization result: granted (no directives)
[:notice] [pid 8997] mod_python: (Re)importing module 'tests'
[:notice] [pid 8996] mod_python: (Re)importing module 'tests'
[:error] [pid 8996] [client xxx.xxx.xxx.xxx:11046] postreadrequest
[:error] [pid 8996] [client xxx.xxx.xxx.xxx:11046] subprocess_env = {'TEST2': '"', 'TEST1': "'", 'REMOTE_PORT': '11046', 'SCRIPT_FILENAME': None, 'SERVER_ADMIN': '[no address given]', 'CONTEXT_DOCUMENT_ROOT': '/tmp/mod_py34/mod_py34_git/mod_python/test/htdocs', 'CONTEXT_PREFIX': '', 'REQUEST_SCHEME': 'http', 'DOCUMENT_ROOT': '/tmp/mod_py34/mod_py34_git/mod_python/test/htdocs', 'REMOTE_ADDR': 'xxx.xxx.xxx.xxx', 'SERVER_PORT': '61380', 'SERVER_ADDR': 'xxx.xxx.xxx.xxx', 'SERVER_NAME': 'test_postreadrequest', 'SERVER_SOFTWARE': 'Apache/2.4.6 (FreeBSD) mod_python/3.4.0-f0dcd6e Python/2.7.5', 'SERVER_SIGNATURE': '', 'PATH': '/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin', 'HTTP_HOST': 'test_postreadrequest:61380', 'HTTP_ACCEPT_ENCODING': 'identity'}
[:error] [pid 8996] [client xxx.xxx.xxx.xxx:11046] subprocess_env.values() = ['identity', 'test_postreadrequest:61380', '/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin', '', 'Apache/2.4.6 (FreeBSD) mod_python/3.4.0-f0dcd6e Python/2.7.5', 'test_postreadrequest', 'xxx.xxx.xxx.xxx', '61380', 'xxx.xxx.xxx.xxx', '/tmp/mod_py34/mod_py34_git/mod_python/test/htdocs', 'http', '', '/tmp/mod_py34/mod_py34_git/mod_python/test/htdocs', '[no address given]', None, '11046', "'", '"']
[:error] [pid 8996] [client xxx.xxx.xxx.xxx:11046] VALUE = identity
[:error] [pid 8996] [client xxx.xxx.xxx.xxx:11046] VALUE = test_postreadrequest:61380
[:error] [pid 8996] [client xxx.xxx.xxx.xxx:11046] VALUE = /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
[:error] [pid 8996] [client xxx.xxx.xxx.xxx:11046] VALUE =
[:error] [pid 8996] [client xxx.xxx.xxx.xxx:11046] VALUE = Apache/2.4.6 (FreeBSD) mod_python/3.4.0-f0dcd6e Python/2.7.5
[:error] [pid 8996] [client xxx.xxx.xxx.xxx:11046] VALUE = test_postreadrequest
[:error] [pid 8996] [client xxx.xxx.xxx.xxx:11046] VALUE = xxx.xxx.xxx.xxx
[:error] [pid 8996] [client xxx.xxx.xxx.xxx:11046] VALUE = 61380
[:error] [pid 8996] [client xxx.xxx.xxx.xxx:11046] VALUE = xxx.xxx.xxx.xxx
[:error] [pid 8996] [client xxx.xxx.xxx.xxx:11046] VALUE = /tmp/mod_py34/mod_py34_git/mod_python/test/htdocs
[:error] [pid 8996] [client xxx.xxx.xxx.xxx:11046] VALUE = http
[:error] [pid 8996] [client xxx.xxx.xxx.xxx:11046] VALUE =
[:error] [pid 8996] [client xxx.xxx.xxx.xxx:11046] VALUE = /tmp/mod_py34/mod_py34_git/mod_python/test/htdocs
[:error] [pid 8996] [client xxx.xxx.xxx.xxx:11046] VALUE = [no address given]
[:error] [pid 8996] [client xxx.xxx.xxx.xxx:11046] VALUE = None
[:error] [pid 8996] [client xxx.xxx.xxx.xxx:11046] VALUE = 11046
[:error] [pid 8996] [client xxx.xxx.xxx.xxx:11046] VALUE = '
[:error] [pid 8996] [client xxx.xxx.xxx.xxx:11046] VALUE = "
[:error] [pid 8996] [client xxx.xxx.xxx.xxx:11046] ITEM = ('HTTP_ACCEPT_ENCODING', 'identity')
[:error] [pid 8996] [client xxx.xxx.xxx.xxx:11046] ITEM = ('HTTP_HOST', 'test_postreadrequest:61380')
[:error] [pid 8996] [client xxx.xxx.xxx.xxx:11046] ITEM = ('PATH', '/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin')
[:error] [pid 8996] [client xxx.xxx.xxx.xxx:11046] ITEM = ('SERVER_SIGNATURE', '')
[:error] [pid 8996] [client xxx.xxx.xxx.xxx:11046] ITEM = ('SERVER_SOFTWARE', 'Apache/2.4.6 (FreeBSD) mod_python/3.4.0-f0dcd6e Python/2.7.5')
[:error] [pid 8996] [client xxx.xxx.xxx.xxx:11046] ITEM = ('SERVER_NAME', 'test_postreadrequest')
[:error] [pid 8996] [client xxx.xxx.xxx.xxx:11046] ITEM = ('SERVER_ADDR', 'xxx.xxx.xxx.xxx')
[:error] [pid 8996] [client xxx.xxx.xxx.xxx:11046] ITEM = ('SERVER_PORT', '61380')
[:error] [pid 8996] [client xxx.xxx.xxx.xxx:11046] ITEM = ('REMOTE_ADDR', 'xxx.xxx.xxx.xxx')
[:error] [pid 8996] [client xxx.xxx.xxx.xxx:11046] ITEM = ('DOCUMENT_ROOT', '/tmp/mod_py34/mod_py34_git/mod_python/test/htdocs')
[:error] [pid 8996] [client xxx.xxx.xxx.xxx:11046] ITEM = ('REQUEST_SCHEME', 'http')
[:error] [pid 8996] [client xxx.xxx.xxx.xxx:11046] ITEM = ('CONTEXT_PREFIX', '')
[:error] [pid 8996] [client xxx.xxx.xxx.xxx:11046] ITEM = ('CONTEXT_DOCUMENT_ROOT', '/tmp/mod_py34/mod_py34_git/mod_python/test/htdocs')
[:error] [pid 8996] [client xxx.xxx.xxx.xxx:11046] ITEM = ('SERVER_ADMIN', '[no address given]')
[:error] [pid 8996] [client xxx.xxx.xxx.xxx:11046] ITEM = ('SCRIPT_FILENAME', None)
[:error] [pid 8996] [client xxx.xxx.xxx.xxx:11046] ITEM = ('REMOTE_PORT', '11046')
[:error] [pid 8996] [client xxx.xxx.xxx.xxx:11046] ITEM = ('TEST1', "'")
[:error] [pid 8996] [client xxx.xxx.xxx.xxx:11046] ITEM = ('TEST2', '"')
[:error] [pid 8996] [client xxx.xxx.xxx.xxx:11046] SCRIPT_FILENAME = None
[:error] [pid 8996] [client xxx.xxx.xxx.xxx:11046] SCRIPT_FILENAME = None
[:notice] [pid 8998] mod_python: (Re)importing module 'tests'
[authz_core:debug] [pid 8998] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:64428] AH01628: authorization result: granted (no directives)
[authz_core:debug] [pid 9002] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:24725] AH01628: authorization result: granted (no directives)
[:notice] [pid 9002] mod_python: (Re)importing module 'tests'
[authz_core:debug] [pid 8995] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:65218] AH01628: authorization result: granted (no directives)
[:notice] [pid 8995] mod_python: (Re)importing module 'tests'
[authz_core:debug] [pid 8999] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:56883] AH01628: authorization result: granted (no directives)
[:notice] [pid 8999] mod_python: (Re)importing module 'tests'
[authz_core:debug] [pid 8997] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:65253] AH01628: authorization result: granted (no directives)
[:notice] [pid 8997] mod_python: (Re)importing module 'tests'
[authz_core:debug] [pid 8996] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:10188] AH01628: authorization result: granted (no directives)
[:notice] [pid 8996] mod_python: (Re)importing module 'tests'
[authz_core:debug] [pid 8998] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:47637] AH01628: authorization result: granted (no directives)
[:notice] [pid 8998] mod_python: (Re)importing module 'mod_python.publisher'
[:notice] [pid 8998] [client xxx.xxx.xxx.xxx:47637] Publisher loading page /tmp/mod_py34/mod_py34_git/mod_python/test/htdocs/tests.py
[authz_core:debug] [pid 9002] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:58128] AH01628: authorization result: granted (no directives)
[:notice] [pid 9002] mod_python: (Re)importing module 'tests'
[authz_core:debug] [pid 8995] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:35583] AH01628: authorization result: granted (no directives)
[:notice] [pid 8995] mod_python: (Re)importing module 'mod_python.cgihandler'
[authz_core:debug] [pid 8999] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:28221] AH01628: authorization result: granted (no directives)
[:notice] [pid 8999] mod_python: (Re)importing module 'mod_python.psp'
[authz_core:debug] [pid 8997] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:58431] AH01628: authorization result: granted (no directives)
[:notice] [pid 8997] mod_python: (Re)importing module 'mod_python.psp'
[authz_core:debug] [pid 8996] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:57332] AH01628: authorization result: granted (no directives)
[:notice] [pid 8996] mod_python: (Re)importing module 'mod_python.psp'
[:warn] [pid 8996] [client xxx.xxx.xxx.xxx:57332] mod_python: conn.remote_ip deprecated in 2.4, use req.useragent_ip or conn.client_ip
[authz_core:debug] [pid 8998] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:44038] AH01628: authorization result: granted (no directives)
[:notice] [pid 8998] mod_python: (Re)importing module 'tests'
[authz_core:debug] [pid 9002] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:25173] AH01628: authorization result: granted (no directives)
[:notice] [pid 9002] mod_python: (Re)importing module 'tests'
[authz_core:debug] [pid 8995] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:57413] AH01628: authorization result: granted (no directives)
[:notice] [pid 8995] mod_python: (Re)importing module 'tests'
[authz_core:debug] [pid 8999] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:54245] AH01628: authorization result: granted (no directives)
[:notice] [pid 8999] mod_python: (Re)importing module 'tests'
[:warn] [pid 8999] [client xxx.xxx.xxx.xxx:54245] mod_python: conn.remote_ip deprecated in 2.4, use req.useragent_ip or conn.client_ip
[authz_core:debug] [pid 8997] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:41538] AH01628: authorization result: granted (no directives)
[:notice] [pid 8997] mod_python: (Re)importing module 'tests'
[authz_core:debug] [pid 8996] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:27032] AH01628: authorization result: granted (no directives)
[:notice] [pid 8996] mod_python: (Re)importing module 'tests'
[:warn] [pid 8996] [client xxx.xxx.xxx.xxx:27032] mod_python: conn.remote_ip deprecated in 2.4, use req.useragent_ip or conn.client_ip
[authz_core:debug] [pid 8998] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:60228] AH01628: authorization result: granted (no directives)
[:notice] [pid 8998] mod_python: (Re)importing module 'tests'
[:warn] [pid 8998] [client xxx.xxx.xxx.xxx:60228] mod_python: conn.remote_ip deprecated in 2.4, use req.useragent_ip or conn.client_ip
[authz_core:debug] [pid 9002] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:26014] AH01628: authorization result: granted (no directives)
[:notice] [pid 9002] mod_python: (Re)importing module 'tests'
[authz_core:debug] [pid 8995] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:33212] AH01628: authorization result: granted (no directives)
[authz_core:debug] [pid 8999] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:47766] AH01628: authorization result: granted (no directives)
[authz_core:debug] [pid 8999] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:47766] AH01628: authorization result: granted (no directives)
[:notice] [pid 8999] mod_python: (Re)importing module 'tests'
[authz_core:debug] [pid 8997] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:33467] AH01628: authorization result: granted (no directives)
[authz_core:debug] [pid 8996] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:48742] AH01628: authorization result: granted (no directives)
[:notice] [pid 8996] mod_python: (Re)importing module 'tests'
[authz_core:debug] [pid 8998] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:61794] AH01628: authorization result: granted (no directives)
[:notice] [pid 8998] mod_python: (Re)importing module 'tests'
[authz_core:debug] [pid 8998] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:61794] AH01628: authorization result: granted (no directives)
[authz_core:debug] [pid 9002] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:30318] AH01628: authorization result: granted (no directives)
[:notice] [pid 9002] mod_python: (Re)importing module 'tests'
[authz_core:debug] [pid 8995] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:20731] AH01628: authorization result: granted (no directives)
[:notice] [pid 8995] mod_python: (Re)importing module 'tests'
[authz_core:debug] [pid 8999] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:18448] AH01628: authorization result: granted (no directives)
[:notice] [pid 8999] mod_python: (Re)importing module 'tests'
[:error] [pid 8999] [client xxx.xxx.xxx.xxx:18448] PythonHandler tests::none_handler: Traceback (most recent call last):
[:error] [pid 8999] [client xxx.xxx.xxx.xxx:18448] PythonHandler tests::none_handler: File "/usr/local/lib/python2.7/site-packages/mod_python/apache.py", line 387, in HandlerDispatch\n result = object(req)
[:error] [pid 8999] [client xxx.xxx.xxx.xxx:18448] PythonHandler tests::none_handler: TypeError: 'NoneType' object is not callable
[authz_core:debug] [pid 8997] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:49002] AH01628: authorization result: granted (no directives)
[:notice] [pid 8997] mod_python: (Re)importing module 'tests'
[authz_core:debug] [pid 8996] mod_authz_core.c(802): [client xxx.xxx.xxx.xxx:52451] AH01626: authorization result of Require valid-user : denied (no authenticated user yet)
[authz_core:debug] [pid 8996] mod_authz_core.c(802): [client xxx.xxx.xxx.xxx:52451] AH01626: authorization result of <RequireAny>: denied (no authenticated user yet)
[:notice] [pid 8996] mod_python: (Re)importing module 'tests'
[:error] [pid 8996] phase_status_1
[:error] [pid 8996] phase_status_2
[:error] [pid 8996] phase_status_4
[:error] [pid 8996] phase_status_5
[:error] [pid 8996] phase_status_6
[:error] [pid 8996] phase_status_7
[:error] [pid 8996] phase_status_8
[:error] [pid 8996] phases = [1, 2, 5, 6, 7]
[authz_core:debug] [pid 8998] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:58114] AH01628: authorization result: granted (no directives)
[:notice] [pid 8998] mod_python: (Re)importing module 'mod_python.publisher'
[:notice] [pid 8998] [client xxx.xxx.xxx.xxx:58114] Publisher loading page /tmp/mod_py34/mod_py34_git/mod_python/test/htdocs/tests.py
[authz_core:debug] [pid 9002] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:26818] AH01628: authorization result: granted (no directives)
[:notice] [pid 9002] mod_python: (Re)importing module 'mod_python.publisher'
[:notice] [pid 9002] [client xxx.xxx.xxx.xxx:26818] Publisher loading page /tmp/mod_py34/mod_py34_git/mod_python/test/htdocs/tests.py
[authz_core:debug] [pid 8995] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:47087] AH01628: authorization result: granted (no directives)
[:notice] [pid 8995] mod_python: (Re)importing module 'mod_python.publisher'
[:notice] [pid 8995] [client xxx.xxx.xxx.xxx:47087] Publisher loading page /tmp/mod_py34/mod_py34_git/mod_python/test/htdocs/tests.py
[authz_core:debug] [pid 8999] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:47666] AH01628: authorization result: granted (no directives)
[authz_core:debug] [pid 8999] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:47666] AH01628: authorization result: granted (no directives)
[:notice] [pid 8999] mod_python: (Re)importing module 'mod_python.publisher'
[:notice] [pid 8999] [client xxx.xxx.xxx.xxx:47666] Publisher loading page /tmp/mod_py34/mod_py34_git/mod_python/test/htdocs/index.py
[authz_core:debug] [pid 8997] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:14961] AH01628: authorization result: granted (no directives)
[:notice] [pid 8997] mod_python: (Re)importing module 'mod_python.publisher'
[:notice] [pid 8997] [client xxx.xxx.xxx.xxx:14961] Publisher loading page /tmp/mod_py34/mod_py34_git/mod_python/test/htdocs/index.py
[authz_core:debug] [pid 8996] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:65314] AH01628: authorization result: granted (no directives)
[:notice] [pid 8996] mod_python: (Re)importing module 'mod_python.publisher'
[:notice] [pid 8996] [client xxx.xxx.xxx.xxx:65314] Publisher loading page /tmp/mod_py34/mod_py34_git/mod_python/test/htdocs/tests.py
[authz_core:debug] [pid 8998] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:46874] AH01628: authorization result: granted (no directives)
[:notice] [pid 8998] mod_python: (Re)importing module 'mod_python.publisher'
[:notice] [pid 8998] [client xxx.xxx.xxx.xxx:46874] Publisher loading page /tmp/mod_py34/mod_py34_git/mod_python/test/htdocs/tests.py
[authz_core:debug] [pid 9002] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:20671] AH01628: authorization result: granted (no directives)
[:notice] [pid 9002] mod_python: (Re)importing module 'mod_python.publisher'
[:notice] [pid 9002] [client xxx.xxx.xxx.xxx:20671] Publisher loading page /tmp/mod_py34/mod_py34_git/mod_python/test/htdocs/tests.py
[authz_core:debug] [pid 8995] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:53502] AH01628: authorization result: granted (no directives)
[:notice] [pid 8995] mod_python: (Re)importing module 'mod_python.publisher'
[:notice] [pid 8995] [client xxx.xxx.xxx.xxx:53502] Publisher loading page /tmp/mod_py34/mod_py34_git/mod_python/test/htdocs/tests.py
[authz_core:debug] [pid 8999] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:51427] AH01628: authorization result: granted (no directives)
[:notice] [pid 8999] [client xxx.xxx.xxx.xxx:51427] Publisher loading page /tmp/mod_py34/mod_py34_git/mod_python/test/htdocs/tests.py
[authz_core:debug] [pid 8997] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:59140] AH01628: authorization result: granted (no directives)
[:notice] [pid 8997] [client xxx.xxx.xxx.xxx:59140] Publisher loading page /tmp/mod_py34/mod_py34_git/mod_python/test/htdocs/tests.py
[authz_core:debug] [pid 8996] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:61809] AH01628: authorization result: granted (no directives)
[authz_core:debug] [pid 8998] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:18366] AH01628: authorization result: granted (no directives)
[authz_core:debug] [pid 9002] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:42759] AH01628: authorization result: granted (no directives)
[:warn] [pid 9002] [client xxx.xxx.xxx.xxx:42759] Cannot traverse _SECRET_PASSWORD in /tests.py/_SECRET_PASSWORD because it starts with an underscore
[authz_core:debug] [pid 8995] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:44497] AH01628: authorization result: granted (no directives)
[:warn] [pid 8995] [client xxx.xxx.xxx.xxx:44497] Cannot traverse __ANSWER in /tests.py/__ANSWER because it starts with an underscore
[authz_core:debug] [pid 8999] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:15846] AH01628: authorization result: granted (no directives)
[:warn] [pid 8999] [client xxx.xxx.xxx.xxx:15846] Cannot publish re in /tests.py/re because <module 're' from '/usr/local/lib/python2.7/re.pyc'> is not publishable
[authz_core:debug] [pid 8997] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:32932] AH01628: authorization result: granted (no directives)
[:warn] [pid 8997] [client xxx.xxx.xxx.xxx:32932] Cannot publish OldStyleClassTest in /tests.py/OldStyleClassTest because _tmp_mod_py34_mod_py34_git_mod_python_test_htdocs_tests_py.OldStyleClassTest is not publishable
[authz_core:debug] [pid 8996] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:17140] AH01628: authorization result: granted (no directives)
[:warn] [pid 8996] [client xxx.xxx.xxx.xxx:17140] Cannot publish InstanceTest in /tests.py/InstanceTest because <class '_tmp_mod_py34_mod_py34_git_mod_python_test_htdocs_tests_py.InstanceTest'> is not publishable
[authz_core:debug] [pid 8998] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:43760] AH01628: authorization result: granted (no directives)
[:warn] [pid 8998] [client xxx.xxx.xxx.xxx:43760] Cannot traverse func_code in /tests.py/index/func_code because <function index at 0x2a628454> is not a traversable object
[authz_core:debug] [pid 9002] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:16321] AH01628: authorization result: granted (no directives)
[:warn] [pid 9002] [client xxx.xxx.xxx.xxx:16321] Cannot traverse func_code in /tests.py/old_instance/traverse/func_code because <bound method OldStyleClassTest.traverse of <_tmp_mod_py34_mod_py34_git_mod_python_test_htdocs_tests_py.OldStyleClassTest instance at 0x29cbd16c>> is not a traversable object
[authz_core:debug] [pid 8995] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:27621] AH01628: authorization result: granted (no directives)
[:warn] [pid 8995] [client xxx.xxx.xxx.xxx:27621] Cannot traverse func_code in /tests.py/instance/traverse/func_code because <bound method InstanceTest.traverse of <_tmp_mod_py34_mod_py34_git_mod_python_test_htdocs_tests_py.InstanceTest object at 0x2a68d6ec>> is not a traversable object
[authz_core:debug] [pid 8999] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:22944] AH01628: authorization result: granted (no directives)
[:warn] [pid 8999] [client xxx.xxx.xxx.xxx:22944] Cannot traverse keys in /tests.py/test_dict/keys because {1: 1, 2: 2, 3: 3} is not a traversable object
[authz_core:debug] [pid 8997] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:31982] AH01628: authorization result: granted (no directives)
[:warn] [pid 8997] [client xxx.xxx.xxx.xxx:31982] Cannot publish test_dict_keys in /tests.py/test_dict_keys because <built-in method keys of dict object at 0x2a586acc> is not publishable
[authz_core:debug] [pid 8996] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:36860] AH01628: authorization result: granted (no directives)
[:notice] [pid 8996] mod_python: (Re)importing module 'mod_python.publisher'
[:notice] [pid 8996] [client xxx.xxx.xxx.xxx:36860] Publisher loading page /tmp/mod_py34/mod_py34_git/mod_python/test/htdocs/tests.py
[authz_core:debug] [pid 8998] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:40600] AH01628: authorization result: granted (no directives)
[:notice] [pid 8998] mod_python: (Re)importing module 'mod_python.publisher'
[:notice] [pid 8998] [client xxx.xxx.xxx.xxx:40600] Publisher loading page /tmp/mod_py34/mod_py34_git/mod_python/test/htdocs/tests.py
[authz_core:debug] [pid 9002] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:53874] AH01628: authorization result: granted (no directives)
[:notice] [pid 9002] mod_python: (Re)importing module 'mod_python.publisher'
[:notice] [pid 9002] [client xxx.xxx.xxx.xxx:53874] Publisher loading page /tmp/mod_py34/mod_py34_git/mod_python/test/htdocs/tests.py
[authz_core:debug] [pid 8995] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:23828] AH01628: authorization result: granted (no directives)
[:notice] [pid 8995] mod_python: (Re)importing module 'mod_python.publisher'
[:notice] [pid 8995] [client xxx.xxx.xxx.xxx:23828] Publisher loading page /tmp/mod_py34/mod_py34_git/mod_python/test/htdocs/tests.py
[authz_core:debug] [pid 8999] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:23829] AH01628: authorization result: granted (no directives)
[:notice] [pid 8999] mod_python: (Re)importing module 'mod_python.publisher'
[:notice] [pid 8999] [client xxx.xxx.xxx.xxx:23829] Publisher loading page /tmp/mod_py34/mod_py34_git/mod_python/test/htdocs/tests.py
[authz_core:debug] [pid 8997] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:23830] AH01628: authorization result: granted (no directives)
[:notice] [pid 8997] mod_python: (Re)importing module 'mod_python.publisher'
[:notice] [pid 8997] [client xxx.xxx.xxx.xxx:23830] Publisher loading page /tmp/mod_py34/mod_py34_git/mod_python/test/htdocs/tests.py
[authz_core:debug] [pid 8996] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:23831] AH01628: authorization result: granted (no directives)
[authz_core:debug] [pid 8998] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:23832] AH01628: authorization result: granted (no directives)
[:notice] [pid 8998] mod_python: (Re)importing module 'tests'
[authz_core:debug] [pid 9002] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:23833] AH01628: authorization result: granted (no directives)
[:notice] [pid 9002] mod_python: (Re)importing module 'mod_python.wsgi'
[:notice] [pid 9002] mod_python: (Re)importing module 'wsgitest'
[authz_core:debug] [pid 8995] mod_authz_core.c(828): [client xxx.xxx.xxx.xxx:23834] AH01628: authorization result: granted (no directives)
[:notice] [pid 8995] mod_python: (Re)importing module 'tests'
[:info] [pid 8995] Testing apache.log_error():
[:error] [pid 8995] xEMERGx
[:alert] [pid 8995] xALERTx
[:crit] [pid 8995] xCRITx
[:error] [pid 8995] xERRx
[:warn] [pid 8995] xWARNINGx
[:notice] [pid 8995] xNOTICEx
[:info] [pid 8995] xINFOx
[:debug] [pid 8995] _apachemodule.c(65): xDEBUGx
[:error] [pid 8995] xEMERGx
[:alert] [pid 8995] xALERTx
[:crit] [pid 8995] xCRITx
[:error] [pid 8995] xERRx
[:warn] [pid 8995] xWARNINGx
[:notice] [pid 8995] xNOTICEx
[:info] [pid 8995] xINFOx
[:debug] [pid 8995] serverobject.c(103): xDEBUGx
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] xEMERGx
[:alert] [pid 8995] [client xxx.xxx.xxx.xxx:23834] xALERTx
[:crit] [pid 8995] [client xxx.xxx.xxx.xxx:23834] xCRITx
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] xERRx
[:warn] [pid 8995] [client xxx.xxx.xxx.xxx:23834] xWARNINGx
[:notice] [pid 8995] [client xxx.xxx.xxx.xxx:23834] xNOTICEx
[:info] [pid 8995] [client xxx.xxx.xxx.xxx:23834] xINFOx
[:debug] [pid 8995] connobject.c(76): [client xxx.xxx.xxx.xxx:23834] xDEBUGx
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] Testing table object.
[:error] [pid 8995] starting _test_table
[:error] [pid 8995] table.clear()
[:error] [pid 8995] table.update()
[:error] [pid 8995] table.copy()
[:error] [pid 8995] table.get()
[:error] [pid 8995] table.setdefault()
[:error] [pid 8995] table.popitem()
[:error] [pid 8995] for k in table
[:error] [pid 8995] _test_table test finished
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] inheritance
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] table.add()
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] Table test DONE.
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] Testing req.add_common_vars().
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] Testing req.add_cgi_vars().
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] Examining request memebers:
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.connection: <mp_conn object at 0x2ab98770>
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.server: '<mp_server object at 0x2ab98620>'
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.next: 'None'
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.prev: 'None'
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.main: 'None'
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.the_request: 'GET /tests.py HTTP/1.1'
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.assbackwards: 0
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.proxyreq: 0
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.header_only: 0
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.protocol: 'HTTP/1.1'
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.proto_num: 1001
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.hostname: 'test_internal'
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.request_time: 1380479946.2902288
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.status_line: None
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.status: 200
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.method: 'GET'
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.method_number: 0
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.allowed: 0
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.allowed_xmethods: ()
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.allowed_methods: ()
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.sent_bodyct: 0L
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.bytes_sent: 0L
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] writing 4 bytes...
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.bytes_sent: 4L
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.mtime: 0.0
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.chunked: 1
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.range: None
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.clength: 0L
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] calling req.set_content_length(15)...
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.clength: 15L
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.remaining: 0L
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.read_length: 0L
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.read_body: 0
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.read_chunked: 0
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.expecting_100: 0
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.headers_in: {'Host': 'test_internal:61380', 'Accept-Encoding': 'identity'}
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.headers_out: {'Content-Length': '15', 'Transfer-Encoding': 'chunked'}
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.subprocess_env: {'SCRIPT_NAME': '/tests.py', 'REQUEST_URI': '/tests.py', 'QUERY_STRING': '', 'REQUEST_METHOD': 'GET', 'SERVER_PROTOCOL': 'HTTP/1.1', 'GATEWAY_INTERFACE': 'CGI/1.1', 'REMOTE_PORT': '23834', 'SCRIPT_FILENAME': '/tmp/mod_py34/mod_py34_git/mod_python/test/htdocs/tests.py', 'SERVER_ADMIN': 'serveradmin@somewhere.com', 'CONTEXT_DOCUMENT_ROOT': '/tmp/mod_py34/mod_py34_git/mod_python/test/htdocs', 'CONTEXT_PREFIX': '', 'REQUEST_SCHEME': 'http', 'DOCUMENT_ROOT': '/tmp/mod_py34/mod_py34_git/mod_python/test/htdocs', 'REMOTE_ADDR': 'xxx.xxx.xxx.xxx', 'SERVER_PORT': '61380', 'SERVER_ADDR': 'xxx.xxx.xxx.xxx', 'SERVER_NAME': 'test_internal', 'SERVER_SOFTWARE': 'Apache/2.4.6 (FreeBSD) mod_python/3.4.0-f0dcd6e Python/2.7.5', 'SERVER_SIGNATURE': '', 'PATH': '/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin', 'HTTP_HOST': 'test_internal:61380', 'HTTP_ACCEPT_ENCODING': 'identity'}
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.notes: {'python_init_ran': '1'}
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] doing req.notes['testing'] = '123' ...
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.notes: {'testing': '123', 'python_init_ran': '1'}
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.phase: 'PythonHandler'
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.interpreter: 'test_internal'
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.content_type: None
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] doing req.content_type = 'test/123' ...
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.content_type: 'test/123'
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.handler: 'mod_python'
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.content_encoding: None
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.content_languages: ()
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.vlist_validator: None
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.user: None
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.ap_auth_type: None
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.no_cache: 0
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.no_local_copy: 0
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.unparsed_uri: '/tests.py'
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.uri: '/tests.py'
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.filename: '/tmp/mod_py34/mod_py34_git/mod_python/test/htdocs/tests.py'
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.canonical_filename: '/tmp/mod_py34/mod_py34_git/mod_python/test/htdocs/tests.py'
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.path_info: ''
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.args: None
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.finfo: {'fname': '/tmp/mod_py34/mod_py34_git/mod_python/test/htdocs/tests.py', 'filetype': 1, 'valid': 7598960, 'protection': 1604, 'user': 0, 'group': 0, 'size': 49205L, 'inode': 1178309, 'device': 117505800, 'nlink': 1, 'atime': 1380479946, 'mtime': 1380476905, 'ctime': 1380476905, 'name': None}
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.parsed_uri: (None, None, None, None, None, 61380, '/tests.py', None, None)
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.used_path_info: 2
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.eos_sent: 0
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.useragent_ip: 'xxx.xxx.xxx.xxx'
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.get_config(): {'PythonDebug': '1', 'PythonPath': "[r'/tmp/mod_py34/mod_py34_git/mod_python/test/htdocs']+sys.path"}
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.get_options(): {'testing': '123', 'PythonOptionTest': ''}
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.get_get_remote_host(): None
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] req.get_get_remote_host(): 'xxx.xxx.xxx.xxx'
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] Examining server memebers:
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] server.defn_name: '/tmp/mod_py34/mod_py34_git/mod_python/test/conf/test.conf'
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] server.defn_line_number: 732
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] server.server_admin: 'serveradmin@somewhere.com'
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] server.server_hostname: 'test_internal'
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] server.port: 0
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] server.error_fname: 'logs/error_log'
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] server.loglevel: 7
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] server.is_virtual: 1
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] server.timeout: 5.0
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] server.keep_alive_timeout: 15.0
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] server.keep_alive_max: 100
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] server.keep_alive: 1
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] server.path: 'some/path'
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] server.pathlen: 9
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] server.limit_req_line: 8190
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] server.limit_req_fieldsize: 8190
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] server.limit_req_fields: 100
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] server.names: ()
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] server.wild_names: ()
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] Examining connection memebers:
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] connection.base_server: <mp_server object at 0x2abd1f98>
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] connection.local_addr: ('xxx.xxx.xxx.xxx', 61380)
[:error] [pid 8995] [client xxx.xxx.xxx.xxx:23834] ....F.F.F\n======================================================================\nFAIL: test_req_members (tests.SimpleTestCase)\n-----------------------------------------------------------------------------------------\nRan 9 tests in 0.048s\n\nFAILED (failures=3)\n
[core:info] [pid 8994] AH00096: removed PID file /tmp/mod_py34/mod_py34_git/mod_python/test/logs/httpd.pid (pid=8994)
[mpm_prefork:notice] [pid 8994] AH00169: caught SIGTERM, shutting down
Sorry, that I cannot compact that.
Kind regards, MrK
@MrK-git I'm kinda puzzled myself - the log file doesn't contain a failure, yet it's saying tests failed....
So I tried to replicate your set up, and for me all tests pass:
mod_python: 3.4.0-f0dcd6e
'/usr/local/apache2/modules/mod_python.so'
python: 2.7.5 (default, Sep 30 2013, 21:38:29) [GCC 4.2.2 20070831 prerelease [FreeBSD]]
'/usr/local/bin/python'
httpd: 2.4.6
'/usr/local/apache2/bin/httpd'
apr: 1.4.5
platform: FreeBSD-8.3-RELEASE-i386-32bit-ELF
----------------------------------------------------------------------
Ran 69 tests in 11.548s
OK
Stopping Apache...
/usr/local/apache2/bin/httpd -k stop -f /usr/home/grisha/src/mod_python/test/conf/test.conf
.
----------------------------------------------------------------------
Ran 7 tests in 42.837s
I did have a bit of a problem compiling mod_python, which was more of a Python on FreeBSD problem, I needed to use the following patch to Python (I didn't compile from ports, which probably takes care of this):
--- build_ext.py (revision 77388)
+++ build_ext.py (working copy)
@@ -280,7 +280,7 @@
# Python's library directory must be appended to library_dirs
sysconfig.get_config_var('Py_ENABLE_SHARED')
if ((sys.platform.startswith('linux') or sys.platform.startswith('gnu')
- or sys.platform.startswith('sunos'))
+ or sys.platform.startswith('sunos') or sys.platform.startswith('freebsd'))
and sysconfig.get_config_var('Py_ENABLE_SHARED')):
if sys.executable.startswith(os.path.join(sys.exec_prefix, "bin")):
# building third party extensions
Which I found on http://bugs.python.org/issue4366#msg198277
Python was compiled with:
./configure --enable-shared
make
sudo make install
Http:
./configure
make
sudo make install
mod_python:
./configure --with-apxs=/usr/local/apache2/bin/apxs --with-python=/usr/local/bin/python
The testing has uncovered a number of issues, a huge thanks to all who contributed!
I'm going to close this issue for now and see about upping the version number to 3.4.1 for the next release testing.
Anyone reading this can test and provide feedback as a comment. Your help is VERY much appreciated!
Instructions:
That's it!