Bug 1198683

Summary: [abrt] ibus-cangjie: errors.pyx:53:cangjie.errors.handle_error_code (src/cangjie/errors.c:1102):cangjie.errors.CangjieNoCharsError: No characters found
Product: [Fedora] Fedora Reporter: Mike FABIAN <mfabian>
Component: ibus-cangjieAssignee: Mathieu Bridon <bochecha>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: bochecha, mbridon
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/9fc2e83db50ffcd2433416cb53fccf1e3bb7b5b0
Whiteboard: abrt_hash:dfa5836891c691cd55cd7c93964c8a415a43bd77
Fixed In Version: ibus-cangjie-2.3-1.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-13 16:54:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: environ none

Description Mike FABIAN 2015-03-04 15:54:33 UTC
Version-Release number of selected component:
ibus-cangjie-2.2-4.fc22

Additional info:
reporter:       libreport-2.4.0
cmdline:        /usr/bin/python3 /usr/lib/ibus-cangjie/ibus-engine-cangjie --ibus cangjie
executable:     /usr/lib/ibus-cangjie/ibus-engine-cangjie
kernel:         4.0.0-0.rc1.git0.1.fc22.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
errors.pyx:53:cangjie.errors.handle_error_code (src/cangjie/errors.c:1102):cangjie.errors.CangjieNoCharsError: No characters found

Traceback (most recent call last):
  File "/usr/lib/python3.4/site-packages/ibus_cangjie/engine.py", line 337, in do_process_key_event
    return self.do_other_key(keyval)
  File "/usr/lib/python3.4/site-packages/ibus_cangjie/engine.py", line 252, in do_other_key
    self.get_candidates()
  File "/usr/lib/python3.4/site-packages/ibus_cangjie/engine.py", line 392, in get_candidates
    chars = self.cangjie.get_characters(code)
  File "_core.pyx", line 127, in cangjie._core.Cangjie.get_characters (src/cangjie/_core.c:2395)
  File "errors.pyx", line 53, in cangjie.errors.handle_error_code (src/cangjie/errors.c:1102)
cangjie.errors.CangjieNoCharsError: No characters found

Local variables in innermost frame:
handle_error_code: <built-in function handle_error_code>
CangjieMemoryError: <class 'cangjie.errors.CangjieMemoryError'>
CangjieInvalidInputError: <class 'cangjie.errors.CangjieInvalidInputError'>
__loader__: <_frozen_importlib.ExtensionFileLoader object at 0x7f71b745d748>
__package__: 'cangjie'
CangjieDBOpenError: <class 'cangjie.errors.CangjieDBOpenError'>
CangjieError: <class 'cangjie.errors.CangjieError'>
CangjieNoCharsError: <class 'cangjie.errors.CangjieNoCharsError'>
__spec__: ModuleSpec(name='cangjie.errors', loader=<_frozen_importlib.ExtensionFileLoader object at 0x7f71b745d748>, origin='/usr/lib64/python3.4/site-packages/cangjie/errors.so')
__file__: '/usr/lib64/python3.4/site-packages/cangjie/errors.so'
CangjieDBError: <class 'cangjie.errors.CangjieDBError'>
__builtins__: <module 'builtins' (built-in)>
__name__: 'cangjie.errors'
__test__: {}
__doc__: None

Comment 1 Mike FABIAN 2015-03-04 15:54:35 UTC
Created attachment 997930 [details]
File: backtrace

Comment 2 Mike FABIAN 2015-03-04 15:54:37 UTC
Created attachment 997931 [details]
File: environ

Comment 3 Mathieu Bridon 2015-03-05 01:44:53 UTC
Pretty sure this is https://github.com/Cangjians/ibus-cangjie/issues/57

Which is great, because it's already fixed in 2.3 :)

Comment 4 Fedora Update System 2015-03-05 01:45:55 UTC
ibus-cangjie-2.3-1.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/FEDORA-2015-3137/ibus-cangjie-2.3-1.fc22

Comment 5 Fedora Update System 2015-03-05 01:54:18 UTC
ibus-cangjie-2.3-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/ibus-cangjie-2.3-1.fc21

Comment 6 Fedora Update System 2015-03-05 12:34:40 UTC
Package ibus-cangjie-2.3-1.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing ibus-cangjie-2.3-1.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-3195/ibus-cangjie-2.3-1.fc21
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2015-03-13 16:54:49 UTC
ibus-cangjie-2.3-1.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2015-03-13 17:02:40 UTC
ibus-cangjie-2.3-1.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.