Menu

#377 unicode() call failing, emails stuck in moderation queue

Mailman 2.1
closed-fixed
5
2005-07-16
2005-07-10
No

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)

Discussion

  • Jeroen Ruigrok van der Werven

    Logger.py suggested patch for unicode() call

     
  • Jeroen Ruigrok van der Werven

    • assigned_to: nobody --> tkikuchi
     
  • Tokio Kikuchi

    Tokio Kikuchi - 2005-07-16
    • status: open --> closed-fixed
     

Log in to post a comment.