[mailman@async.com.br: cron: /usr/local/bin/python -S /home/mailman/cron/senddigests]
A set of bugs bit me today. Basically, the steps to get to this point were:
I created a mailing list.
I did *not* add the aliases.
I subscribed myself using the mail interface (digest off)
I received the confirmation email. When using the HTML link to confirm (since the aliases were not added yet, and I realized it), I got the error below.
When confirming it via reply (just after adding the aliases) I now always get the the invalid confirmation string message.
The HTML error:
Bug in Mailman version 2.1b5
We're sorry, we hit a bug!
If you would like to help us identify the problem, please email a copy
of this page to the webmaster for this site with a description of what
happened. Thanks!
Traceback:
Traceback (most recent call last):
File "/home/mailman/scripts/driver", line 87, in run_main
main()
File "/home/mailman/Mailman/Cgi/confirm.py", line 110, in main
subscription_confirm(mlist, doc, cookie, cgidata)
File "/home/mailman/Mailman/Cgi/confirm.py", line 326, in
subscription_confirm
op, addr, pw, digest, lang = mlist.ProcessConfirmation(
File "/home/mailman/Mailman/MailList.py", line 1080, in
ProcessConfirmation
self.ApprovedAddMember(userdesc)
File "/home/mailman/Mailman/MailList.py", line 889, in
ApprovedAddMember
digest, text)
File "/home/mailman/Mailman/Deliverer.py", line 69, in
SendSubscribeAck
text, pluser)
File "/home/mailman/Mailman/Message.py", line 203, in __init__
self['Subject'] = Header(subject, charset, header_name='Subject')
File "/home/mailman/pythonlib/email/Header.py", line 164, in __init__
self.append(s, charset)
File "/home/mailman/pythonlib/email/Header.py", line 230, in append
ustr = unicode(s, incodec)
UnicodeError: ASCII decoding error: ordinal not in range(128)
Python information:
Variable Value
sys.version 2.1.1 (#6, Jun 26 2002, 10:03:21) [GCC egcs-2.91.66
19990314/Linux (egcs-1.1.2 release)]
sys.executable /usr/local/bin/python
sys.prefix /usr/local
sys.exec_prefix /usr/local
sys.path /usr/local
sys.platform linux2
Environment variables:
Variable Value
DOCUMENT_ROOT /mondo/htdocs/async
SERVER_ADDR 200.206.134.238
HTTP_ACCEPT_ENCODING gzip, deflate, compress;q=0.9
REMOTE_HOST 200-158-184-99.dsl.telesp.net.br
CONTENT_TYPE application/x-www-form-urlencoded
PATH_TRANSLATED /mondo/htdocs/async/consave-d
REMOTE_ADDR 200.158.184.99
SERVER_SOFTWARE Apache/1.3.27 (Unix) mod_filter/1.1 mod_ssl/2.8.12
OpenSSL/0.9.6g PHP/4.2.2
GATEWAY_INTERFACE CGI/1.1
HTTP_COOKIE SITESERVER=ID=e58326c5509211ccd3008d3f52cc9967;
spam+admin=2802000000691053ef3d732800000063663562336334316435363833663662353233613665646233393932343462363338333333313735
HTTP_ACCEPT_LANGUAGE en-us, en;q=0.50
REMOTE_PORT 36399
SERVER_PORT 80
HTTP_CONNECTION keep-alive
HTTP_USER_AGENT Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2)
Gecko/20021126
HTTP_ACCEPT_CHARSET ISO-8859-1, utf-8;q=0.66, *;q=0.66
HTTP_ACCEPT
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,text/css,*/*;q=0.1
REQUEST_URI /mailman/confirm/consave-d
QUERY_STRING
SERVER_PROTOCOL HTTP/1.1
HTTP_KEEP_ALIVE 300
HTTP_HOST www.async.com.br
REQUEST_METHOD POST
SERVER_SIGNATURE
Apache/1.3.27 Server at www.async.com.br Port 80
SCRIPT_NAME /mailman/confirm
SERVER_ADMIN kiko@async.com.br
SCRIPT_FILENAME /home/mailman/cgi-bin/confirm
CONTENT_LENGTH 128
PYTHONPATH /home/mailman
PATH_INFO /consave-d
HTTP_REFERER
http://www.async.com.br/mailman/confirm/consave-d/988bb60b8d7b00155f487b645b887492ff4a041f
SERVER_NAME www.async.com.br
This one came in through email to me right now:
----- Forwarded message from GNU Mailman user <mailman@async.com.br> -----
Date: Fri, 6 Dec 2002 12:00:06 -0200 From: GNU Mailman user <mailman@async.com.br> To: mailman@async.com.br Subject: cron: /usr/local/bin/python -S /home/mailman/cron/senddigests
Traceback (most recent call last): File "/home/mailman/cron/senddigests", line 94, in ? main() File "/home/mailman/cron/senddigests", line 86, in main mlist.send_digest_now() File "/home/mailman/Mailman/Digester.py", line 60, in send_digest_now ToDigest.send_digests(self, mboxfp) File "/home/mailman/Mailman/Handlers/ToDigest.py", line 128, in send_digests send_i18n_digests(mlist, mboxfp) File "/home/mailman/Mailman/Handlers/ToDigest.py", line 141, in send_i18n_digests digestid = _('%(realname)s Digest, Vol %(volume)d, Issue %(issue)d') File "/home/mailman/Mailman/i18n.py", line 78, in _ return _translation.gettext(s) % dict ValueError: unsupported format character ',' (0x2c) at index 18
----- End forwarded message -----
Take care,
Christian Reis, Senior Engineer, Async Open Source, Brazil. http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL
participants (1)
-
Christian Reis