dogtail-devel [Bug 320561] New: unable to execute dogtail in CJK locale



Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=320561
 dogtail | Framework | Ver: CVS HEAD

           Summary: unable to execute dogtail in CJK locale
           Product: dogtail
           Version: CVS HEAD
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: Framework
        AssignedTo: dogtail-maint gnome bugs
        ReportedBy: llim redhat com
         QAContact: dogtail-maint gnome bugs
                CC: all-bugs bugzilla gnome org


Please describe the problem:
Seems dogtail is unable to support chars outside ASCII range, as a result,
dogtail cannot be execute properly in CJK locale.

Steps to reproduce:
1. evolution --force-shutdown
2. LANG=zh_TW.UTF-8 evolution &
3. LANG=zh_TW.UTF-8 python evolution-test-switching-components.py


Actual results:
Traceback (most recent call last):
  File "<string>", line 1, in ?
  File "/usr/lib64/python2.4/gettext.py", line 517, in dgettext
    codeset=_localecodesets.get(domain))
  File "/usr/lib64/python2.4/gettext.py", line 465, in translation
    t = _translations.setdefault(key, class_(open(mofile, 'rb')))
  File "/usr/lib64/python2.4/gettext.py", line 177, in __init__
    self._parse(fp)
  File "/usr/lib64/python2.4/gettext.py", line 324, in _parse
    tmsg = unicode(tmsg, self._charset)
LookupError: unknown encoding: CHARSET

Expected results:
See screenshots

Does this happen every time?
YES

Other information:
Created a patch to workaround the issue. Hope it helps.

------- You are receiving this mail because: -------
You are watching the assignee for the bug.
You are watching the QA contact.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]