A short link to this page is https://wiki.list.org/x/4030600

Clear message

4.42. I installed/upgraded Mailman, but now I get the error "NameError: global name 'True' is not defined". What can I do?

See the thread including the message by Barry Warsaw at http://mail.python.org/pipermail/mailman-developers/2004-May/016889.html.

In short, Mailman 2.1.5 needs recent versions of Python to support it, specifically Python 2.3. If you're using RedHat or Debian-Stable versions of Linux, or Mac OS X 10.2 "Jaguar", you may need to install Python 2.3 from source.

For further details, see http://mail.python.org/pipermail/mailman-developers/2004-May/016903.html, http://mail.python.org/pipermail/mailman-developers/2004-May/016892.html, and http://mail.python.org/pipermail/mailman-developers/2004-May/016893.html.

Note that this is considered to be a bug in version 2.1.5. The version of Mailman 2.1.x currently in CVS has been fixed so that it should work with older versions of Python (including as old as Python 2.1), and this will be incorporated into the 2.1.6 release version. However, Python 2.3 (or later) is still strongly recommended.

See also the FAQ entry at What version of Python is required for Mailman 2.1.5 and 2.1.9 and 2.1.10 and 2.1.12?.

Converted from the Mailman FAQ Wizard

This is one of many Frequently Asked Questions.