[Mailman-Users] doesn't work...
Mark Sapiro
msapiro at value.net
Fri Sep 30 03:56:47 CEST 2005
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 johnwang at aabdc.com *
>[~/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: johnwang at aabdc.com
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 <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