[Mailman-Users] Hit a but & use of VERP

Mark Sapiro msapiro at value.net
Wed Nov 8 16:44:07 CET 2006

Henrik Rasmussen wrote:
>Problem 2) When calling
>[mailmanserver]/mailman/options/nyhedsbrev/michaelh at telia.com
><mailto:mailserver/mailman/options/nyhedsbrev/michaelh at telia.com>  and
>other addresses, I get the message
>We're sorry, we hit a bug!
>This is described a lot of places, but not exactly my problem (maybe I
>just didn't find it yet).
>The error log shows:
>admin(1354): [----- Traceback ------]
>admin(1354): Traceback (most recent call last):
>admin(1354):   File "/usr/lib/mailman/scripts/driver", line 101, in
>admin(1354):     main()
>admin(1354):   File "/usr/lib/mailman/Mailman/Cgi/options.py", line 239,
>in main
>admin(1354):     loginpage(mlist, doc, user, language)
>admin(1354):   File "/usr/lib/mailman/Mailman/Cgi/options.py", line 813,
>in loginpage
>admin(1354):     table.AddRow([_("""In order to change your membership
>option, you must
>admin(1354):   File "/usr/lib/mailman/Mailman/i18n.py", line 89, in _
>admin(1354):     return tns % dict
>admin(1354): ValueError: unsupported format character 'p' (0x70) at
>index 105

The code at line 813 in options.py in the 2.1.5 base is (with some
lisnes wrapped)

    table.AddRow([_("""In order to change your membership option, you
    first log in by giving your %(extra)smembership password in the
    below.  If you don't remember your membership password, you can
have it
    emailed to you by clicking on the button below.  If you just want to
    unsubscribe from this list, click on the <em>Unsubscribe</em>
button and a
    confirmation message will be sent to you.

    <p><strong><em>Important:</em></strong> From this point on, you
must have
    cookies enabled in your browser, otherwise none of your changes
will take

It appears that this has been edited in the area of
"%(extra)smembership password" creating something like %(......)p

The "%(extra)s" is a substitution that receives either "email address
and " or nothing depending on context. It can be deleted, but it can't
be changed.

Mark Sapiro <msapiro at value.net>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

More information about the Mailman-Users mailing list