[Mailman-Users] UnicodeError in admindb interface

ts North tsnorthj at yahoo.com
Fri Mar 31 18:11:43 CEST 2006

I run several mailing lists under Mailman 2.1.6.   Recently 
 one of my mailing lists received 2 spam messages, I was able
 to delete one of them using the moderator admindb interface, but
 when I tried to delete the second message, I got the "hit a bug"
 page (traceback is listed below).
 At that point I: ran check_db and check_perms, restarted the daemon,
 cleared out the locks.  No luck.
 I found the heldmsg in data/ and deleted the message manually,
 which seems to have made matters worse.  Now when I access the 
 admindb web page for the mailing list, it throws the error right away before displaying the admindb page (same traceback as before).  
 I suspect I may have not deleted everything I need to delete.  I have
 considered upgrading to 2.1.7, but thought I should resolve this issue
 Any advice would be greatly appreciated, thanks,
 admin(24303): [----- Traceback ------] 
 admin(24303): Traceback (most recent call last):
 admin(24303):   File "/usr/local/mailman-2.1.6//scripts/driver", line 101, in 
 admin(24303):     main()
 admin(24303):   File "/usr/local/mailman-2.1.6/Mailman/Cgi/admindb.py", line 2
 34, in main
 admin(24303):     num += show_helds_overview(mlist, form)
 admin(24303):   File "/usr/local/mailman-2.1.6/Mailman/Cgi/admindb.py", line 4
 85, in show_helds_overview
 admin(24303):     mlist.HandleRequest(id, mm_cfg.DISCARD)
 admin(24303):   File "/usr/local/mailman-2.1.6/Mailman/ListAdmin.py", line 167
 , in HandleRequest
 admin(24303):     forward, addr)
 admin(24303):   File "/usr/local/mailman-2.1.6/Mailman/ListAdmin.py", line 353
 , in __handlepost
 admin(24303):     syslog('vette', note)
 admin(24303):   File "/usr/local/mailman-2.1.6/Mailman/Logging/Syslog.py", lin
 e 40, in write
 admin(24303):     self.write_ex(kind, msg, args, kws)
 admin(24303):   File "/usr/local/mailman-2.1.6/Mailman/Logging/Syslog.py", lin
 e 58, in write_ex
 admin(24303):     logf.write(msg + '\n')
 admin(24303):   File "/usr/local/mailman-2.1.6/Mailman/Logging/StampedLogger.p
 y", line 73, in write
 admin(24303):     Logger.write(self, "%s %s" % (prefix, msg))
 admin(24303):   File "/usr/local/mailman-2.1.6/Mailman/Logging/Logger.py", lin
 e 91, in write
 admin(24303):     f.write(msg)
 admin(24303): UnicodeError: ASCII encoding error: ordinal not in range(128)
 admin(24303): [----- Python Information -----] 
 admin(24303): sys.version     =   2.2.3 (#1, Mar  9 2006, 18:16:14) 
 [GCC 3.2.3 20030502 (Red Hat Linux 3.2.3-53)] 
 admin(24303): sys.executable  =   /usr/bin/python 
 admin(24303): sys.prefix      =   /usr 
 admin(24303): sys.exec_prefix =   /usr 
 admin(24303): sys.path        =   /usr 
 admin(24303): sys.platform    =   linux2 
 admin(24303): [----- Environment Variables -----] 

Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates.

More information about the Mailman-Users mailing list