Hi,
I've tried to add new members to the mailing list, but I failed even if I tried 3 ways:
- manage.py shell
- invitation letter
- sending a letter to subscribe.
I try to solve it with the Python shell now. Based on this site: https://docs.mailman3.org/projects/mailman/en/latest/build/lib/mailman/model... I tried this one from Debian bash command line, but there is an error message, as you can see at the end.
# pwd /usr/share/mailman3-web # ./manage.py shell
In [1]: from mailman.interfaces.usermanager import IUserManager
In [2]: from zope.component import getUtility
In [3]: user_manager = getUtility(IUserManager)
ComponentLookupError Traceback (most recent call last) <ipython-input-3-9500ce4250f0> in <module> ----> 1 user_manager = getUtility(IUserManager)
/usr/lib/python3/dist-packages/zope/component/_api.py in getUtility(interface, name, context) 167 if utility is not None: 168 return utility --> 169 raise ComponentLookupError(interface, name) 170 171 def queryUtility(interface, name='', default=None, context=None):
ComponentLookupError: (<InterfaceClass mailman.interfaces.usermanager.IUserManager>, '')
What do I wrong. Should I stop all my mailman processes first?
Thanks, Arpad