Comment 16 for bug 266588

Revision history for this message
Phelim-gervase (phelim-gervase) wrote :

After installing patch 668685 for the HTDig integration into
Mailman 2.1.1, I started getting the following:

May 02 16:50:34 2003 (23484) Uncaught runner exception:
global name 'False' is not defined
May 02 16:50:34 2003 (23484) Traceback (most recent call last):
  File "/var/mailman2/Mailman/Queue/Runner.py", line 105, in
_oneloop
    self._onefile(msg, msgdata)
  File "/var/mailman2/Mailman/Queue/Runner.py", line 155, in
_onefile
    keepqueued = self._dispose(mlist, msg, msgdata)
  File "/var/mailman2/Mailman/Queue/IncomingRunner.py", line
130, in _dispose
    more = self._dopipeline(mlist, msg, msgdata, pipeline)
  File "/var/mailman2/Mailman/Queue/IncomingRunner.py", line
153, in _dopipeline
    sys.modules[modname].process(mlist, msg, msgdata)
  File "/var/mailman2/Mailman/Handlers/SpamAssassin.py",
line 75, in process
    score, symbols = check_message(mlist, str(msg))
  File "/var/mailman2/Mailman/Handlers/SpamAssassin.py",
line 57, in check_message
    connection = spamd.SpamdConnection(SPAMD_HOST)
  File "/var/mailman2/Mailman/Handlers/spamd.py", line 79,
in __init__
    self.request_headers =
mimetools.Message(StringIO.StringIO(), seekable=False)
NameError: global name 'False' is not defined

I corrected this by defining "False = 0" in spamd.py. I
don't know what the "real" solution should be though.