--On Thursday, March 17, 2022 12:06 PM -0700 Mark Sapiro <mark@msapiro.net> wrote:
This says that there is no Address object with the email xxxxxxxx@xxxxx.org
What do you get in
mailman shell
for>>> um = getUtility(IUserManager) >>> um.get_address('xxxxxxxx@xxxxx.org') >>> um.get_user('xxxxxxxx@xxxxx.org')
These should return an Address and a User respectively. If they don't, did you perhaps run some process to delete the user?
I've done nothing in regard to this user. Neither command returns anything.
I see it return my user object if I test with my own email address.
If the user is gone, you should be able to replace
... sub_mgr.confirm(token)
in the above with
... wfm = getUtility(IWorkflowStateManager) ... pendings.confirm(token, expunge=True) ... wfm.discard(token)
to clear the pending subscription and workflow and then be able to mass subscribe the user.
I did this, and can confirm that they no longer show up in the list of pending subscriptions via the mailman shell interface for that list.
However, if I go to mass subscribe them via the interface, I get:
HTTP Error 409: b'Subscription request already pending'
Regards, Quanah