unicode() call failing, emails stuck in moderation queue

Bug #558205 reported by asmodai
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNU Mailman
Fix Released
Undecided
Unassigned

Bug Description

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)

Revision history for this message
asmodai (asmodai-users) wrote :

The file Mailman::Logging::Logger.py.diff was added: Logger.py suggested patch for unicode() call

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.