Jorey,

This is possibly the same failure Nicolas is seeing on Windows. It could be I've made some incorrect assumptions on the default apache 2.2 configuration such that there is a problem with the test setup.

Could you send the output of
$ /usr/local/apache2/bin/httpd -l

Also dig around in test/logs/error_log and see if you can glean more information on the internal error, or just email me the log off list.

Thanks,
Jim


Jorey Bump wrote:
-1 Slackware 10.1, Apache 2.2.0 (mpm-prefork), Python 2.4

My applications are working, but make check produces these errors:

======================================================================
FAIL: test_req_auth_type (__main__.PerRequestTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test.py", line 673, in test_req_auth_type
    self.fail(`rsp`)
AssertionError: '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>500 Internal Server Error</title>\n</head><body>\n<h1>Internal Server Error</h1>\n<p>The server encountered an internal error or\nmisconfiguration and was unable to complete\nyour request.</p>\n<p>Please contact the server administrator,\n [no address given] and inform them of the time the error occurred,\nand anything you might have done that may have\ncaused the error.</p>\n<p>More information about this error may be available\nin the server error log.</p>\n</body></html>\n'

----------------------------------------------------------------------
Ran 60 tests in 231.452s

FAILED (failures=1)
F  Stopping Apache...
/usr/local/apache2/bin/httpd -k stop -f /home/jorey/src/mod_python-3.3.0-dev-20060321/test/conf/test.conf

======================================================================
FAIL: testPerRequestTests (__main__.PerInstanceTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test.py", line 2467, in testPerRequestTests
    self.failUnless(result.wasSuccessful())
AssertionError

----------------------------------------------------------------------

Jim Gallacher wrote:

mod_python-3.3.0-dev-20060321 is available for testing.

We are asking the mod_python development community for assistance in testing the current development branch. Hopefully this will allow us to catch new bugs or regressions early, and when we are ready for the next release the beta cycle will be much shorter.

This snapshot addresses 33 issues since 3.2.7 was released, including apache 2.2 support and the introduction of a new module importer.

The files are (temporarily) available here:

http://people.apache.org/~jgallacher/mod_python/dist/

Please download it, then do the usual

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

Then (as non-root user!)

$ make check

or if you prefer to run the tests the old way:

$ cd test
$ python test.py

Make a note of any failing tests.

If all the tests pass, give the new module importer a workout by uncommenting line 328 in test/test.py:

         #PythonOption('mod_python.future.importer *'),

and then re-run the tests.

$ make check

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




Reply via email to