kalin mintchev wrote:
>
>and this - executed in the directory of the aaac list:
>who cares if s/he is a member - just get it out... why would you need to
>assertIsMember?!? doesn't make sense....


Because the method which is used to remove the member is more general
than that.


>
>[~/aaac]# grep -rl [EMAIL PROTECTED] *
>[~/aaac]# ../../bin/remove_members -a -n -N aaac
>Traceback (most recent call last):
>  File "../../bin/remove_members", line 186, in ?
>    main()
>  File "../../bin/remove_members", line 176, in main
>    admin_notif, userack)
>  File "/var/mailman/Mailman/MailList.py", line 990, in ApprovedDeleteMember
>    self.removeMember(emailaddr)
>  File "/var/mailman/Mailman/OldStyleMemberships.py", line 220, in
>removeMember
>    self.__assertIsMember(member)
>  File "/var/mailman/Mailman/OldStyleMemberships.py", line 113, in
>__assertIsMember
>    raise Errors.NotAMemberError, member
>Mailman.Errors.NotAMemberError: [EMAIL PROTECTED]



It appears something is messed up in the lists config.pck or perhaps
there is a transparent character or something similar in the actual
member address.

Try:

bin/withlist aaac
Loading list aaac (unlocked)
The variable `m' is the aaac MailList instance
>>>m.getMembers()

and see what is returned (type control-D to the next >>> prompt)

Or try bin/dumpdb lists/aaac/config.pck and look at the lists

'members':

and

'digest_members':

If possible, do this from a terminal/console that can display
'transparent' characters.

OTOH, since you've already blown off the membership, why not just use
bin/config_list -o to dump the configuration, and remove, recreate the
list, and use bin/config_list -i to reconfigure the list?

Or you can do

bin/withlist -l aaac
Loading list aaac (locked)
The variable `m' is the aaac MailList instance
>>>m.members = {}
>>>m.digest_members = {}
>>>m.language = {}
>>>m.passwords = {}
>>>m.user_options = {}
>>>m.usernames = {}
>>>m.Save()
>>>                  (enter control-D here)



--
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