[Mailman-Users] TypeError: unicode() argument 2 must be string, not None

aaron aaron at mutualaid.org
Wed Dec 29 06:41:53 CET 2004


I'm getting the following error when rebuilding the archives (using
/mailman/bin/arch) for a list. I was unable to find anything relevant in the
mailman-users archives and would greatly appreciate any suggestions. I'm
running Mailman 2.1.2 on FreeBSD 4.9-RELEASE-p11 with Python 2.1.3.

Updating HTML for article 7152
Updating HTML for article 7151
Updating HTML for article 7153
Updating HTML for article 7155
Updating HTML for article 7154
Pickling archive state into
Traceback (most recent call last):
  File "./arch", line 187, in ?
  File "./arch", line 175, in main
    archiver.processUnixMailbox(fp, start, end)
  File "/home/mailman//Mailman/Archiver/pipermail.py", line 544, in
    m = mbox.next()
  File "/usr/local/lib/python2.1/mailbox.py", line 30, in next
    return self.factory(_Subfile(self.fp, start, stop))
  File "/home/mailman//Mailman/Mailbox.py", line 89, in scrubber
    return mailbox.scrub(msg)
  File "/home/mailman//Mailman/Mailbox.py", line 109, in scrub
    return self._scrubber(self._mlist, msg)
  File "/home/mailman//Mailman/Handlers/Scrubber.py", line 257, in process
    url = save_attachment(mlist, part, dir)
  File "/home/mailman//Mailman/Handlers/Scrubber.py", line 348, in
    fnext = os.path.splitext(msg.get_filename(''))[1]
  File "/home/mailman//pythonlib/email/Message.py", line 707, in
    return unicode(newvalue[2], newvalue[0])
TypeError: unicode() argument 2 must be string, not None

More information about the Mailman-Users mailing list