[Mailman-Developers] command runner

Ron Jarrell jarrell@vt.edu
Thu, 15 Aug 2002 03:48:24 -0400


Sorry if this has been reported and I haven't noticed it; been way busy with a bunch of new hardware, and the frenetic rush to change the entire universe between semesters (school starts in just over a week) and so I've been skimming the list, rather than savoring each and every mouthful of pythony mailinglistingly goodness... :-)

Anyway, I just threw the current snapshot up on my machine, and it's fine, except someone tried to do a confirm, and
commandrunner threw an exception.  It's possible the subscription happened before the upgrade, and the confirm afterwards, but I haven't dug through the logs to see.

Aug 15 03:23:26 2002 (19680) Uncaught runner exception: 'NoneType' object has no attribute 'lstrip'
Aug 15 03:23:26 2002 (19680) Traceback (most recent call last):
  File "/home/mailman/Mailman/Queue/Runner.py", line 105, in _oneloop
    self._onefile(msg, msgdata)
  File "/home/mailman/Mailman/Queue/Runner.py", line 154, in _onefile
    keepqueued = self._dispose(mlist, msg, msgdata)
  File "/home/mailman/Mailman/Queue/CommandRunner.py", line 198, in _dispose
    res.process()
  File "/home/mailman/Mailman/Queue/CommandRunner.py", line 93, in process
    stop = self.do_command(cmd, args)
  File "/home/mailman/Mailman/Queue/CommandRunner.py", line 119, in do_command
    return handler.process(self, args)
  File "/home/mailman/Mailman/Commands/cmd_confirm.py", line 72, in process
    if line.lstrip() == match:
AttributeError: 'NoneType' object has no attribute 'lstrip'