Rick Pasotto wrote:

>On Mon, Mar 19, 2007 at 03:41:31PM -0700, Mark Sapiro wrote:
>> 
>> And what is the traceback from this error in Mailman's error log.
>
>Here it is:
>
>Mar 20 12:33:53 2007 admin(13911): 
>@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 
>admin(13911): [----- Mailman Version: 2.1.9 -----] 
>admin(13911): [----- Traceback ------] 
>admin(13911): Traceback (most recent call last):
>admin(13911):   File "/var/lib/mailman/scripts/driver", line 110, in run_main
>admin(13911):     main()
>admin(13911):   File "/usr/lib/mailman/Mailman/Cgi/admin.py", line 197, in main
>admin(13911):     show_results(mlist, doc, category, subcat, cgidata)
>admin(13911):   File "/usr/lib/mailman/Mailman/Cgi/admin.py", line 497, in 
>show_results
>admin(13911):     form.AddItem(membership_options(mlist, subcat, cgidata, doc, 
>form))
>admin(13911):   File "/usr/lib/mailman/Mailman/Cgi/admin.py", line 978, in 
>membership_options
>admin(13911):     names = filter(None, [mlist.getMemberName(s) for s in 
>members])
>admin(13911):   File "/usr/lib/mailman/Mailman/OldStyleMemberships.py", line 
>131, in getMemberName
>admin(13911):     self.__assertIsMember(member)
>admin(13911):   File "/usr/lib/mailman/Mailman/OldStyleMemberships.py", line 
>113, in __assertIsMember
>admin(13911):     raise Errors.NotAMemberError, member
>admin(13911): NotAMemberError: [EMAIL PROTECTED]



The problem is the upper case letters in the domain. This shouldn't
happen, but there may be a mailman bug. I don't see a problem in the
code, but there may be.

You can see the issue with bin/dumpdb or bin/withlist, and fix it with
withlist. The list's members (or digest_members) dictionary should
have the key:value pair

'[EMAIL PROTECTED]':'[EMAIL PROTECTED]'

for this member. There should be no upper case in the key. It might
also be a good idea to do

  bin/dumpdb lists/listname/config.pck | grep EthanAllen

to make sure there are no other upper case entries.

Assuming the only problem is that the entry in the members (or
digest_members) dictionary is either

'[EMAIL PROTECTED]':0

or

'[EMAIL PROTECTED]':'[EMAIL PROTECTED]'

you can fix it with withlist. Start withlist with

bin/withlist -l listname

Then do the following (assuming a regular member)

m.members['[EMAIL PROTECTED]'] = \
    '[EMAIL PROTECTED]'
del m.members['[EMAIL PROTECTED]']
m.Save()

(control-D to exit)

If you don't care about preserving case in the domain, the first two
lines could be replaced by

m.members['[EMAIL PROTECTED]'] = 0



>> <http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq03.013.htp>
>> may help.
>
>I don't see why you would think so.
>
>'bin/list_members -i listname' returns nothing.


But if it had returned something, it would have been helpful ;-)

-- 
Mark Sapiro <[EMAIL PROTECTED]>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&amp;file=faq01.027.htp

Reply via email to