Bug 1097364

Summary: [abrt] ibus-anthy: engine.py:1102:__destroy:AttributeError: 'NoneType' object has no attribute 'clear'
Product: [Fedora] Fedora Reporter: ragodrone
Component: ibus-anthyAssignee: fujiwara <tfujiwar>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: ayaka, i18n-bugs, ragodrone, raina, shawn.p.huang, tagoh, tfujiwar
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/f3993c1d8f190478843d5846fa2d60b8bb125cbd
Whiteboard: abrt_hash:5ab8aa871d72a6cabcce8fa83038a7919ea9ed77
Fixed In Version: ibus-anthy-1.5.5-4.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-05-28 23:55:27 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 ragodrone 2014-05-13 16:00:42 UTC
Version-Release number of selected component:
ibus-anthy-1.5.5-3.fc19

Additional info:
reporter:       libreport-2.2.1
cmdline:        python3 /usr/share/ibus-anthy/engine/main.py --ibus
executable:     /usr/share/ibus-anthy/engine/main.py
kernel:         3.13.11-100.fc19.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
engine.py:1102:__destroy:AttributeError: 'NoneType' object has no attribute 'clear'

Traceback (most recent call last):
  File "/usr/share/ibus-anthy/engine/engine.py", line 1102, in __destroy
    self.__input_mode_icon.clear()
AttributeError: 'NoneType' object has no attribute 'clear'

Local variables in innermost frame:
self: <Engine object at 0x7f16859cc0f0 (engine+Engine at 0x1c61290)>
obj: <Engine object at 0x7f16859cc0f0 (engine+Engine at 0x1c61290)>

Comment 1 ragodrone 2014-05-13 16:00:47 UTC
Created attachment 895192 [details]
File: backtrace

Comment 2 ragodrone 2014-05-13 16:00:49 UTC
Created attachment 895193 [details]
File: environ

Comment 3 fujiwara 2014-05-15 03:50:53 UTC
Thank you for the report.
I understood how to avoid your problem
But I'd like to fix the root cause instead.


Could you restart ibus-daemon with the verbose option and which error message is output?

1. Restart ibus
% ibus exit
% ibus-daemon --verbose --xim

2. Enable ibus-anthy on ibus panel menu.

Comment 4 Raina Otoni 2014-05-18 16:11:34 UTC
I can reproduce by Suspend/Resume action.


[raina:~] $ rpm -q ibus-anthy
ibus-anthy-1.5.5-3.fc20.x86_64
[raina:~] $ cat /etc/fedora-release 
Fedora release 20 (Heisenbug)
[raina:~] $ ibus exit
[raina:~] $ ibus-daemon --verbose --xim

(ibus-ui-gtk3:8970): IBUS-WARNING **: ibus_bus_call_sync: org.freedesktop.DBus.Properties.Get: GDBus.Error:org.freedesktop.DBus.Error.Failed: No global engine.
Removing imported_words_ibus__zipcode
Removing ibus__symbol
Removing imported_words_ibus__oldchar
Removing imported_words_ibus__era
Traceback (most recent call last):
  File "/usr/share/ibus-anthy/engine/engine.py", line 1102, in __destroy
    self.__input_mode_icon.clear()
AttributeError: 'NoneType' object has no attribute 'clear'

Comment 5 fujiwara 2014-05-19 02:54:35 UTC
(In reply to Raina Otoni from comment #4)
> I can reproduce by Suspend/Resume action.

Thanks for the log.
I see maybe you use gnome-shell.

Comment 7 Fedora Update System 2014-05-19 05:03:28 UTC
ibus-anthy-1.5.5-4.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/ibus-anthy-1.5.5-4.fc19

Comment 8 Fedora Update System 2014-05-19 05:03:39 UTC
ibus-anthy-1.5.5-4.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/ibus-anthy-1.5.5-4.fc20

Comment 9 Fedora Update System 2014-05-21 02:31:52 UTC
Package ibus-anthy-1.5.5-4.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing ibus-anthy-1.5.5-4.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-6511/ibus-anthy-1.5.5-4.fc20
then log in and leave karma (feedback).

Comment 10 ayaka 2014-05-22 08:53:22 UTC
(In reply to Fedora Update System from comment #9)
> Package ibus-anthy-1.5.5-4.fc20:
> * should fix your issue,
> * was pushed to the Fedora 20 testing repository,
> * should be available at your local mirror within two days.
> Update it with:
> # su -c 'yum update --enablerepo=updates-testing ibus-anthy-1.5.5-4.fc20'
> as soon as you are able to.
> Please go to the following url:
> https://admin.fedoraproject.org/updates/FEDORA-2014-6511/ibus-anthy-1.5.5-4.
> fc20
> then log in and leave karma (feedback).

The new update fixed the problem

Comment 11 Fedora Update System 2014-05-28 23:55:27 UTC
ibus-anthy-1.5.5-4.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2014-05-28 23:56:07 UTC
ibus-anthy-1.5.5-4.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.