From owner-freebsd-questions@FreeBSD.ORG Tue Jun 13 19:33:08 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 32FCF16A479 for ; Tue, 13 Jun 2006 19:33:08 +0000 (UTC) (envelope-from joe@netmusician.org) Received: from netmusician.org (netmusician.org [216.9.132.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id E1D0B43D76 for ; Tue, 13 Jun 2006 19:33:04 +0000 (GMT) (envelope-from joe@netmusician.org) Received: from localhost (localhost [127.0.0.1]) by netmusician.org (Postfix) with ESMTP id F2EAE7E8C6; Tue, 13 Jun 2006 15:33:01 -0400 (EDT) X-Virus-Scanned: by amavisd-new at netmusician.org Received: from netmusician.org ([127.0.0.1]) by localhost (jauty.suso.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JQcjXc13PWLN; Tue, 13 Jun 2006 15:33:01 -0400 (EDT) Received: from [156.56.12.213] (loony.uits.indiana.edu [156.56.12.213]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by netmusician.org (Postfix) with ESMTP id 70A457E8C4; Tue, 13 Jun 2006 15:33:01 -0400 (EDT) In-Reply-To: <44733B8B.6030404@dial.pipex.com> References: <9842C36E-C450-4282-9019-BA2DD3476684@netmusician.org> <2A55FF5E-F764-406A-BE0E-272246F425B5@netmusician.org> <448xoska3k.fsf@be-well.ilk.org> <44733B8B.6030404@dial.pipex.com> Mime-Version: 1.0 (Apple Message framework v750) Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-27-121278385" Message-Id: Content-Transfer-Encoding: 7bit From: Joe Auty Date: Tue, 13 Jun 2006 15:32:49 -0400 To: Alex Zbyslaw X-Pgp-Agent: GPGMail 1.1.2 (Tiger) X-Gpgmail-State: signed X-Mailer: Apple Mail (2.750) Cc: FreeBSD Questions Subject: Re: Python port problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jun 2006 19:33:08 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --Apple-Mail-27-121278385 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed On May 23, 2006, at 12:42 PM, Alex Zbyslaw wrote: > Lowell Gilbert wrote: > >> Joe Auty writes: >> >>> >>> $ python -c 'import sys; print sys.path' >>> ['', '/usr/local/lib/python24.zip', '/usr/local/lib/python2.4', '/ >>> usr/ local/lib/python2.4/plat-freebsd5', '/usr/local/lib/ >>> python2.4/lib- tk', '/usr/local/lib/python2.4/lib-dynload', '/usr/ >>> local/lib/ python2.4/site-packages'] >>> >>> >>> I don't have a /usr/local/bin/python in there. Is that my problem? >>> >> >> That's where the ports would install it, so that does sound like a >> problem. Look at "which python" and "pkg_info|grep python". >> > The executable /usr/local/bin/python has no business being in the > path for *modules*. This is not your problem. > > I have never used mailman so do not know how it picks up its > modules. It *might* install them into one of these directories on > the module patch, but more likely it just pushes its own directory > of modules onto this path when it runs, in which case the output > you have won't help. > > Have you tried simply re-installing mailman? Maybe you upgraded > python at some point after installing mailman and that is throwing > something. > Sorry for the delay in response here. This is still a problem for me, and I would still like this problem resolved. Yes, I've tried reinstalling both Python and Mailman, and upgraded to newer port revisions of Mailman which have been released since this message. I'm still getting the same error message when I go to start Mailman via its rc script: ... snip Traceback (most recent call last): : : No module named getopt File "/usr/local/mailman/bin/qrunner", line 76, in ? ImportErrorimport getopt No module named getopt: No module named getopt ImportErrorCould not find platform independent libraries Could not find platform dependent libraries Consider setting $PYTHONHOME to [:] 'import site' failed; use -v for traceback : No module named getopt Traceback (most recent call last): File "/usr/local/mailman/bin/qrunner", line 76, in ? import getopt ImportError: No module named getopt Any ideas here? ----------- Joe Auty NetMusician: web publishing software for musicians http://www.netmusician.org joe@netmusician.org --Apple-Mail-27-121278385 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (Darwin) iD8DBQFEjxLiCgdfeCwsL5ERAkyMAJwJWifAYu2olAERnStklpIR19mYnwCfcLh/ Tb4a4lxik5l2UtD1073iPgQ= =jyIk -----END PGP SIGNATURE----- --Apple-Mail-27-121278385--