I would like to help chase down this problem
Reed L. O'Brien
reed at intersiege.com
Wed Jun 2 18:47:05 GMT 2004
But I don't know how. If some one could point me at tasks I will gladly
do them.
Zope and Plone seem to work OK together threads in python as does Trac
and Subversion.
mod_python 3.1.3 though chokes with threads enabled
Mod_python error: "PythonHandler mod_python.servlet"
Traceback (most recent call last):
File "/usr/local/lib/python2.3/site-packages/mod_python/apache.py", line 287, in HandlerDispatch
log=debug)
File "/usr/local/lib/python2.3/site-packages/mod_python/apache.py", line 457, in import_module
module = imp.load_module(mname, f, p, d)
File "/usr/local/lib/python2.3/site-packages/mod_python/servlet.py", line 30, in ?
from mod_python import apache, util, Session, Cookie
File "/usr/local/lib/python2.3/site-packages/mod_python/Session.py", line 35, in ?
tempdir = tempfile.gettempdir()
File "/usr/local/lib/python2.3/tempfile.py", line 242, in gettempdir
tempdir = _get_default_tempdir()
File "/usr/local/lib/python2.3/tempfile.py", line 188, in _get_default_tempdir
raise IOError, (_errno.ENOENT,
IOError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/']
So if I recompile without threads and load mpservlets It fails on no
module pthread:
FreeBSD 5.2.1
Python 2.3.4
mod_python 3.1.3
mp servletsfrom http://home.comcast.net/~d.popowich/mpservlets
Do I need a www writable tmp file?
drwxrwxrwt 4 root wheel 4608 Jun 2 14:25 tmp
How can I test?
TIA
Reed L. O'Brien
4.6692016090
More information about the freebsd-python
mailing list