From owner-freebsd-questions@FreeBSD.ORG Wed Jun 14 10:01:20 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 BDE0216A47C for ; Wed, 14 Jun 2006 10:01:20 +0000 (UTC) (envelope-from xfb52@dial.pipex.com) Received: from smtp-out5.blueyonder.co.uk (smtp-out5.blueyonder.co.uk [195.188.213.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id A319443D62 for ; Wed, 14 Jun 2006 10:01:17 +0000 (GMT) (envelope-from xfb52@dial.pipex.com) Received: from [172.23.170.137] (helo=anti-virus01-08) by smtp-out5.blueyonder.co.uk with smtp (Exim 4.52) id 1FqSBY-0007Sw-R2; Wed, 14 Jun 2006 11:01:16 +0100 Received: from [82.41.32.90] (helo=[192.168.0.2]) by asmtp-out4.blueyonder.co.uk with esmtp (Exim 4.52) id 1FqSBX-0004rL-Nm; Wed, 14 Jun 2006 11:01:15 +0100 Message-ID: <448FDE6B.4000703@dial.pipex.com> Date: Wed, 14 Jun 2006 11:01:15 +0100 From: Alex Zbyslaw User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-GB; rv:1.7.13) Gecko/20060515 X-Accept-Language: en MIME-Version: 1.0 To: Joe Auty 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> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: Wed, 14 Jun 2006 10:01:20 -0000 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? which python whereis python python # and to the command interpreter type import getopt # and exit with ^D (control D) egrep -i -A 2 -B 2 python /usr/local/etc/pkgtools.conf /etc/make.conf egrep -i -A 2 -B 2 mailman /usr/local/etc/pkgtools.conf /etc/make.conf head -5 /usr/local/mailman/bin/qrunner --Alex