[Mailman-Users] It's not possible to add new members

Mark Sapiro msapiro at value.net
Wed Jan 4 08:43:32 CET 2006


Alexander Baldauf wrote:
>
>last weekend, we updated mailman to version 2.1.5, but after the update, 
>it's not possible to add new members to any list. There ist just a error 
>message like this:
>
>
>    Bug in Mailman version 2.1.5
>
>
>      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 "/usr/lib/mailman/scripts/driver", line 87, in run_main
>    main()
>  File "/usr/lib/mailman/Mailman/Cgi/admin.py", line 175, in main
>    change_options(mlist, category, subcat, cgidata, doc)
>  File "/usr/lib/mailman/Mailman/Cgi/admin.py", line 1339, in change_options
>    whence='admin mass sub')
>TypeError: ApprovedAddMember() got an unexpected keyword argument 'whence'
>
<snip>
>
>We searched in the admin.py but we didn't find the error.


I suspect this is some issue with the particular SuSE Mailman package
and patch level you installed. In the base source distribution of
Mailman 2.1.5, the

            change_options(mlist, category, subcat, cgidata, doc)

is at line 175, but

                mlist.ApprovedAddMember(userdesc, send_welcome_msg,
                                        send_admin_notif, invitation,
                                        whence='admin mass sub')

is at lines 1335-1337, not 1337-1339 (note I removed a level of
indentation in hopes the above wouldn't wrap).

The real question is what do you have for the definition of
ApprovedAddMember in Mailman/MailList.py? The base has at lines 897-898

    def ApprovedAddMember(self, userdesc, ack=None, admin_notif=None,
text='',
                          whence=''):

The whence= argument got added between 2.1.3 and 2.1.4 which seems to
say that your Mailman/MailList.py is older than 2.1.4.

Either this is some SuSE problem or you have residue of your old
version, some of which is being used.

-- 
Mark Sapiro <msapiro at value.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