[Mailman-Users] Unicode problems with admindb
Mike Alberghini
sysmda at zim.gsu.edu
Mon Nov 15 16:28:18 CET 2004
I'm having some trouble with 2.1.4. When I try to go to the list admindb
page, I get a "UnicodeError: ASCII encoding error: ordinal not in range(128)"
I tried deleteing everything for the list in ~mailman/data, with no luck.
The details:
We are running Mailman 2.1.4 on Solaris 8.
http://mailbox.gsu.edu/mailman/admindb/asia-l produces:
Bug in Mailman version 2.1.4
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 "/apps/mailman/scripts/driver", line 87, in run_main
main()
File "/apps/mailman/Mailman/Cgi/admindb.py", line 228, in main
num += show_helds_overview(mlist, form)
File "/apps/mailman/Mailman/Cgi/admindb.py", line 473, in show_helds_overview
mlist.HandleRequest(id, mm_cfg.DISCARD)
File "/apps/mailman/Mailman/ListAdmin.py", line 184, in HandleRequest
forward, addr)
File "/apps/mailman/Mailman/ListAdmin.py", line 373, in __handlepost
syslog('vette', note)
File "/apps/mailman/Mailman/Logging/Syslog.py", line 40, in write
self.write_ex(kind, msg, args, kws)
File "/apps/mailman/Mailman/Logging/Syslog.py", line 58, in write_ex
logf.write(msg + '\n')
File "/apps/mailman/Mailman/Logging/StampedLogger.py", line 73, in write
Logger.write(self, "%s %s" % (prefix, msg))
File "/apps/mailman/Mailman/Logging/Logger.py", line 91, in write
f.write(msg)
UnicodeError: ASCII encoding error: ordinal not in range(128)
Python information:
Variable Value
sys.version 2.2.1 (#1, Sep 18 2002, 16:36:23) [GCC 2.95.3 20010315 (release)]
sys.executable /apps/python2.2.1/bin/python
sys.prefix /apps/python2.2.1
sys.exec_prefix /apps/python2.2.1
sys.path /apps/python2.2.1
sys.platform sunos5
Environment variables:
Variable Value
PATH_INFO /asia-l
HTTP_COOKIE asia-l+admin=280200000069f9bf9841732800000031363536333934666537303264373635656366393362613237386234613538396665313437316134
SERVER_SOFTWARE Apache/1.3.26 (Unix) mod_perl/1.24
PYTHONPATH /apps/mailman
SCRIPT_FILENAME /apps/mailman/cgi-bin/admindb
SERVER_ADMIN root at gsu.edu
SCRIPT_NAME /mailman/admindb
SCRIPT_URI http://mailbox.gsu.edu/mailman/admindb/asia-l
SERVER_SIGNATURE
Apache/1.3.26 Server at mailbox.gsu.edu Port 80
REQUEST_METHOD GET
HTTP_HOST mailbox.gsu.edu
SCRIPT_URL /mailman/admindb/asia-l
SERVER_PROTOCOL HTTP/1.1
QUERY_STRING
HTTP_CONNECTION keep-alive
PATH_TRANSLATED /apps/apache/mailbox.gsu.edu-80/htdocs/asia-l
REQUEST_URI /mailman/admindb/asia-l
HTTP_ACCEPT text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
HTTP_ACCEPT_CHARSET ISO-8859-1,utf-8;q=0.7,*;q=0.7
HTTP_USER_AGENT Mozilla/5.0 (X11; U; SunOS sun4u; rv:1.7.3) Gecko/20041007 Firefox/0.10.1
TZ US/Eastern
SERVER_NAME mailbox.gsu.edu
REMOTE_ADDR 131.96.234.45
REMOTE_PORT 51807
HTTP_ACCEPT_LANGUAGE en-us,en;q=0.5
UNIQUE_ID QZjJeYNgAgwAAEkNPmU
SERVER_PORT 80
GATEWAY_INTERFACE CGI/1.1
DOCUMENT_ROOT /apps/apache/mailbox.gsu.edu-80/htdocs
HTTP_ACCEPT_ENCODING gzip,deflate
SERVER_ADDR 131.96.2.12
HTTP_KEEP_ALIVE 300
Pretty much the same info gets posted to ~mailman/logs/error.
--
Michael Alberghini
Software Systems Engineer
Georgia State University
mike at gsu.edu
More information about the Mailman-Users
mailing list