Date: Sat, 17 Jun 2006 22:37:51 -0400 From: Joe Auty <joe@netmusician.org> To: Alex Zbyslaw <xfb52@dial.pipex.com> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: Python port problems Message-ID: <7B276387-F946-4FEC-81D1-8CF9B95808E2@netmusician.org> In-Reply-To: <44913391.7060906@dial.pipex.com> References: <9842C36E-C450-4282-9019-BA2DD3476684@netmusician.org> <fb6605670605221727h719579a2gdeae84452036f6e8@mail.gmail.com> <2A55FF5E-F764-406A-BE0E-272246F425B5@netmusician.org> <448xoska3k.fsf@be-well.ilk.org> <44733B8B.6030404@dial.pipex.com> <B766BA83-CF9A-404C-B8AB-3F9BF4D7180C@netmusician.org> <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>
next in thread | previous in thread | raw e-mail | index | archive | help
-----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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7B276387-F946-4FEC-81D1-8CF9B95808E2>