Dan Mahoney, System Admin wrote:
>
>Jan 07 21:05:47 2009 (69945) Uncaught runner exception: 'NoneType' object
>has no attribute 'lower'
>Jan 07 21:05:47 2009 (69945) Traceback (most recent call last):
> File "/usr/local/mailman/Mailman/Queue/Runner.py", line 114, in _oneloop
> self._onefile(msg, msgdata)
> File "/usr/local/mailman/Mailman/Queue/Runner.py", line 185, in _onefile
> keepqueued = self._dispose(mlist, msg, msgdata)
> File "/usr/local/mailman/Mailman/Queue/CommandRunner.py", line 241, in
>_dispose
> res.do_command('join')
> File "/usr/local/mailman/Mailman/Queue/CommandRunner.py", line 139, in
>do_command
> return handler.process(self, args)
> File "/usr/local/mailman/Mailman/Commands/cmd_subscribe.py", line 74, in
>process
> if digest is None and password.lower() in ('digest', 'nodigest'):
>AttributeError: 'NoneType' object has no attribute 'lower'
>
>Known bug?
Yes, it is a known bug, introduced in 2.1.10 and fixed in 2.1.11. I had
a fleeting thought about that when replying previously, but neglected
to mention it.
The attached cmd_subscribe.patch.txt will fix it.
--
Mark Sapiro <[email protected]> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
=== modified file 'Mailman/Commands/cmd_subscribe.py'
--- Mailman/Commands/cmd_subscribe.py 2008-03-20 03:07:51 +0000
+++ Mailman/Commands/cmd_subscribe.py 2008-04-23 14:32:48 +0000
@@ -71,7 +71,8 @@
return STOP
argnum += 1
# Fix the password/digest issue
- if digest is None and password.lower() in ('digest', 'nodigest'):
+ if (digest is None
+ and password and password.lower() in ('digest', 'nodigest')):
if password.lower() == 'digest':
digest = 1
else:
------------------------------------------------------
Mailman-Users mailing list
[email protected]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe:
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Security Policy: http://wiki.list.org/x/QIA9