[Mailman-Developers] email2.4.3

Fil fil@rezo.net
Mon Oct 21 20:44:40 2002


>     fil> append unicode(s, charset.get_output_charset())
>     fil> UnicodeError: ASCII decoding error: ordinal not in range(128)
> 
> Can you explain what you're doing to provide these errors?  E.g. what
> commands are you sending, and what language is your list set to?

I'm just writing a blank mail to test-unsubscribe. The server's default
language is French, and the test list is also in French.

I then receive the confirmation request from Mailman, answer it, and when
the server gets the confirmation it barks again (below, sorry for
formatting). And this time I don't get a receipt or anything, and I'm not
unsubscribed. Confirming via the web interface works though.

Now let me try with the list set up in English (USA) and my user prefs in
English too: ah ah! this time I receive not only the confirmation request
but also this message:
    """
    Subject: The results of your email commands
    [-- Attachement #1 --]
    [-- Type : text/plain, Codage : 7bit, Taille : 0,2K --]
    The results of your email command are provided below. Attached is your
    original message.
    - Results:
        A removal confirmation message has been sent.
    - Unprocessed:
        -- Fil
    - Done.
    """



>>>>>>>>>>>>>>>>>>>>>>>>>>

Oct 21 21:37:50 2002 (13586) Uncaught runner exception: ASCII decoding
error: ordinal not in range(128)
Oct 21 21:37:50 2002 (13586) Traceback (most recent call last):
  File "/usr/local/mailman/Mailman/Queue/Runner.py", line 105, in _oneloop
    self._onefile(msg, msgdata)
  File "/usr/local/mailman/Mailman/Queue/Runner.py", line 154, in _onefile
    keepqueued = self._dispose(mlist, msg, msgdata)
  File "/usr/local/mailman/Mailman/Queue/CommandRunner.py", line 198, in
_dispose   
    res.process()
  File "/usr/local/mailman/Mailman/Queue/CommandRunner.py", line 93, in
process
    stop = self.do_command(cmd, args)
  File "/usr/local/mailman/Mailman/Queue/CommandRunner.py", line 117, in
do_command 
    return self.do_command(cmd, args)
  File "/usr/local/mailman/Mailman/Queue/CommandRunner.py", line 119, in
do_command 
    return handler.process(self, args)
  File "/usr/local/mailman/Mailman/Commands/cmd_confirm.py", line 44, in
process
    results = mlist.ProcessConfirmation(cookie, res.msg)
  File "/usr/local/mailman/Mailman/MailList.py", line 1108, in
ProcessConfirmation  
    self.ApprovedDeleteMember(addr, whence='web confirmation')
  File "/usr/local/mailman/Mailman/MailList.py", line 944, in
ApprovedDeleteMember  
    self.SendUnsubscribeAck(name)
  File "/usr/local/mailman/Mailman/Deliverer.py", line 78, in
SendUnsubscribeAck
    Utils.wrap(self.goodbye_msg), self.getMemberLanguage(addr))
  File "/usr/local/mailman/Mailman/Message.py", line 203, in __init__
    self['Subject'] = Header(subject, charset, header_name='Subject')
  File "/usr/local/mailman/pythonlib/email/Header.py", line 164, in __init__
    self.append(s, charset)
  File "/usr/local/mailman/pythonlib/email/Header.py", line 224, in append
    unicode(s, charset.get_output_charset())
UnicodeError: ASCII decoding error: ordinal not in range(128)



-- Fil