FAQ
We allow our Mailman users to choose between English and Hebrew.

When one of our users tried to access the "options" page of the
list, he received:

Bug in Mailman version 2.1.11

We're sorry, we hit a bug!

Looking in the logs I found that the ``bottom line'' was the error:

ValueError: unsupported format character '\xd7' (0xffffffd7) at index 139

Full log attached.

Any ideas?

Thanks,
Ephraim
___________________________________________________________________________
Ephraim Silverberg, CSE System Group, Phone number: 972-2-6585521
Hebrew University, Jerusalem, Israel. Fax number: 972-2-5617723
WWW: http://www.cs.huji.ac.il/~ephraim E-mail: ephraim at cse.huji.ac.il
-------------- next part --------------
Jan 28 15:31:08 2009 admin(7066): @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
admin(7066): [----- Mailman Version: 2.1.11 -----]
admin(7066): [----- Traceback ------]
admin(7066): Traceback (most recent call last):
admin(7066): File "/cs/share/mailman/scripts/driver", line 101, in run_main
admin(7066): main()
admin(7066): File "/cs/share/mailman/Mailman/Cgi/options.py", line 255, in main
admin(7066): loginpage(mlist, doc, user, language)
admin(7066): File "/cs/share/mailman/Mailman/Cgi/options.py", line 886, in loginpage
admin(7066): """)])
admin(7066): File "/cs/share/mailman/Mailman/i18n.py", line 90, in _
admin(7066): return tns % dict
admin(7066): ValueError: unsupported format character '?' (0xffffffd7) at index 139
admin(7066): [----- Python Information -----]
admin(7066): sys.version = 2.5.1 (r251:54863, Dec 21 2007, 11:25:20)
[GCC 4.2.1 20070719 [FreeBSD]]
admin(7066): sys.executable = /usr/local/bin/python
admin(7066): sys.prefix = /usr/local
admin(7066): sys.exec_prefix = /usr/local
admin(7066): sys.path = /usr/local
admin(7066): sys.platform = freebsd7
admin(7066): [----- Environment Variables -----]
admin(7066): HTTP_REFERER: http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
admin(7066): SERVER_SOFTWARE: Apache/2.2.8 (FreeBSD) mod_ssl/2.2.8 OpenSSL/0.9.8e DAV/2 PHP/5.2.6 with Suhosin-Patch SVN/1.4.6 mod_perl/2.0.3 Perl/v5.8.8
admin(7066): SCRIPT_NAME: /mailman/options
admin(7066): SERVER_SIGNATURE:
admin(7066): REQUEST_METHOD: POST
admin(7066): HTTP_KEEP_ALIVE: 300
admin(7066): SERVER_PROTOCOL: HTTP/1.1
admin(7066): QUERY_STRING:
admin(7066): CONTENT_LENGTH: 172
admin(7066): HTTP_ACCEPT_CHARSET: windows-1255,utf-8;q=0.7,*;q=0.7
admin(7066): HTTP_USER_AGENT: Mozilla/5.0 (X11; U; Linux x86_64; he-IL; rv:1.9.0.4) Gecko/2008112309 Iceweasel/3.0.4 (Debian-3.0.4-1)
admin(7066): HTTP_CONNECTION: keep-alive
admin(7066): SERVER_NAME: mailman.cs.huji.ac.il
admin(7066): REMOTE_ADDR: 62.90.10.53
admin(7066): PATH_TRANSLATED: /linux-il
admin(7066): SERVER_PORT: 80
admin(7066): SERVER_ADDR: 132.65.16.113
admin(7066): DOCUMENT_ROOT: /
admin(7066): PYTHONPATH: /cs/share/mailman
admin(7066): SCRIPT_FILENAME: /cs/share/mailman/cgi-bin/options
admin(7066): SERVER_ADMIN: webmaster at cs.huji.ac.il
admin(7066): HTTP_HOST: mailman.cs.huji.ac.il
admin(7066): REQUEST_URI: /mailman/options/linux-il
admin(7066): HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
admin(7066): GATEWAY_INTERFACE: CGI/1.1
admin(7066): REMOTE_PORT: 34189
admin(7066): HTTP_ACCEPT_LANGUAGE: he,en-US;q=0.7,en;q=0.3
admin(7066): CONTENT_TYPE: application/x-www-form-urlencoded
admin(7066): HTTP_ACCEPT_ENCODING: gzip,deflate
admin(7066): UNIQUE_ID: @-cfw4RBEFMAABuKpeMAAAAQ
admin(7066): PATH_INFO: /linux-il
Jan 28 15:32:18 2009 admin(7244): @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
admin(7244): [----- Mailman Version: 2.1.11 -----]
admin(7244): [----- Traceback ------]
admin(7244): Traceback (most recent call last):
admin(7244): File "/cs/share/mailman/scripts/driver", line 101, in run_main
admin(7244): main()
admin(7244): File "/cs/share/mailman/Mailman/Cgi/options.py", line 255, in main
admin(7244): loginpage(mlist, doc, user, language)
admin(7244): File "/cs/share/mailman/Mailman/Cgi/options.py", line 886, in loginpage
admin(7244): """)])
admin(7244): File "/cs/share/mailman/Mailman/i18n.py", line 90, in _
admin(7244): return tns % dict
admin(7244): ValueError: unsupported format character '?' (0xffffffd7) at index 139
admin(7244): [----- Python Information -----]
admin(7244): sys.version = 2.5.1 (r251:54863, Dec 21 2007, 11:25:20)
[GCC 4.2.1 20070719 [FreeBSD]]
admin(7244): sys.executable = /usr/local/bin/python
admin(7244): sys.prefix = /usr/local
admin(7244): sys.exec_prefix = /usr/local
admin(7244): sys.path = /usr/local
admin(7244): sys.platform = freebsd7
admin(7244): [----- Environment Variables -----]
admin(7244): HTTP_REFERER: http://mailman.cs.huji.ac.il/mailman/options/linux-il
admin(7244): SERVER_SOFTWARE: Apache/2.2.8 (FreeBSD) mod_ssl/2.2.8 OpenSSL/0.9.8e DAV/2 PHP/5.2.6 with Suhosin-Patch SVN/1.4.6 mod_perl/2.0.3 Perl/v5.8.8
admin(7244): SCRIPT_NAME: /mailman/options
admin(7244): SERVER_SIGNATURE:
admin(7244): REQUEST_METHOD: POST
admin(7244): HTTP_KEEP_ALIVE: 300
admin(7244): SERVER_PROTOCOL: HTTP/1.1
admin(7244): QUERY_STRING:
admin(7244): CONTENT_LENGTH: 75
admin(7244): HTTP_ACCEPT_CHARSET: windows-1255,utf-8;q=0.7,*;q=0.7
admin(7244): HTTP_USER_AGENT: Mozilla/5.0 (X11; U; Linux x86_64; he-IL; rv:1.9.0.4) Gecko/2008112309 Iceweasel/3.0.4 (Debian-3.0.4-1)
admin(7244): HTTP_CONNECTION: keep-alive
admin(7244): SERVER_NAME: mailman.cs.huji.ac.il
admin(7244): REMOTE_ADDR: 62.90.10.53
admin(7244): PATH_TRANSLATED: /linux-il
admin(7244): SERVER_PORT: 80
admin(7244): SERVER_ADDR: 132.65.16.113
admin(7244): DOCUMENT_ROOT: /
admin(7244): PYTHONPATH: /cs/share/mailman
admin(7244): SCRIPT_FILENAME: /cs/share/mailman/cgi-bin/options
admin(7244): SERVER_ADMIN: webmaster at cs.huji.ac.il
admin(7244): HTTP_HOST: mailman.cs.huji.ac.il
admin(7244): REQUEST_URI: /mailman/options/linux-il
admin(7244): HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
admin(7244): GATEWAY_INTERFACE: CGI/1.1
admin(7244): REMOTE_PORT: 34006
admin(7244): HTTP_ACCEPT_LANGUAGE: he,en-US;q=0.7,en;q=0.3
admin(7244): CONTENT_TYPE: application/x-www-form-urlencoded
admin(7244): HTTP_ACCEPT_ENCODING: gzip,deflate
admin(7244): UNIQUE_ID: ACc43YRBEFMAABwR3bIAAAAF
admin(7244): PATH_INFO: /linux-il

Search Discussions

  • Mark Sapiro at Jan 29, 2009 at 3:32 pm

    Ephraim Silverberg wrote:
    Looking in the logs I found that the ``bottom line'' was the error:

    ValueError: unsupported format character '\xd7' (0xffffffd7) at index 139

    Full log attached.

    There is an error in the Hebrew message catalog. The attached patch
    will at least fix the error.

    To apply the patch in an installed Mailman, you can apply it to the
    installed messages/he/LC_MESSAGES/mailman.po file. Then you must
    rebuild the binary messages/he/LC_MESSAGES/mailman.mo file which you
    can do with either Mailman's bin/msgfmt.py or the OS msgfmt command if
    you have it.

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

    -------------- next part --------------
    An embedded and charset-unspecified text was scrubbed...
    Name: Hebrew.patch.txt
    URL: <http://mail.python.org/pipermail/mailman-users/attachments/20090129/7e570e81/attachment.txt>

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupmailman-users @
categoriespython
postedJan 28, '09 at 2:25p
activeJan 29, '09 at 3:32p
posts2
users2
websitelist.org

2 users in discussion

Ephraim Silverberg: 1 post Mark Sapiro: 1 post

People

Translate

site design / logo © 2022 Grokbase