From owner-freebsd-questions@FreeBSD.ORG Wed Jun 14 20:56:04 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 7F98C16A479 for ; Wed, 14 Jun 2006 20:56:04 +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 E880F43D5A for ; Wed, 14 Jun 2006 20:55:55 +0000 (GMT) (envelope-from joe@netmusician.org) Received: from localhost (localhost [127.0.0.1]) by netmusician.org (Postfix) with ESMTP id 0C7387E8C7; Wed, 14 Jun 2006 16:55:55 -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 icZTM23VGW9P; Wed, 14 Jun 2006 16:55:54 -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 645497E8C4; Wed, 14 Jun 2006 16:55:54 -0400 (EDT) In-Reply-To: References: Mime-Version: 1.0 (Apple Message framework v750) X-Priority: 3 (Normal) Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-39-212649273" Message-Id: <8D0C80E0-7B59-4C58-9DD9-13BC9CD76B47@netmusician.org> Content-Transfer-Encoding: 7bit From: Joe Auty Date: Wed, 14 Jun 2006 16:55:40 -0400 To: X-Pgp-Agent: GPGMail 1.1.2 (Tiger) X-Gpgmail-State: signed X-Mailer: Apple Mail (2.750) Cc: FreeBSD Questions , Alex Zbyslaw 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: Wed, 14 Jun 2006 20:56:04 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --Apple-Mail-39-212649273 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed I did do my usual portsnap update before my reinstallation, and have reinstalled both ports several times... On Jun 14, 2006, at 3:36 PM, fbsd wrote: > Try reloading the cvs base for changes / updates before reinstalling > both Python and Mailman. > > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Joe Auty > Sent: Wednesday, June 14, 2006 12:11 PM > To: Alex Zbyslaw > Cc: FreeBSD Questions > Subject: Re: Python port problems > > > > On Jun 14, 2006, at 6:01 AM, Alex Zbyslaw wrote: > >> Joe Auty wrote: >> >>> >>> 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 >> >> Honestly, this looks like a screwed python install or some screw > up >> when mailman compiled. Can you do a few basic info things? >> > > Sure, happy to do so! > >> which python >> > > /usr/local/bin/python > >> whereis python >> > > python: /usr/local/bin/python /usr/local/man/man1/python.1.gz /usr/ > ports/lang/python > >> python >> # and to the command interpreter type >> import getopt >> # and exit with ^D (control D) > > > # python > Python 2.4.3 (#2, Jun 13 2006, 21:29:49) > [GCC 3.4.2 [FreeBSD] 20040728] on freebsd5 > Type "help", "copyright", "credits" or "license" for more > information. >>>> import getopt >>>> > > (I'm assuming this means no issues here) > > >> egrep -i -A 2 -B 2 python /usr/local/etc/pkgtools.conf > /etc/make.conf >> > > # egrep -i -A 2 -B 2 python /usr/local/etc/pkgtools.conf > /etc/make.conf > /usr/local/etc/pkgtools.conf- # 'perl', > /usr/local/etc/pkgtools.conf- # 'ruby', > /usr/local/etc/pkgtools.conf: # 'python', > /usr/local/etc/pkgtools.conf- # ] > /usr/local/etc/pkgtools.conf- # > > >> egrep -i -A 2 -B 2 mailman /usr/local/etc/pkgtools.conf > /etc/make.conf >> > > # egrep -i -A 2 -B 2 mailman /usr/local/etc/pkgtools.conf > /etc/make.conf > /usr/local/etc/pkgtools.conf- 'security/clamav' => 'CLAMAVUSER? > =vscan CLAMAVGROUP?=vscan', > /usr/local/etc/pkgtools.conf- 'www/MT' => '-DWITH_MYSQL', > /usr/local/etc/pkgtools.conf: 'mail/mailman' => > 'MAIL_GID=mailman' > /usr/local/etc/pkgtools.conf- } > /usr/local/etc/pkgtools.conf- > > > >> head -5 /usr/local/mailman/bin/qrunner >> > > # head -5 /usr/local/mailman/bin/qrunner > #! /usr/local/bin/python > > # Copyright (C) 2001-2006 by the Free Software Foundation, Inc. > # > # This program is free software; you can redistribute it and/or > > > > >> --Alex >> >> >> >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions- >> unsubscribe@freebsd.org" > > --Apple-Mail-39-212649273 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) iD8DBQFEkHfNCgdfeCwsL5ERAv+vAJ9/5TyNXOL6D+39y0Ppq0OydbmplACfSfQm 5n8x8t2hlO5GGYSuL0dAIMc= =8+7l -----END PGP SIGNATURE----- --Apple-Mail-39-212649273--