On 7/16/24 12:41 AM, Christian via Mailman-Users wrote:

I enclose the file "error.txt", which hopefully is what you need to analyze the 
problem. I got it from the provider this morning.

This is the part of the error log that relates to the substitutions not being replaced in the admin notice.

Jul 09 14:50:18 2024 (32554) broken template: 
/usr/local/cpanel/3rdparty/mailman/templates/de/postauth.txt
'ascii' codec can't decode byte 0xe4 in position 82: ordinal not in range(128)

There are also a number of errors like this which are from the inability to discard the message from the admindb interface.

Jul 09 15:14:16 2024 admin(10332): @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ admin(10332): [----- Mailman Version: 2.1.39 -----] admin(10332): [----- Traceback ------] admin(10332): Traceback (most recent call last):
admin(10332):   File "/usr/local/cpanel/base/3rdparty/mailman/scripts/driver", 
line 117, in run_main
admin(10332):     main()
admin(10332):   File 
"/usr/local/cpanel/3rdparty/mailman/Mailman/Cgi/admindb.py", line 241, in main
admin(10332):     process_form(mlist, doc, cgidata)
admin(10332):   File 
"/usr/local/cpanel/3rdparty/mailman/Mailman/Cgi/admindb.py", line 852, in 
process_form
admin(10332):     forward, forwardaddr)
admin(10332):   File "/usr/local/cpanel/3rdparty/mailman/Mailman/ListAdmin.py", 
line 169, in HandleRequest
admin(10332):     forward, addr)
admin(10332):   File "/usr/local/cpanel/3rdparty/mailman/Mailman/ListAdmin.py", 
line 367, in __handlepost
admin(10332):     note += '\n\tReason: ' + comment.replace('%', '%%')
admin(10332): UnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 in 
position 60: ordinal not in range(128)
admin(10332): [----- Python Information -----] admin(10332): sys.version = 2.7.5 (default, Mar 21 2024, 16:55:10)

The issue appears to be due to a combination of hold reason and/or rejection reason as translated to German containing non-ascii together with trying to treat these strings as ascii.

I'm still investigating this locally, but so far I don't see the issue. this could be related to the python version which in my case is 2.7.18 or possibly it's a cPanel issue.

--
Mark Sapiro <m...@msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
   https://mail.python.org/archives/list/mailman-users@python.org/
Member address: arch...@jab.org

Reply via email to