[Fedora-i18n-bugs] [Bug 647804] New: [abrt] ibus-anthy-1.2.3-2.fc13: segment.py:67:to_katakana:UnicodeDecodeError: 'utf8' codec can't decode byte 0xe3 in position 0: unexpected end of data

bugzilla at redhat.com bugzilla at redhat.com
Fri Oct 29 14:16:57 UTC 2010


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.

Summary: [abrt] ibus-anthy-1.2.3-2.fc13: segment.py:67:to_katakana:UnicodeDecodeError: 'utf8' codec can't decode byte 0xe3 in position 0: unexpected end of data

https://bugzilla.redhat.com/show_bug.cgi?id=647804

           Summary: [abrt] ibus-anthy-1.2.3-2.fc13:
                    segment.py:67:to_katakana:UnicodeDecodeError: 'utf8'
                    codec can't decode byte 0xe3 in position 0: unexpected
                    end of data
           Product: Fedora
           Version: 13
          Platform: x86_64
        OS/Version: Unspecified
            Status: NEW
 Status Whiteboard: abrt_hash:487193fc
          Severity: medium
          Priority: low
         Component: ibus-anthy
        AssignedTo: tfujiwar at redhat.com
        ReportedBy: keke at gol.com
         QAContact: extras-qa at fedoraproject.org
                CC: tagoh at redhat.com, tfujiwar at redhat.com,
                    i18n-bugs at lists.fedoraproject.org,
                    shawn.p.huang at gmail.com
    Classification: Fedora


abrt version: 1.1.13
architecture: x86_64
cmdline: python /usr/share/ibus-anthy/engine/main.py --ibus
component: ibus-anthy
executable: /usr/share/ibus-anthy/engine/main.py
kernel: 2.6.36+
package: ibus-anthy-1.2.3-2.fc13
reason: segment.py:67:to_katakana:UnicodeDecodeError: 'utf8' codec can't decode
byte 0xe3 in position 0: unexpected end of data
release: Fedora release 13 (Goddard)
time: 1288361383
uid: 1000

backtrace
-----
segment.py:67:to_katakana:UnicodeDecodeError: 'utf8' codec can't decode byte
0xe3 in position 0: unexpected end of data

Traceback (most recent call last):
  File "/usr/share/ibus-anthy/engine/engine.py", line 990, in __update
    self.__update_convert_chars()
  File "/usr/share/ibus-anthy/engine/engine.py", line 920, in
__update_convert_chars
    text, cursor = self.__preedit_ja_string.get_katakana(True)
  File "/usr/share/ibus-anthy/engine/jastring.py", line 232, in get_katakana
    text_before = R(u"".join(map(conv, self.__segments[:self.__cursor])))
  File "/usr/share/ibus-anthy/engine/jastring.py", line 230, in <lambda>
    conv = lambda s: s.to_katakana()
  File "/usr/share/ibus-anthy/engine/segment.py", line 67, in to_katakana
    return u"".join(map(lambda c: hiragana_katakana_table.get(c, (c, c, c))[0],
self._jachars))
UnicodeDecodeError: 'utf8' codec can't decode byte 0xe3 in position 0:
unexpected end of data

Local variables in innermost frame:
self: <romaji.RomajiSegment object at 0x1479390>

How to reproduce
-----
1. Type some hiragana chars (with romaji method)
2. Try to convert them into katakana with shortcut (control+K in my case)

--> crash

Reproduceable consistently.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the i18n-bugs mailing list