https://bugzilla.redhat.com/show_bug.cgi?id=828597
Bug ID: 828597 QA Contact: extras-qa@fedoraproject.org Severity: unspecified Whiteboard: abrt_hash:b2b2ffe5168223429e63dfff9345611fd99eb9eb Version: 16 Priority: unspecified CC: dueno@redhat.com, i18n-bugs@lists.fedoraproject.org, pwu@redhat.com, shawn.p.huang@gmail.com Assignee: dueno@redhat.com Summary: [abrt] ibus-hangul-1.4.1-2.fc16: main.py:184:on_value_changed:TypeError: 'NoneType' object is not iterable Regression: --- Story Points: --- Classification: Fedora OS: Unspecified Reporter: ktakemur@redhat.com Type: --- Documentation: --- Hardware: x86_64 Mount Type: --- Status: NEW Component: ibus-hangul Product: Fedora
libreport version: 2.0.8 abrt_version: 2.0.7 cmdline: python /usr/share/ibus-hangul/setup/main.py executable: /usr/share/ibus-hangul/setup/main.py kernel: 3.3.7-1.fc16.x86_64 reason: main.py:184:on_value_changed:TypeError: 'NoneType' object is not iterable time: Tue 05 Jun 2012 10:36:11 AM EST uid: 1000 username: ktakemur
backtrace: :main.py:184:on_value_changed:TypeError: 'NoneType' object is not iterable : :Traceback (most recent call last): : File "/usr/share/ibus-hangul/setup/main.py", line 184, in on_value_changed : for i in model: :TypeError: 'NoneType' object is not iterable : :Local variables in innermost frame: :name: 'HangulKeyboard' :data: None :section: 'engine/Hangul' :value: <GLib.Variant('ro')> :model: None :config: <Config object at 0x1e250f0 (IBusConfig at 0x1e5f8e0)> :self: <__main__.Setup instance at 0x1e172d8>
comment: :1. Activate ibus :2. Select language to IBusHangul :3. Click setup and change Keyboard Layout to 'Romaja'
https://bugzilla.redhat.com/show_bug.cgi?id=828597
--- Comment #1 from Daiki Ueno dueno@redhat.com --- Created attachment 589420 --> https://bugzilla.redhat.com/attachment.cgi?id=589420&action=edit patch to fix ibus-hangul-setup race condition
Thanks for the report. If you are able to reproduce it constantly, could you try the attached patch? So it can be proposed to the upstream.
https://bugzilla.redhat.com/show_bug.cgi?id=828597
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |MODIFIED
https://bugzilla.redhat.com/show_bug.cgi?id=828597
--- Comment #2 from Fedora Update System updates@fedoraproject.org --- ibus-hangul-1.4.1-3.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/ibus-hangul-1.4.1-3.fc17
https://bugzilla.redhat.com/show_bug.cgi?id=828597
--- Comment #3 from Fedora Update System updates@fedoraproject.org --- ibus-hangul-1.4.1-3.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/ibus-hangul-1.4.1-3.fc16
https://bugzilla.redhat.com/show_bug.cgi?id=828597
--- Comment #4 from Kenichi Takemura ktakemur@redhat.com ---
Hi Daiki
I tested ibus-hang ibus-hangul-1.4.1-3.fc16.x86_64 but the problem still exists.
https://bugzilla.redhat.com/show_bug.cgi?id=828597
--- Comment #5 from Daiki Ueno dueno@redhat.com --- I suspect you are seeing a different problem. Could you try adding the following line:
value = value.get_string()
at the beginning of on_value_changed function in /usr/share/ibus-hangul/setup/main.py?
https://bugzilla.redhat.com/show_bug.cgi?id=828597
--- Comment #6 from Kenichi Takemura ktakemur@redhat.com ---
Hi Daiki
I added the code and restarted ibus then tested but the same result. Still happens.
https://bugzilla.redhat.com/show_bug.cgi?id=828597
--- Comment #7 from Daiki Ueno dueno@redhat.com --- Thanks for testing. Hmm, I can no longer reproduce it with 1.4.1-3 plus comment 5 fix. Could you check if the backtrace is the same as the original one?
https://bugzilla.redhat.com/show_bug.cgi?id=828597
--- Comment #8 from Kenichi Takemura ktakemur@redhat.com ---
I am c'n'p'ng the backtrace.
main.py:186:on_value_changed:TypeError: 'NoneType' object is not iterable
Traceback (most recent call last): File "/usr/share/ibus-hangul/setup/main.py", line 186, in on_value_changed for i in model: TypeError: 'NoneType' object is not iterable
Local variables in innermost frame: name: 'HangulKeyboard' data: None section: 'engine/Hangul' value: 'ro' model: None config: <Config object at 0x1d2c0f0 (IBusConfig at 0x1d658e0)> self: <__main__.Setup instance at 0x1d1d2d8>
https://bugzilla.redhat.com/show_bug.cgi?id=828597
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |ON_QA
--- Comment #9 from Fedora Update System updates@fedoraproject.org --- Package ibus-hangul-1.4.1-3.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing ibus-hangul-1.4.1-3.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-9016/ibus-hangul-1.4.1-3... then log in and leave karma (feedback).
https://bugzilla.redhat.com/show_bug.cgi?id=828597
Daiki Ueno dueno@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ON_QA |ASSIGNED Flags| |needinfo?(ktakemur@redhat.c | |om)
--- Comment #10 from Daiki Ueno dueno@redhat.com --- OK, probably got it (it was my mistake in ibus-hangul-setup-gi.patch, sorry for inconvenience). Could you try 1.4.1-4? http://koji.fedoraproject.org/koji/buildinfo?buildID=322983
https://bugzilla.redhat.com/show_bug.cgi?id=828597
--- Comment #11 from Fedora Update System updates@fedoraproject.org --- ibus-hangul-1.4.1-4.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/ibus-hangul-1.4.1-4.fc17
https://bugzilla.redhat.com/show_bug.cgi?id=828597
--- Comment #12 from Fedora Update System updates@fedoraproject.org --- ibus-hangul-1.4.1-4.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/ibus-hangul-1.4.1-4.fc16
https://bugzilla.redhat.com/show_bug.cgi?id=828597
Kenichi Takemura ktakemur@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(ktakemur@redhat.c | |om) |
https://bugzilla.redhat.com/show_bug.cgi?id=828597
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |ON_QA
--- Comment #13 from Fedora Update System updates@fedoraproject.org --- Package ibus-hangul-1.4.1-4.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing ibus-hangul-1.4.1-4.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-9450/ibus-hangul-1.4.1-4... then log in and leave karma (feedback).
https://bugzilla.redhat.com/show_bug.cgi?id=828597
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ON_QA |CLOSED Resolution|--- |ERRATA Last Closed| |2012-06-25 20:47:17
--- Comment #14 from Fedora Update System updates@fedoraproject.org --- ibus-hangul-1.4.1-4.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.
https://bugzilla.redhat.com/show_bug.cgi?id=828597
--- Comment #15 from Fedora Update System updates@fedoraproject.org --- ibus-hangul-1.4.1-4.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.
i18n-bugs@lists.fedoraproject.org