Bug 1315061 - [abrt] ibus-cangjie: engine.py:291:do_select_candidate:OverflowError: -1 not in range 0 to 4294967295
Summary: [abrt] ibus-cangjie: engine.py:291:do_select_candidate:OverflowError: -1 not ...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: ibus-cangjie
Version: 22
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mathieu Bridon
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:5e4c2fce52bbed715eacb54c52d...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-06 11:25 UTC by chanueting
Modified: 2016-07-19 18:45 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-19 18:45:39 UTC
Type: ---


Attachments (Terms of Use)
File: backtrace (761 bytes, text/plain)
2016-03-06 11:25 UTC, chanueting
no flags Details
File: environ (903 bytes, text/plain)
2016-03-06 11:25 UTC, chanueting
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github Cangjians ibus-cangjie issues 72 0 None None None Never

Description chanueting 2016-03-06 11:25:14 UTC
Version-Release number of selected component:
ibus-cangjie-2.4-1.fc22

Additional info:
reporter:       libreport-2.6.4
cmdline:        /usr/bin/python3 /usr/lib/ibus-cangjie/ibus-engine-cangjie --ibus cangjie
executable:     /usr/lib/ibus-cangjie/ibus-engine-cangjie
kernel:         4.4.3-201.fc22.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
engine.py:291:do_select_candidate:OverflowError: -1 not in range 0 to 4294967295

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 291, in do_select_candidate
    selected = self.lookuptable.get_candidate(page_index+index-1)
OverflowError: -1 not in range 0 to 4294967295

Local variables in innermost frame:
index: 0
page_index: 0
self: <EngineCangjie object at 0x7f90d76891b0 (EngineCangjie at 0x168e370)>

Comment 1 chanueting 2016-03-06 11:25:18 UTC
Created attachment 1133469 [details]
File: backtrace

Comment 2 chanueting 2016-03-06 11:25:19 UTC
Created attachment 1133470 [details]
File: environ

Comment 3 Mathieu Bridon 2016-03-06 16:13:25 UTC
Hi, thanks for the bug report.

After a quick investigation, I could find the source of the issue and reported it upstream.

    https://github.com/Cangjians/ibus-cangjie/issues/72

We'll try to fix it there, publish a new release and then I'll update the Fedora package.

Comment 4 Fedora End Of Life 2016-07-19 18:45:39 UTC
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.