Bug 828597
| Summary: | [abrt] ibus-hangul-1.4.1-2.fc16: main.py:184:on_value_changed:TypeError: 'NoneType' object is not iterable | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Kenichi Takemura <ktakemur> | ||||
| Component: | ibus-hangul | Assignee: | Daiki Ueno <dueno> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 16 | CC: | dueno, ebaak, i18n-bugs, pwu, shawn.p.huang | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | abrt_hash:b2b2ffe5168223429e63dfff9345611fd99eb9eb | ||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2012-06-26 00:47:17 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: |
|
||||||
Created attachment 589420 [details]
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.
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 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 Hi Daiki I tested ibus-hang ibus-hangul-1.4.1-3.fc16.x86_64 but the problem still exists. 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? Hi Daiki I added the code and restarted ibus then tested but the same result. Still happens. 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?
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>
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.fc17 then log in and leave karma (feedback). 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 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 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 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.fc17 then log in and leave karma (feedback). 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. 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. |
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'