One of my users went to use mailman's edithtml page and got the following error: ------------------------------------------------------ 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 aformentioned error from the logs (XXXXXXX's added for privacy reasons): ------------------------------------------------------ Apr 01 17:44:55 2006 admin(7721): @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ admin(7721): [----- Mailman Version: 2.1.7 -----] admin(7721): [----- Traceback ------] admin(7721): Traceback (most recent call last): admin(7721): File "/usr/local/mailman/scripts/driver", line 101, in run_main admin(7721): main() admin(7721): File "/usr/local/mailman/Mailman/Cgi/edithtml.py", line 125, in m ain admin(7721): ChangeHTML(mlist, cgidata, template_name, doc) admin(7721): File "/usr/local/mailman/Mailman/Cgi/edithtml.py", line 160, in C hangeHTML admin(7721): code = re.sub(r'<([/]?script.*?)>', r'<\1>', code) admin(7721): NameError: global name 're' is not defined admin(7721): [----- Python Information -----] admin(7721): sys.version = 2.4.2 (#1, Mar 30 2006, 12:31:02) [GCC 3.4.5 (Gentoo 3.4.5-r1, ssp-3.4.5-1.0, pie-8.7.9)] admin(7721): sys.executable = /usr/bin/python admin(7721): sys.prefix = /usr admin(7721): sys.exec_prefix = /usr admin(7721): sys.path = /usr admin(7721): sys.platform = linux2 admin(7721): [----- Environment Variables -----] admin(7721): HTTP_COOKIE: lapubclub+admin=28020000006936f82e44732800000033326 5636430343531373466626437373462303XXXXXXXXXXXXXXXXXXXXXXXXXX admin(7721): SERVER_SOFTWARE: Apache admin(7721): SCRIPT_NAME: /mailman/edithtml admin(7721): SERVER_SIGNATURE: <address>Apache Server at XXXXXXXXXX.com Port 8 0</address> admin(7721): admin(7721): REQUEST_METHOD: POST admin(7721): PATH_INFO: /lapubclub/subscribeack.txt admin(7721): SERVER_PROTOCOL: HTTP/1.0 admin(7721): QUERY_STRING: admin(7721): CONTENT_LENGTH: 1195 admin(7721): HTTP_USER_AGENT: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5 .1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727) admin(7721): HTTP_CONNECTION: Keep-Alive admin(7721): HTTP_REFERER: http://XXXXXXXX.com/mailman/edithtml/lapubclub/su bscribeack.txt admin(7721): SERVER_NAME: XXXXXXXXXXX.com admin(7721): REMOTE_ADDR: 192.168.XXX.XXX admin(7721): PATH_TRANSLATED: /var/www/XXXXXXX.com/htdocs/lapubclub/subscri beack.txt admin(7721): SERVER_PORT: 80 admin(7721): SERVER_ADDR: XXX.XXX.XXX.XXX admin(7721): DOCUMENT_ROOT: /var/www/XXXXXX.com/htdocs/ admin(7721): HTTP_PRAGMA: no-cache admin(7721): PYTHONPATH: /usr/local/mailman admin(7721): SCRIPT_FILENAME: /usr/local/mailman/cgi-bin/edithtml admin(7721): SERVER_ADMIN: webmaster@XXXXXXX.com admin(7721): HTTP_HOST: XXXXXXXX.com admin(7721): REQUEST_URI: /mailman/edithtml/lapubclub/subscribeack.txt admin(7721): HTTP_ACCEPT: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg , application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-po werpoint, application/msword, */* admin(7721): GATEWAY_INTERFACE: CGI/1.1 admin(7721): REMOTE_PORT: 3758 admin(7721): HTTP_ACCEPT_LANGUAGE: en-us admin(7721): CONTENT_TYPE: application/x-www-form-urlencoded ------------------------------------------------------ To reproduce: 1.) Log into a Mailman admin site for a list. 2.) Click on "Edit the public HTML pages and text files" on the right near the top of the page. 3.) Click any page to edit. ("Welcome email text file" was the one above, but all of them seem to have the same error.) 4.) No need to change the text, just hit the "Submit Changes" button at the bottom. My mailman related use-flags for the record: ------------------------------------------------------ [ebuild R ] net-mail/mailman-2.1.7 +apache2 -courier -exim +postfix -qmail -sendmail -xmail 0 kB ------------------------------------------------------ Let me know if there's any more information you need, and thanks in advance.
Can anyone confirm if this is a bug with Gentoo's port of Mailman, or should this bug be reported to the Mailman's Sourceforge bug database?
This seems to have been fixed in the 2.1.8rc1 version in portage. [I'm a little disappointed with the Gentoo staff that no one ever said a word about this issue or responsed to any of my notes/questions.]