[Mailman-Users] error when changing subscription permisions

Mark Sapiro mark at msapiro.net
Mon Mar 24 17:40:08 CET 2008


Con Wieland wrote:

>When trying to change subscription permissions from "Confirm" to  
>either "Require Approval" or "Confirm and Approve" I get the  
>following error:
>
>Traceback (most recent call last):
>   File "/usr/local/mailman/scripts/driver", line 87, in run_main
>     main()
>   File "/usr/local/mailman/Mailman/Cgi/admin.py", line 175, in main
>     change_options(mlist, category, subcat, cgidata, doc)
>   File "/usr/local/mailman/Mailman/Cgi/admin.py", line 1299, in  
>change_options
>     gui.handleForm(mlist, category, subcat, cgidata, doc)
>   File "/usr/local/mailman/Mailman/Gui/Privacy.py", line 510, in  
>handleForm
>     GUIBase.handleForm(self, mlist, category, subcat, cgidata, doc)
>   File "/usr/local/mailman/Mailman/Gui/GUIBase.py", line 154, in  
>handleForm
>     doc.addError(
>   File "/usr/local/mailman/Mailman/htmlformat.py", line 340, in  
>addError
>     self.AddItem(Header(3, Bold(FontAttr(
>TypeError: not enough arguments for format string


It is not clear to me why this exception is occurring as I can't see a
reason for it in the (2.1.4 base) code, but what is happening is the
page is attempting to report a bad email address which means that the
underlying problem is the ban_list contains a syntactically invalid
address which is not a regexp (i.e. not beginning with '^').

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan



More information about the Mailman-Users mailing list