On 5/13/24 02:20, incoming-pythonli...@rjl.com wrote:
I have a backup of an older mailman 2 system that is no longer
bootable. In order to recover the mailing lists I am looking to get
something like the output to list_members -f and the .cfg files if
possible. I have access to systems with python 2.7.18 and python 2.6.6
installed.
I tried running list_members and got the following error:
Traceback (most recent call last):
File "./list_members", line 73, in <module>
import paths
File "/oldroot/usr/lib/mailman/bin/paths.py", line 56, in <module>
import japanese
ImportError: No module named japanese
If you are doing this on Python 2.7.18, this shouldn't be happening. I
don't know what version of paths.py you have, but the current one has
code beginning at
https://bazaar.launchpad.net/~mailman-coders/mailman/2.1/view/head:/misc/paths.py.in#L38
which should be setting jaok and kook = True and the imports of
japanese, korean and korean.aliases should be conditional on those being
False.
In any case, you can just remove those imports from
/oldroot/usr/lib/mailman/bin/paths.py.
--
Mark Sapiro <m...@msapiro.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
------------------------------------------------------
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
https://mail.python.org/archives/list/mailman-users@python.org/
Member address: arch...@mail-archive.com