Bug 558003

Summary: [abrt] crash in gnome-applet-timer-2.1.2-6.fc13
Product: [Fedora] Fedora Reporter: Baris Cicek <baris>
Component: pygobject2Assignee: Thomas Spura <tomspur>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: christoph.wickert, mbarnes, tomspur
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: abrt_hash:d99f20be
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-01-26 23:56:07 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
patch for actual spec file none

Description Baris Cicek 2010-01-23 02:36:45 UTC
abrt 1.0.2 detected a crash.

backtrace
-----
Summary: TBd99f20be gettext.py:131:_expand_lang:ImportError: PyGI support not enabled

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/timerapplet/core/AppletGConfWrapper.py", line 85, in _notification_callback
    callback(gconf_value, real_data)
  File "/usr/lib/python2.6/site-packages/timerapplet/controllers/TimerApplet.py", line 325, in _on_gconf_changed
    self._update_status_button()
  File "/usr/lib/python2.6/site-packages/timerapplet/controllers/TimerApplet.py", line 192, in _update_status_button
    self._status_button.set_tooltip(_('Click to start a new timer countdown.'))
  File "/usr/lib64/python2.6/gettext.py", line 568, in gettext
    return dgettext(_current_domain, message)
  File "/usr/lib64/python2.6/gettext.py", line 532, in dgettext
    codeset=_localecodesets.get(domain))
  File "/usr/lib64/python2.6/gettext.py", line 467, in translation
    mofiles = find(domain, localedir, languages, all=1)
  File "/usr/lib64/python2.6/gettext.py", line 439, in find
    for nelang in _expand_lang(lang):
  File "/usr/lib64/python2.6/gettext.py", line 131, in _expand_lang
    from locale import normalize
ImportError: PyGI support not enabled

Local variables in innermost frame:
locale: en_US.utf8

cmdline: python /usr/lib64/timer-applet/timer-applet --oaf-activate-iid=OAFIID:TimerApplet_Factory --oaf-ior-fd=19 
component: gnome-applet-timer
executable: /usr/lib64/timer-applet/timer-applet
kernel: 2.6.33-0.18.rc4.git7.fc13.x86_64
package: gnome-applet-timer-2.1.2-6.fc13
uuid: d99f20be

Comment 1 Baris Cicek 2010-01-23 02:36:50 UTC
Created attachment 386270 [details]
File: backtrace

Comment 2 Thomas Spura 2010-01-23 10:52:19 UTC
Thanks for the bug report.

This is a pygobject2 bug.
In the spec file '--enable-pygi' is missing.

Reassigning to pygobject2.


While you are at it:

In the first line is %{!?python_sitearch: %define [...] },

please replace %define with %global or this will breack some time.

see: https://www.redhat.com/archives/fedora-devel-list/2010-January/msg00093.html

Comment 3 Thomas Spura 2010-01-23 10:53:08 UTC
Created attachment 386313 [details]
patch for actual spec file

Attached a patch to enable '--enable-pygi' in the spec file.

Builds in koji: http://koji.fedoraproject.org/koji/taskinfo?taskID=1939884

Comment 4 Thomas Spura 2010-01-26 23:56:07 UTC
Just build in rawhide.
http://koji.fedoraproject.org/koji/taskinfo?taskID=1946935

Could you try to reproduce this problem?