
On 8/5/25 13:56, Wikinaut wrote:
https://dpaste.com/39ZMH3M7S (Text below)
The code works perfectly when pasted into the live shell of mailman. But not when I start "(venv) mailman withlist -r set_member_pref".
... module = import_module(module_path) File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1030, in _gcd_import File "<frozen importlib._bootstrap>", line 1007, in _find_and_load File "<frozen importlib._bootstrap>", line 984, in _find_and_load_unlocked ModuleNotFoundError: No module named 'set_members_prefs'
What is wrong? Please can anyone help?
Please see my reply at https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/...
Please can you add information in the documentation how exactly to run a script like that?
See mailman shell --details
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan