From owner-freebsd-questions@FreeBSD.ORG Sun Jun 18 02:37:52 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 42FBD16A479 for ; Sun, 18 Jun 2006 02:37:52 +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 C069C43D48 for ; Sun, 18 Jun 2006 02:37:51 +0000 (GMT) (envelope-from joe@netmusician.org) Received: from localhost (localhost [127.0.0.1]) by netmusician.org (Postfix) with ESMTP id 382F57E8C5; Sat, 17 Jun 2006 22:37:50 -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 RuQbjqDJk0ti; Sat, 17 Jun 2006 22:37:49 -0400 (EDT) Received: from [192.168.0.3] (unknown [74.128.244.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by netmusician.org (Postfix) with ESMTP id 003827E8C4; Sat, 17 Jun 2006 22:37:48 -0400 (EDT) In-Reply-To: <44913391.7060906@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> <448FDE6B.4000703@dial.pipex.com> <38D0516F-2F6B-4700-9006-5A2D6034DC0C@netmusician.org> <449042EF.9040905@dial.pipex.com> <4680C6D4-50F9-4441-8B54-924092A1A3AD@netmusician.org> <44913391.7060906@dial.pipex.com> Mime-Version: 1.0 (Apple Message framework v750) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <7B276387-F946-4FEC-81D1-8CF9B95808E2@netmusician.org> Content-Transfer-Encoding: 7bit From: Joe Auty Date: Sat, 17 Jun 2006 22:37:51 -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: Sun, 18 Jun 2006 02:37:52 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Jun 15, 2006, at 6:16 AM, Alex Zbyslaw wrote: > Joe Auty wrote: > >> >> On Jun 14, 2006, at 1:10 PM, Alex Zbyslaw wrote: >> >>> >>> And one which may spew quite a lot. Cut it off if it gets to >>> printing help. >>> >>> $ python -v /usr/local/mailman/bin/qrunner >>> >> >> jauty# python -v /usr/local/mailman/bin/qrunner >> [...snip...] >> # /usr/local/lib/python2.4/getopt.pyc matches /usr/local/lib/ >> python2.4/getopt.py >> import getopt # precompiled from /usr/local/lib/python2.4/getopt.pyc >> # /usr/local/mailman/bin/paths.pyc matches /usr/local/mailman/bin/ >> paths.py >> import paths # precompiled from /usr/local/mailman/bin/paths.pyc >> [...snip...] > > OK, you just ran qrunner successfully without getting the error you > were getting earlier about getopt. Doesn't matter that all you got > was help, it found *everything* that it tried to import. > > I missed the start of this thread. How did you run qrunner to get > your earlier error and where did the error appear? I think you > said the rc script. If it's not too big can you post it? Or > compare it against your working mailman? > My Mailman rc script (exactly identical to the one on my working machine): . /etc/rc.subr name="mailman" rcvar=${name}_enable pidfile="/usr/local/mailman/data/master-qrunner.pid" load_rc_config $name : ${mailman_enable="NO"} start_cmd=${name}_start stop_cmd=${name}_stop extra_commands="reload" mailman_start() { /usr/local/mailman/bin/mailmanctl -s -q start } mailman_stop() { /usr/local/mailman/bin/mailmanctl -q stop } run_rc_command "$1" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (Darwin) iD8DBQFElLx/CgdfeCwsL5ERAkzKAJwICVvUmDpHBPCfcu11Zn+VBnhk/ACfSwLA SSkS0cFRTCvxrk56WceoZ8A= =WDJc -----END PGP SIGNATURE-----