Broken archiver: pipermail: TypeError: decoding Unicode is not supported

Bug #880990 reported by Stephen A. Goss
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNU Mailman
Undecided
Unassigned

Bug Description

I enabled the pipermail archiver in the cfg and sent a single email through a list to see how well it works. Found this error in mailman.log:

    Oct 23 20:54:47 2011 (3824) Broken archiver: pipermail
    Traceback (most recent call last):
      File "/home/phoenix/mailman_clone/src/mailman/runners/archive.py", line 87, in _dispose
        archiver.archive_message(mlist, msg)
      File "/home/phoenix/mailman_clone/src/mailman/archiving/pipermail.py", line 123, in archive_message
        h.processUnixMailbox(path)
      File "/home/phoenix/mailman_clone/src/mailman/Archiver/pipermail.py", line 572, in processUnixMailbox
        self.add_article(a)
      File "/home/phoenix/mailman_clone/src/mailman/Archiver/pipermail.py", line 604, in add_article
        temp = self.format_article(article)
      File "/home/phoenix/mailman_clone/src/mailman/Archiver/HyperArch.py", line 1198, in format_article
        self.__processbody_URLquote(lines)
      File "/home/phoenix/mailman_clone/src/mailman/Archiver/HyperArch.py", line 1096, in __processbody_URLquote
        atmark = unicode(atmark, self.lang.charset, 'replace')
    TypeError: decoding Unicode is not supported

Revision history for this message
Stephen A. Goss (postfuturist) wrote :

It tries to encode an already Unicode encoded string as Unicode, causing an error. This attachment is a quick work-around.

Revision history for this message
Barry Warsaw (barry) wrote :

Marked as Invalid now that Pipermail has been removed from the core. Thanks though!

Changed in mailman:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers