[ mailman-Bugs-803729 ] LookupError: unknown encoding: X-UNKNOWN

SourceForge.net noreply at sourceforge.net
Wed Oct 8 08:23:13 EDT 2003


Bugs item #803729, was opened at 2003-09-10 15:31
Message generated for change (Comment added) made by nemethe
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=803729&group_id=103

Category: mail delivery
Group: 2.1 (stable)
Status: Open
Resolution: None
Priority: 5
Submitted By: Ervin Németh (nemethe)
Assigned to: Nobody/Anonymous (nobody)
Summary: LookupError: unknown encoding: X-UNKNOWN

Initial Comment:
Our site encounters the following problem. 
mailman-2.1.2 installed from OpenBSD ports.

Traceback (most recent call last):
  File "/usr/local/mailman/cron/senddigests", line 94, in ?
    main()
  File "/usr/local/mailman/cron/senddigests", line 86,
in main
    mlist.send_digest_now()
  File "/usr/local/mailman/Mailman/Digester.py", line
60, in send_digest_now
    ToDigest.send_digests(self, mboxfp)
  File
"/usr/local/mailman/Mailman/Handlers/ToDigest.py", line
130, in send_digests
    send_i18n_digests(mlist, mboxfp)
  File
"/usr/local/mailman/Mailman/Handlers/ToDigest.py", line
303, in send_i18n_digests
    msg = scrubber(mlist, msg)
  File
"/usr/local/mailman/Mailman/Handlers/Scrubber.py", line
257, in process
    url = save_attachment(mlist, part, dir)
  File
"/usr/local/mailman/Mailman/Handlers/Scrubber.py", line
348, in save_attachment
    fnext = os.path.splitext(msg.get_filename(''))[1]
  File "/usr/local/mailman/pythonlib/email/Message.py",
line 707, in get_filename
    return unicode(newvalue[2], newvalue[0])
LookupError: unknown encoding: X-UNKNOWN

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

>Comment By: Ervin Németh (nemethe)
Date: 2003-10-08 14:23

Message:
Logged In: YES 
user_id=768522

It's quite unpleasant to recieve this mail daily. In
addition there was a local mailing list to which no mail was
delivered until digests to this list was turned off.

Last day I have upgraded to mailman 2.1.3 and the last lines
of the traceback changed:

  File "/usr/local/mailman/pythonlib/email/Message.py", line
714, in get_filename
    return unicode(newvalue[2], newvalue[0] or 'us-ascii')
LookupError: unknown encoding: X-UNKNOWN


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

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



More information about the Mailman-coders mailing list