On 11/1/25 10:20, dap1--- via Mailman-users wrote:
I'm trying to create a list (on Ubuntu) and I'm getting this:
<venv> $ python3
Python 3.12.3 (main, Aug 14 2025, 17:47:21) [GCC 13.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
owners = ['[email protected]']
from mailman.app.lifecycle import create_list
ant = create_list('[email protected]', owners)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File
"/opt/mailman/venv/lib/python3.12/site-packages/mailman/app/lifecycle.py", line
74, in create
_list
getUtility(IEmailValidator).validate(fqdn_listname)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"/opt/mailman/venv/lib/python3.12/site-packages/zope/component/_api.py", line
180, in getUtil
ity
raise ComponentLookupError(interface, name)
zope.interface.interfaces.ComponentLookupError: (<InterfaceClass
mailman.interfaces.address.IEmailVa
lidator>, '')
I'm not sure why this doesn't work, but it probably will if you do it in
`mailman shell` which defines a lot of things for you.
However, it is much simpler to just use the `mailman create` command to
create a list. See `mailman create --help`
--
Mark Sapiro <[email protected]> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
_______________________________________________
Mailman-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
Archived at:
https://lists.mailman3.org/archives/list/[email protected]/message/QYBCDEON554AYBUOGT4ZHQIOPN22IP7U/
This message sent to [email protected]