Package: ibus-table-translit
Version: 1.3.0.20100528-2
Severity: normal

I do not know the actual use experience problem but here is the build
log with the latest ibus-table package (I think this is due to the early
2011 updates which introduced ascii character check as seen on blame
list in git VCS).

| make[2]: Entering directory 
`/tmp/buildd/ibus-table-others-1.3.0.20100528/tables'
| /usr/bin/ibus-table-createdb  -n compose.db -s compose.txt
| /usr/bin/ibus-table-createdb  -n ipa-x-sampa.db -s ipa-x-sampa.txt
| /usr/bin/ibus-table-createdb  -n translit.db -s translit.txt
| Traceback (most recent call last):
|   File "/usr/share/ibus-table/engine/tabdict.py", line 62, in __init__
|     self._key_id = tab_dict[xm_key]
| KeyError: u'\xf6'
| Traceback (most recent call last):
|   File "/usr/share/ibus-table/engine/tabdict.py", line 62, in __init__
|     self._key_id = tab_dict[xm_key]
| KeyError: u'\xe4'
| Traceback (most recent call last):
|   File "/usr/share/ibus-table/engine/tabdict.py", line 62, in __init__
|     self._key_id = tab_dict[xm_key]
| KeyError: u'\xfc'
| ö is not in tab_dict
| ä is not in tab_dict
| ü is not in tab_dict
| /usr/bin/ibus-table-createdb  -n translit-ua.db -s translit-ua.txt

/usr/share/ibus-table/engine/tabcreatedb.py  has:

| def gconf_valid_keyname(kn):
|     """
|     Keynames must be ascii, and must not contain any invalid characters
| 
|     >>> gconf_valid_keyname('nyannyan')
|     True
| 
|     >>> gconf_valid_keyname('nyan nyan')
|     False
| 
|     >>> gconf_valid_keyname('nyannyan[')
|     False
| 
|     >>> gconf_valid_keyname('nyan\tnyan')
|     False
|     """
|     return not any(c in _invalid_keyname_chars or ord(c) > 127 for c in kn)
| 
| class InvalidTableName(Exception):
|     """
|     Raised when an invalid table name is given
|     """
|     def __init__(self, name):
|         self.table_name = name
| 
|     def __str__(self):
|         return 'Value of NAME attribute (%s) cannot contain any of %r and 
must be all ascii' % (self.table_name, _invalid_keyname_chars)
| 


So this is bug on translit.txt.

I guess patch to remove non-ascii entry should be sufficient.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (10, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ibus-table-translit depends on:
ii  ibus-table  1.3.9.20110827-1

ibus-table-translit recommends no packages.

ibus-table-translit suggests no packages.

-- no debconf information



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to