[Mailman-Developers] InviteNewMember question

Mark Sapiro msapiro at value.net
Fri May 26 21:23:42 CEST 2006


Joshua Alexander wrote:
>
>I'm not sure if this is the right list for this... if so, I 
>apologize, and please let me know where to get support on this.


I think mailman-users at python.org is the appropriate list.


>I'm running Mailman on a linux/cpanel server,


But maybe not. See
<http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq06.011.htp>.


>and trying to hack 
>together an invite_members script, so I took add_members and made 
>minor changes, mostly changing
>
>mlist.ApprovedAddMember(userdesc, ack, 0)
>
>to
>
>mlist.InviteNewMember(userdesc)
>
>I'm not sure if that's the correct way to call InviteNewMember, but 
>it worked, mostly... the invite emails went out to some test 
>addresses, but when I click the confirmation link I get:
>
>Bug in Mailman version 2.1.6
>
>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.
>
>There's nothing recent in the error log, so I'm not sure what to do next.


Find the right Mailman error log. Look in both mm_cfg.py and
Defaults.py for assignment to LOG_DIR (mm_cfg.py takes precedence).

Or edit the scripts/driver file and change

STEALTH_MODE = 1

to

STEALTH_MODE = 0

so the traceback will print on the web page.

Do other web confirmations work?

-- 
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-Developers mailing list