Bug 1248967 - [abrt] ibus-cangjie: engine.py:292:do_select_candidate:TypeError: Argument 1 does not allow None as a value
[abrt] ibus-cangjie: engine.py:292:do_select_candidate:TypeError: Argument 1 ...
Status: CLOSED EOL
Product: Fedora
Classification: Fedora
Component: ibus-cangjie (Show other bugs)
22
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Mathieu Bridon
Fedora Extras Quality Assurance
https://retrace.fedoraproject.org/faf...
abrt_hash:93be95fe756ce6e18219670dfd4...
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-07-31 04:45 EDT by Mathieu Bridon
Modified: 2016-07-19 13:17 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-07-19 13:17:33 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
File: backtrace (750 bytes, text/plain)
2015-07-31 04:45 EDT, Mathieu Bridon
no flags Details
File: environ (1.49 KB, text/plain)
2015-07-31 04:45 EDT, Mathieu Bridon
no flags Details

  None (edit)
Description Mathieu Bridon 2015-07-31 04:45:13 EDT
Description of problem:
There were 5 candidates on the current page of the candidate popup.

I typed "9" to select the 9th out of 5.

That triggered the crash.

Even though "9th out of 5" doesn't make much sense, ibus-cangjie shouldn't trigger a crash.

Version-Release number of selected component:
ibus-cangjie-2.4-1.fc22

Additional info:
reporter:       libreport-2.6.2
cmdline:        /usr/bin/python3 /usr/lib/ibus-cangjie/ibus-engine-cangjie --ibus quick
executable:     /usr/lib/ibus-cangjie/ibus-engine-cangjie
kernel:         4.1.2-200.fc22.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
engine.py:292:do_select_candidate:TypeError: Argument 1 does not allow None as a value

Traceback (most recent call last):
  File "/usr/lib/python3.4/site-packages/ibus_cangjie/engine.py", line 333, in do_process_key_event
    return self.do_number(keyval)
  File "/usr/lib/python3.4/site-packages/ibus_cangjie/engine.py", line 235, in do_number
    return self.do_select_candidate(int(IBus.keyval_to_unicode(keyval)))
  File "/usr/lib/python3.4/site-packages/ibus_cangjie/engine.py", line 292, in do_select_candidate
    self.commit_text(selected)
TypeError: Argument 1 does not allow None as a value

Local variables in innermost frame:
page_index: 72
index: 9
selected: None
self: <EngineQuick object at 0x7fd2074c86c0 (EngineQuick at 0x17db090)>
Comment 1 Mathieu Bridon 2015-07-31 04:45:16 EDT
Created attachment 1057988 [details]
File: backtrace
Comment 2 Mathieu Bridon 2015-07-31 04:45:17 EDT
Created attachment 1057989 [details]
File: environ
Comment 3 Fedora End Of Life 2016-07-19 13:17:33 EDT
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Note You need to log in before you can comment on or make changes to this bug.