[ mailman-Patches-1235567 ] unicode() call failing, emails stuck in moderation queue

SourceForge.net noreply at sourceforge.net
Sat Jul 16 03:17:53 CEST 2005


Patches item #1235567, was opened at 2005-07-10 12:15
Message generated for change (Settings changed) made by tkikuchi
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=1235567&group_id=103

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: list administration
Group: Mailman 2.1
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Jeroen Ruigrok/Asmodai (asmodai)
Assigned to: Tokio Kikuchi (tkikuchi)
Summary: unicode() call failing, emails stuck in moderation queue

Initial Comment:
Some emails got stuck due to Logger.py dying.  This is
with 2.1.5.  I           
verified with a trunk version and spotted the problem
has not been              
corrected.

I find more unicode() calls in the Mailman 2.1.x source
tree that do not        
seem to guard against encoding failing or forget
ValueError.  Perhaps these also need either a(n)
(additional) safeguard or 'replace' addition?             
                                                      
                         
To note:                                              
                         
Mailman/Archiver/HyperArch.py:  charset =
unicode(charset[2], charset[0])
Mailman/Archiver/HyperArch.py:  body = unicode(body,
charset)                   
Mailman/Utils.py:            u = unicode(s, charset)

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=1235567&group_id=103


More information about the Mailman-coders mailing list