https://bugzilla.redhat.com/show_bug.cgi?id=1991620
Bug ID: 1991620 Summary: [abrt] ibus-anthy-python: __update_anthy_convert_chars(): engine.py:1278:__update_anthy_convert_chars:TypeError: can only concatenate str (not "NoneType") to str Product: Fedora Version: 34 Hardware: x86_64 Status: NEW Whiteboard: abrt_hash:adf1428823b5e645d6a3b67bae82a7aaac3b13c8;VAR IANT_ID=workstation; Component: ibus-anthy Assignee: tfujiwar@redhat.com Reporter: jacopo1.farina@gmail.com QA Contact: extras-qa@fedoraproject.org CC: i18n-bugs@lists.fedoraproject.org, shawn.p.huang@gmail.com, tagoh@redhat.com, tfujiwar@redhat.com Target Milestone: --- Classification: Fedora
Description of problem: I was writing using the IME, tried to write う and pressed tab to se the list of suggestions, then backspace to go back.
Version-Release number of selected component: ibus-anthy-python-1.5.12-7.fc34
Additional info: reporter: libreport-2.15.2 cmdline: python3 /usr/share/ibus-anthy/engine/main.py --ibus crash_function: __update_anthy_convert_chars exception_type: TypeError executable: /usr/share/ibus-anthy/engine/main.py interpreter: python3-3.9.6-2.fc34.x86_64 kernel: 5.13.7-200.fc34.x86_64 runlevel: N 5 type: Python3 uid: 1000
Truncated backtrace: engine.py:1278:__update_anthy_convert_chars:TypeError: can only concatenate str (not "NoneType") to str
Traceback (most recent call last): File "/usr/share/ibus-anthy/engine/engine.py", line 1299, in __update self.__update_convert_chars() File "/usr/share/ibus-anthy/engine/engine.py", line 1222, in __update_convert_chars self.__update_anthy_convert_chars() File "/usr/share/ibus-anthy/engine/engine.py", line 1278, in __update_anthy_convert_chars self.__convert_chars += text TypeError: can only concatenate str (not "NoneType") to str
Local variables in innermost frame: self: <engine.Engine object at 0x7fba89694940 (engine+Engine at 0x56112e547170)> pos: 0 i: 0 seg_index: -1 text: None
https://bugzilla.redhat.com/show_bug.cgi?id=1991620
fujiwara tfujiwar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(jacopo1.farina@gm | |ail.com) Doc Type|--- |If docs needed, set a value
--- Comment #8 from fujiwara tfujiwar@redhat.com --- Your history file might be broken. Are you able to reproduce your problem after you move $HOME/.config/anthy/last-record2_default.utf8 to anywhere and run `ibus restart` command?
https://bugzilla.redhat.com/show_bug.cgi?id=1991620
Jacopo Farina jacopo1.farina@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(jacopo1.farina@gm | |ail.com) |
--- Comment #9 from Jacopo Farina jacopo1.farina@gmail.com --- (In reply to fujiwara from comment #8)
Your history file might be broken. Are you able to reproduce your problem after you move $HOME/.config/anthy/last-record2_default.utf8 to anywhere and run `ibus restart` command?
I just checked and indeed if I move the file I cannot reproduce it. Weirdly, after moving the file back again the bug seems to have disappeared. Probably can be closed
https://bugzilla.redhat.com/show_bug.cgi?id=1991620
fujiwara tfujiwar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |WORKSFORME Status|NEW |CLOSED Last Closed| |2021-08-18 07:46:19
--- Comment #10 from fujiwara tfujiwar@redhat.com ---
after moving the file back again the bug seems to have disappeared
It's curious. When you will find exact reproducing steps, please comment here later.
i18n-bugs@lists.fedoraproject.org