From owner-freebsd-python@FreeBSD.ORG Wed Jun 2 11:47:05 2004 Return-Path: Delivered-To: freebsd-python@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6AEA816A4CE for ; Wed, 2 Jun 2004 11:47:05 -0700 (PDT) Received: from ararat.rokomworldwide.com (64.83.41.72.dsl72-bus-nova.cavtel.net [64.83.41.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id E167A43D1F for ; Wed, 2 Jun 2004 11:47:04 -0700 (PDT) (envelope-from reed@intersiege.com) Received: from ASSP-nospam (localhost.rokomworldwide.com [127.0.0.1]) by ararat.rokomworldwide.com (Postfix) with ESMTP id 4829C5D32 for ; Wed, 2 Jun 2004 14:47:12 -0400 (EDT) Received: from 192.168.1.107 ([192.168.1.107] helo=[192.168.1.107]) by ASSP-nospam ; 2 Jun 04 18:47:12 -0000 Message-ID: <40BE20A5.10402@intersiege.com> Date: Wed, 02 Jun 2004 14:47:01 -0400 From: "Reed L. O'Brien" User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-python@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: I would like to help chase down this problem X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2004 18:47:05 -0000 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