Bug 542540 - [abrt] crash detected in ibus-anthy-1.2.0.20091127-1.fc12
Summary: [abrt] crash detected in ibus-anthy-1.2.0.20091127-1.fc12
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: ibus-anthy
Version: 12
Hardware: i686
OS: Linux
low
medium
Target Milestone: ---
Assignee: fujiwara
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:5ae77361
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-11-30 04:00 UTC by Masao Takahashi
Modified: 2009-11-30 09:10 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-11-30 09:10:32 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (687 bytes, text/plain)
2009-11-30 04:00 UTC, Masao Takahashi
no flags Details

Description Masao Takahashi 2009-11-30 04:00:28 UTC
abrt 1.0.0 detected a crash.

backtrace
-----
Summary: TB5ae77361 engine.py:977:CONFIG_VALUE_CHANGED:UnboundLocalError: local variable 'sec' referenced before assignment

Traceback (most recent call last):
  File "/usr/share/ibus-anthy/engine/factory.py", line 62, in __config_value_changed_cb
    engine.Engine.CONFIG_VALUE_CHANGED(self.__bus, section, name, value)
  File "/usr/share/ibus-anthy/engine/engine.py", line 977, in CONFIG_VALUE_CHANGED
    cls.__prefs.set_value(sec, name, value)
UnboundLocalError: local variable 'sec' referenced before assignment

Local variables in innermost frame:
bus: <Bus object at 0xa2fa57c (PYIBusBus at 0xa31bc10)>
section: 
name: custom_font
value: Monospace 12
cls: <class 'engine.Engine'>

cmdline: python /usr/share/ibus-anthy/engine/main.py --ibus 
component: ibus-anthy
executable: /usr/share/ibus-anthy/engine/main.py
kernel: 2.6.31.6-148.fc12.i686
package: ibus-anthy-1.2.0.20091127-1.fc12
uuid: 5ae77361

Comment 1 Masao Takahashi 2009-11-30 04:00:31 UTC
Created attachment 374667 [details]
File: backtrace

Comment 2 fujiwara 2009-11-30 08:27:45 UTC
It seems your /usr/share/ibus-anthy/engine/engine.py is old one while your version is the latest. It seems something is broken in your system.
Did you restart ibus processes after you upgrade ibus?

>   File "/usr/share/ibus-anthy/engine/engine.py", line 977, in CONFIG_VALUE_CHANGED
>     cls.__prefs.set_value(sec, name, value)
> UnboundLocalError: local variable 'sec' referenced before assignment

Your problem means the 'sec' is not defined and it has been fixed in ibus-anthy-1.2.0.20090917-2.fc12 with bug 526881 .

You could try uninstall your ibus-anthy and install it again.

# rpm -e ibus-anthy
# yum install ibus-anthy

Comment 3 Masao Takahashi 2009-11-30 09:10:32 UTC
(In reply to comment #2)
> It seems your /usr/share/ibus-anthy/engine/engine.py is old one while your
> version is the latest. It seems something is broken in your system.
> Did you restart ibus processes after you upgrade ibus?
> 
> >   File "/usr/share/ibus-anthy/engine/engine.py", line 977, in CONFIG_VALUE_CHANGED
> >     cls.__prefs.set_value(sec, name, value)
> > UnboundLocalError: local variable 'sec' referenced before assignment
> 
> Your problem means the 'sec' is not defined and it has been fixed in
> ibus-anthy-1.2.0.20090917-2.fc12 with bug 526881 .
> 
> You could try uninstall your ibus-anthy and install it again.
> 
> # rpm -e ibus-anthy
> # yum install ibus-anthy  

You are right.
I got old git repository.


Note You need to log in before you can comment on or make changes to this bug.