Mark-
Thanks for offering a solution.
I did edit the source as follows:
text += Utils.maketext(
'subscribeack.txt',
{'real_name' : self.real_name,
'host_name' : self.host_name,
'welcome' : welcome,
'umbrella' : umbrella,
'emailaddr' : self.GetListEmail(),
'listinfo_url': self.GetScriptURL('listinfo', absolute=True),
'optionsurl' : self.GetOptionsURL(name, absolute=True),
'password' : password,
'user' : self.getMemberCPAddress(name),
'username' : self.getMemberName(),
}, lang=pluser, mlist=self)
With the patched version, after I subscribe a user, I get this in the browser:
Bug in Mailman version 2.1.13
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.
I believe the 'username' line was added correctly.
I looked through logs and didn't see anything interesting...
Any advice appreciated
Thanks
Jeff
On Jun 8, 2010, at 11:31 PM, Mark Sapiro wrote:
> Mark Sapiro wrote:
>>
>> If you can patch the code, you could make %(username)s work by adding
>>
>> 'username' : self.getMemberName(),
>>
>> to the dictionary passed to Utils.maketext() in the definition of the
>> SendSubscribeAck() method of the Deliverer class in
>> Mailman/Deliverer.py.
>
>
> Ooops! That should be
>
> 'username' : self.getMemberName(name),
>
> Sorry for any confusion.
>
> --
> Mark Sapiro <[email protected]> The highway is for gamblers,
> San Francisco Bay Area, California better use your sense - B. Dylan
>
------------------------------------------------------
Mailman-Users mailing list [email protected]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe:
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org