[Mailman-Users] ValueError: unpack list of wrong size

Sean sean at sweetbourbon.com
Wed Oct 27 14:40:54 CEST 2004


A list user posts started being shunted with the following showing up in
the error log:

Oct 27 08:14:28 2004 (5860) SHUNTING:
Oct 27 08:14:29 2004 (5860) Uncaught runner exception: unpack list of
wrong size
Oct 27 08:14:29 2004 (5860) Traceback (most recent call last):
  File "/usr/mailman/Mailman/Queue/Runner.py", line 111, in _oneloop
    self._onefile(msg, msgdata)
  File "/usr/mailman/Mailman/Queue/Runner.py", line 167, in _onefile
    keepqueued = self._dispose(mlist, msg, msgdata)
  File "/usr/mailman/Mailman/Queue/IncomingRunner.py", line 130, in
    more = self._dopipeline(mlist, msg, msgdata, pipeline)
  File "/usr/mailman/Mailman/Queue/IncomingRunner.py", line 153, in
    sys.modules[modname].process(mlist, msg, msgdata)
  File "/usr/mailman/Mailman/Handlers/ToDigest.py", line 91, in process
    send_digests(mlist, mboxfp)
  File "/usr/mailman/Mailman/Handlers/ToDigest.py", line 132, in
    send_i18n_digests(mlist, mboxfp)
  File "/usr/mailman/Mailman/Handlers/ToDigest.py", line 306, in send_
    msg = scrubber(mlist, msg)
  File "/usr/mailman/Mailman/Handlers/Scrubber.py", line 265, in process
    url = save_attachment(mlist, part, dir)
  File "/usr/mailman/Mailman/Handlers/Scrubber.py", line 359, in
    fnext = os.path.splitext(msg.get_filename(''))[1]
  File "/usr/mailman/pythonlib/email/Message.py", line 725, in
    filename = self.get_param('filename', missing, 'content-disposition')
  File "/usr/mailman/pythonlib/email/Message.py", line 608, in get_param
    for k, v in self._get_params_preserve(failobj, header):
  File "/usr/mailman/pythonlib/email/Message.py", line 555, in
    params = Utils.decode_params(params)
  File "/usr/mailman/pythonlib/email/Utils.py", line 337, in decode_params
    charset, language, value = decode_rfc2231(EMPTYSTRING.join(value))
  File "/usr/mailman/pythonlib/email/Utils.py", line 284, in
    charset, language, s = parts
ValueError: unpack list of wrong size

I've search through the archives and found other posts regarding this
error but no resolution was found.  They were from some time ago so I'm
hoping someone may be able to provide some insight into this now.

We're running Mailman 2.1.5 on FreeBSD 4.6-STABLE with python2.3 and
postfix 1.1.11

Any assistance will be appreciated.


More information about the Mailman-Users mailing list