[Mailman-Users] Re: recovering mailing list members and .cfg files

2024-05-13 Thread Mark Sapiro

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 
     import paths
   File "/oldroot/usr/lib/mailman/bin/paths.py", line 56, in 
     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 The highway is for gamblers,
San Francisco Bay Area, Californiabetter 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


[Mailman-Users] recovering mailing list members and .cfg files

2024-05-13 Thread incoming-pythonlists
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 
    import paths
  File "/oldroot/usr/lib/mailman/bin/paths.py", line 56, in 
    import japanese
ImportError: No module named japanese

I tried searching for a japanese module but the output I get is in
Japanese, so I can't read it. I'm not sure if resolving this module
would allow the list_members script to run.  I would appreciate any
suggestions on how to proceed with this.

Thank You,

Nataraj



--
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...@jab.org