Hello,
I just tried to upgrade to the current CVS, and I'm stuck with this error:
Traceback (most recent call last): File "bin/update", line 48, in ? from Mailman import MailList File "/usr/local/mailman/Mailman/MailList.py", line 49, in ? from Mailman.Archiver import Archiver File "/usr/local/mailman/Mailman/Archiver/__init__.py", line 17, in ? from Archiver import * File "/usr/local/mailman/Mailman/Archiver/Archiver.py", line 36, in ? from Mailman.i18n import _ File "/usr/local/mailman/Mailman/i18n.py", line 52, in ? set_language() File "/usr/local/mailman/Mailman/i18n.py", line 35, in set_language language) File "/usr/lib/python2.1/gettext.py", line 245, in translation t = _translations.setdefault(key, class_(open(mofile, 'rb'))) File "/usr/lib/python2.1/gettext.py", line 106, in __init__ self._parse(fp) File "/usr/lib/python2.1/gettext.py", line 180, in _parse k, v = item.split(':', 1) ValueError: unpack list of wrong size make: *** [update] Erreur 1
File "/usr/lib/python2.1/gettext.py", line 180, in _parse k, v = item.split(':', 1) ValueError: unpack list of wrong size make: *** [update] Erreur 1
I upgraded to Python2.2, to no avail :
File "/usr/lib/python2.2/gettext.py", line 180, in _parse k, v = item.split(':', 1) ValueError: unpack list of wrong size make: *** [update] Erreur 1
-- Fil
I upgraded to Python2.2, to no avail :
File "/usr/lib/python2.2/gettext.py", line 180, in _parse k, v = item.split(':', 1) ValueError: unpack list of wrong size make: *** [update] Erreur 1
One of the .mo files must be corrupt, as I did a "cvs -D '1 month ago'" on the messages/ folder and was able to compile and run.
-- Fil
I've fixed the French catalog and submitted a bug report on gettext.py for the Python project (I don't have time to fix that now).
Will be checking in updates shortly.
-Barry
I've fixed the French catalog and submitted a bug report on gettext.py for the Python project (I don't have time to fix that now).
Great! It works. I have another one now (current cvs), when doing list_members, it fails on three lists with:
Traceback (most recent call last): File "/home/mailman/bin/list_members", line 232, in ? main() File "/home/mailman/bin/list_members", line 207, in main s = formataddr((name, addr)).encode(enc, 'replace') UnicodeError: ASCII decoding error: ordinal not in range(128)
-- Fil
Great! It works. I have another one now (current cvs), when doing list_members, it fails on three lists with:
Traceback (most recent call last): File "/home/mailman/bin/list_members", line 232, in ? main() File "/home/mailman/bin/list_members", line 207, in main s = formataddr((name, addr)).encode(enc, 'replace') UnicodeError: ASCII decoding error: ordinal not in range(128)
It comes from an address that is registered as <béa_xxxxxx@xxxxxx.com> ; it seems that Mailman hasn't anticipated that an accent would creep in ;-)
-- Fil
participants (2)
-
barry@python.org
-
Fil