[Mailman-Users] Bug in 2.1.7, can't edit Public HTML pages & text files

Christopher X. Candreva chris at westnet.com
Tue Jan 10 22:06:33 CET 2006

Mailman is telling me there is a bug whenever I try to submit a page from 
the "Edit the public HTML pages and text files" menu. The page returned 

Bug in Mailman version 2.1.7

We're sorry, we hit a bug!

Please inform the webmaster for this site of this problem. Printing of 
traceback and other system information has been explicitly inhibited, but 
the webmaster can find this information in the Mailman error logs. 

The most usefull thing I've found in the logs is:

Jan 10 15:52:55 2006 admin(6592): 
admin(6592): [----- Mailman Version: 2.1.7 -----]
admin(6592): [----- Traceback ------]
admin(6592): Traceback (most recent call last):
admin(6592):   File "/home/mailman/scripts/driver", line 101, in run_main
admin(6592):     main()
admin(6592):   File "/home/mailman/Mailman/Cgi/edithtml.py", line 125, in 
admin(6592):     ChangeHTML(mlist, cgidata, template_name, doc)
admin(6592):   File "/home/mailman/Mailman/Cgi/edithtml.py", line 160, in 
admin(6592):     code = re.sub(r'<([/]?script.*?)>', r'&lt;\1&gt;', code)
admin(6592): NameError: global name 're' is not defined
admin(6592): [----- Python Information -----]
admin(6592): sys.version     =   2.4.2 (#1, Nov 11 2005, 14:28:34)
[GCC 3.4.4]

I would be surprised if I was the only person to try to submit a changed 
HTML/text page in 2.1.7, but I suppose it's possible. However I haven't 
found anything in a search, and check_perms tells me everything is OK.

Have I done something stupid, or is it a real bug and I should open a bug 
report ?


Chris Candreva  -- chris at westnet.com -- (914) 967-7816
WestNet Internet Services of Westchester

More information about the Mailman-Users mailing list