Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Jun 2004 14:47:01 -0400
From:      "Reed L. O'Brien" <reed@intersiege.com>
To:        freebsd-python@freebsd.org
Subject:   I would  like to help chase down this problem
Message-ID:  <40BE20A5.10402@intersiege.com>

next in thread | raw e-mail | index | archive | help

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


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40BE20A5.10402>