
Running mailman 2.1.12 on RHEL6. Imported lists from a RHEL5 server running mailman 2.1.9.
Mailman itself seems to be running fine. It's a fairly large installation with over 760 lists, and messages sent to lists I subscribe to on the server are sent and received as expected.
I need to reset a list password, but when I run ./reset_pw.py, I get a python error:
Traceback (most recent call last):
File "./reset_pw.py", line 41, in <module>
from Mailman.i18n import _C
ImportError: cannot import name _C
I ran python interactively from the bin/ directory, and manually importing path, Mailman, and Mailman.i18n worked fine, but then trying "from Mailman.i18n import _C" interactively fails.
Thanks!

Lummoxx wrote:
I need to reset a list password, but when I run ./reset_pw.py, I get a python error:
This is not the way to run reset_pw.py.
You run it with 'withlist', but there is some issue with your copy of reset_pw.py. Running it via ./reset_pw.py hould produce usage instructions, not a traceback.
Your copy of reset_pw.py is corrupted somehow. Line 41 in the file should be
from Mailman.i18n import _
(no C at the end). Get a clean copy at <http://bazaar.launchpad.net/~mailman-coders/mailman/2.1/view/head:/bin/reset...>. Note this is an 'unconfigured' file. replace @PYTHON@ on the first line with /usr/bin/python or whatever the path to the python used by Mailman is.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

Lummoxx wrote:
I need to reset a list password, but when I run ./reset_pw.py, I get a python error:
This is not the way to run reset_pw.py.
You run it with 'withlist', but there is some issue with your copy of reset_pw.py. Running it via ./reset_pw.py hould produce usage instructions, not a traceback.
Your copy of reset_pw.py is corrupted somehow. Line 41 in the file should be
from Mailman.i18n import _
(no C at the end). Get a clean copy at <http://bazaar.launchpad.net/~mailman-coders/mailman/2.1/view/head:/bin/reset...>. Note this is an 'unconfigured' file. replace @PYTHON@ on the first line with /usr/bin/python or whatever the path to the python used by Mailman is.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Lummoxx
-
Mark Sapiro