Jan. 27, 2025
9:24 p.m.
On 1/27/25 12:35, Schulz via Mailman-users wrote:
Using the current mailman version, I can reproduce the following:
- send a text-formatted email with attachment but without text body to a list.
- the msg will be received by mailman
- the msg shows up in shunt, the log shows: ile "/usr/lib/python3.12/email/message.py", line 343, in set_payload payload = payload.encode(charset.output_charset, 'surrogateescape') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ UnicodeEncodeError: 'ascii' codec can't encode characters in position 10-17: ordinal not in range(128)
Please provide the full traceback and the MIME structure of the message.
an attempt to unpickle the file leads to the same error. I know it's uncommon to send emails without txt but with attachments - but it may happen; at least we would welcome an error message.
Without more of the traceback I can't be sure which handler is doing this and without the MIME structure I can't be sure what's going on.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan