[ mailman-Bugs-1015096 ] UnicodeEncodeError rejecting smap through web admin

SourceForge.net noreply at sourceforge.net
Mon Sep 18 14:38:11 CEST 2006


Bugs item #1015096, was opened at 2004-08-24 09:01
Message generated for change (Comment added) made by sungeer
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=1015096&group_id=103

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Web/CGI
Group: 2.1 (stable)
Status: Open
Resolution: None
Priority: 5
Submitted By: Niclas Ek (nikke_ek)
Assigned to: Nobody/Anonymous (nobody)
Summary: UnicodeEncodeError rejecting smap through web admin

Initial Comment:
While trying to discard spam from a list:

https://server/admin/list -> 
Tend to pending moderator requests ->
Discard

an error message will appear:

Bug in Mailman version 2.1.5

We're sorry, we hit a bug!

If you would like to help us identify the problem, please email a copy of 
this page to the webmaster for this site with a description of what 
happened. Thanks! 
Traceback:


Traceback (most recent call last):
  File "/home/mailman/scripts/driver", line 87, in run_main
    main()
  File "/home/mailman/Mailman/Cgi/admindb.py", line 163, in main
    process_form(mlist, doc, cgidata)
  File "/home/mailman/Mailman/Cgi/admindb.py", line 711, in 
process_form
    forward, forwardaddr)
  File "/home/mailman/Mailman/ListAdmin.py", line 159, in 
HandleRequest
    forward, addr)
  File "/home/mailman/Mailman/ListAdmin.py", line 345, in __handlepost
    syslog('vette', note)
  File "/home/mailman/Mailman/Logging/Syslog.py", line 40, in write
    self.write_ex(kind, msg, args, kws)
  File "/home/mailman/Mailman/Logging/Syslog.py", line 58, in write_ex
    logf.write(msg + '\n')
  File "/home/mailman/Mailman/Logging/StampedLogger.py", line 73, in 
write
    Logger.write(self, "%s %s" % (prefix, msg))
  File "/home/mailman/Mailman/Logging/Logger.py", line 91, in write
    f.write(msg)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe4' in 
position 122: ordinal not in range(128)

Python information:

Variable             Value
sys.version         2.3.4 (#2, Jul 5 2004, 09:15:05) [GCC 3.3.4 (Debian 
1:3.3.4-2)] 
sys.executable   /usr/bin/python 
sys.prefix           /usr 
sys.exec_prefix  /usr 
sys.path             /usr 
sys.platform        linux2 

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

Comment By: sungeer (sungeer)
Date: 2006-09-18 12:38

Message:
Logged In: YES 
user_id=1600709

sungeer

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

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


More information about the Mailman-coders mailing list