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.


>Traceback (most recent call last):
>
>  File "./reset_pw.py", line 41, in <module>
>
>    from Mailman.i18n import _C
>ImportError: cannot import name _C


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_pw.py>.
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 <[email protected]>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list [email protected]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to