Bug 911487

Summary: Non-Chinese tables from the ibus-table-other package do not work
Product: [Fedora] Fedora Reporter: Mike FABIAN <mfabian>
Component: ibus-tableAssignee: Mike FABIAN <mfabian>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: dchen, i18n-bugs, K9, kent.neo, mfabian, pwu, shawn.p.huang
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-02 20:00:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mike FABIAN 2013-02-15 07:23:42 UTC
If self.update_property(self._cmode_property) is called for tables
which are not Chinese, like translit.txt (LANGUAGES = ru_RU)
or ipa-x-sampa.txt (LANGUAGES=other), these input methods don’t work
because then there is no _cmode_property. Fails then with the error:

fail to create engine ipa-x-sampa
Traceback (most recent call last):
  File "/usr/share/ibus-table/engine/factory.py", line 90, in do_create_engine
    + str(self.engine_id), self.dbdict[name])
  File "/usr/share/ibus-table/engine/table.py", line 1165, in __init__

  File "/usr/share/ibus-table/engine/table.py", line 1173, in reset
    self._update_ui ()
  File "/usr/share/ibus-table/engine/table.py", line 1235, in _init_properties

  File "/usr/share/ibus-table/engine/table.py", line 1291, in _refresh_properties

AttributeError: 'tabengine' object has no attribute '_cmode_property'
Traceback (most recent call last):
  File "/usr/share/ibus-table/engine/factory.py", line 98, in do_create_engine
    raise Exception("Can not create engine %s" % engine_name)
Exception: Can not create engine ipa-x-sampa

Here is a fix:

https://github.com/mike-fabian/ibus-table/commit/573da2ededdb96dc4f6ef6b515a43f416b183e7a

Comment 1 Fedora Update System 2013-02-15 08:43:09 UTC
ibus-table-1.5.0-2.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/ibus-table-1.5.0-2.fc18

Comment 2 Fedora Update System 2013-02-15 10:37:04 UTC
ibus-table-1.5.0-2.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/ibus-table-1.5.0-2.fc17

Comment 3 Fedora Update System 2013-02-16 00:54:48 UTC
Package ibus-table-1.5.0-2.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing ibus-table-1.5.0-2.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-2515/ibus-table-1.5.0-2.fc17
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2013-03-02 20:00:39 UTC
ibus-table-1.5.0-2.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Fedora Update System 2013-03-02 20:21:06 UTC
ibus-table-1.5.0-2.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.