[Mailman-Users] send_digests() issue w/ Mailman 2.1.26

Dave Pascoe davekm3t at gmail.com
Mon Mar 12 18:33:36 EDT 2018

Sending digests has broken on upgrade to either 2.1.25 or 2.1.26....2.1.26
I'm pretty sure.

Getting this error:

Mar 12 17:50:55 2018 (17857) send_digests() failed: decode() takes no
keyword arguments
Mar 12 17:50:55 2018 (17857) Traceback (most recent call last):
  File "/usr/local/mailman/Mailman/Handlers/ToDigest.py", line 110, in
    send_digests(mlist, mboxfp)
  File "/usr/local/mailman/Mailman/Handlers/ToDigest.py", line 158, in
    send_i18n_digests(mlist, mboxfp)
  File "/usr/local/mailman/Mailman/Handlers/ToDigest.py", line 313, in
    toctext = to_cset_out(toc.getvalue(), lcset)
  File "/usr/local/mailman/Mailman/Handlers/ToDigest.py", line 77, in
    return text.decode(lcset, errors='replace').encode(ocset,
TypeError: decode() takes no keyword arguments

This is on a soon-to-be-upgraded CentOS 5 system so Python 2.4.3. Any quick
fix for ToDigest.py to make it temporarily compatible with Python 2.4.3?


More information about the Mailman-Users mailing list