[Mailman-Users] Need some help decoding this error code

Jim Tittsler jwt at OnJapan.net
Mon Dec 13 13:30:39 CET 2004

On Mon, Dec 13, 2004 at 12:52:22AM -0800, DJ Freak wrote:
> isolate this error code which is revealing the problem but I'm just not 
> sure what problem it's pointing to:
> Dec 13 00:31:03 2004 (24653) Traceback (most recent call last):
>   File "/Users/mailman/Mailman/Queue/Runner.py", line 111, in _oneloop
>     self._onefile(msg, msgdata)
>   File "/Users/mailman/Mailman/ListAdmin.py", line 113, in __nextid
>     while True:
> NameError: global name 'True' is not defined

At the top of your Mailman/ListAdmin.py (just after the NL =
'\n' line for example), add:

    True, False
except NameError:
    True = 1
    False = 0

to fix this for your old version of Python.  Or replace your
ListAdmin.py with the one from CVS which also fixes another
problem you will no doubt run into soon.  :-)

Jim Tittsler             http://www.OnJapan.net/      GPG: 0x01159DB6
Python Starship          http://Starship.Python.net/
Ringo MUG Tokyo          http://www.ringo.net/rss.html

More information about the Mailman-Users mailing list