[Mailman-Users] I am a new Mailman user

Mark Sapiro msapiro at value.net
Thu Nov 4 20:31:44 CET 2004

Tim Litwiller wrote:

>judging by that :
> DEFAULT_URL = none
>Traceback (most recent call last):
>  File "<stdin>", line 1, in ?
>NameError: name 'none' is not defined
>should line 94 be set  to
>DEFAULT_URL = "none" as that doens't give an error

It looks to me as though it did give an error as it should

>NameError: name 'none' is not defined

If you just type


at the python prompt, it should give no error, but that isn't the
issue. The issue is whether or not there is any actual problem with
your Defaults.py or perhaps with Defaults.pyc (the compiled version).

Did you try actually cd to the Mailman directory, invoke python and
type "from Defaults import *" as I suggested. If you do that and it
gives no error, then there is no actual problem and no reason for the
original error you quoted.

If you do that and it gives the error, and you then remove Defaults.pyc
and try again and it is OK, then the problem was that Defaults.pyc was
corrupted and it is now fixed. If the error doesn't go away, then
there is some problem with that line in Defaults.py, but it didn't
seem so from your previous post.

Also, if this was only a single error occurrence, it will probably
remain a mystery, as normally, /opt/mailman/cron/gate_news is run by
cron every 5 minutes.

Mark Sapiro <msapiro at value.net>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

More information about the Mailman-Users mailing list