Bug 745611 - [abrt] hamster-applet-2.32.1-1.fc15: i18n.py:23:setup_i18n:AttributeError: 'module' object has no attribute 'bindtextdomain'
Summary: [abrt] hamster-applet-2.32.1-1.fc15: i18n.py:23:setup_i18n:AttributeError: 'm...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: hamster-applet
Version: 15
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mads Villadsen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:7bd9d4fa13f49af72f91fb43610...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-12 20:21 UTC by Florian Ludwig
Modified: 2012-08-07 17:03 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-07 17:02:58 UTC
Type: ---


Attachments (Terms of Use)

Description Florian Ludwig 2011-10-12 20:21:30 UTC
abrt version: 2.0.3
architecture:   x86_64
cmdline:        python /usr/bin/hamster-time-tracker
component:      hamster-applet
executable:     /usr/bin/hamster-time-tracker
kernel:         2.6.40.6-0.fc15.x86_64
os_release:     Fedora release 15 (Lovelock)
package:        hamster-applet-2.32.1-1.fc15
reason:         i18n.py:23:setup_i18n:AttributeError: 'module' object has no attribute 'bindtextdomain'
time:           Wed Oct 12 22:15:03 2011
uid:            500
username:       dino

backtrace:
:i18n.py:23:setup_i18n:AttributeError: 'module' object has no attribute 'bindtextdomain'
:
:Traceback (most recent call last):
:  File "/usr/bin/hamster-time-tracker", line 479, in <module>
:    i18n.setup_i18n()
:  File "/usr/lib/python2.7/site-packages/hamster/i18n.py", line 23, in setup_i18n
:    module.bindtextdomain('hamster-applet', locale_dir)
:AttributeError: 'module' object has no attribute 'bindtextdomain'
:
:Local variables in innermost frame:
:locale_dir: '/usr/share/locale'
:defs: <module 'hamster.defs' from '/usr/lib/python2.7/site-packages/hamster/defs.pyc'>
:module: <module 'locale' from '/usr/lib64/python2.7/locale.pyc'>

comment:
:$ hamster-time-tracker 
:Traceback (most recent call last):
:  File "/usr/bin/hamster-time-tracker", line 479, in <module>
:    i18n.setup_i18n()
:  File "/usr/lib/python2.7/site-packages/hamster/i18n.py", line 24, in setup_i18n
:    module.bindtextdomain('hamster-applet', locale_dir)
:AttributeError: 'module' object has no attribute 'bindtextdomain'
:
:The module is /usr/lib64/python2.7/locale.py

Comment 1 Thomas Spura 2011-10-12 20:37:43 UTC
Hmm, I don't understand why this failed for you...

The locale has the function bindtextdomain here on my fc15 sytem.

What's the output of "rpm -qf /usr/lib64/python2.7/locale.py"?

Here I have:
# rpm -qf /usr/lib64/python2.7/locale.py
python-libs-2.7.1-7.fc15.x86_64

Comment 2 Florian Ludwig 2011-10-13 13:00:47 UTC
Same as for you:

$ rpm -qf /usr/lib64/python2.7/locale.py
python-libs-2.7.1-7.fc15.x86_64
$ grep bindtextdomain /usr/lib64/python2.7/locale.py
$ 

I have found: "The locale module exposes the C library’s gettext interface on systems that provide this interface. It consists of the functions gettext(), dgettext(), dcgettext(), textdomain(), bindtextdomain(), and bind_textdomain_codeset()." -- http://docs.python.org/library/locale.html#access-to-message-catalogs


So maybe there is missing some dependency / some problem with gettext.

$ yum list installed | grep gettext
gettext.x86_64                      0.18.1.1-8.fc15             @updates        
gettext-common-devel.noarch         0.18.1.1-8.fc15             @updates        
gettext-devel.x86_64                0.18.1.1-8.fc15             @updates        
gettext-libs.x86_64                 0.18.1.1-8.fc15             @updates

Comment 3 Fedora End Of Life 2012-08-07 17:03:01 UTC
This message is a notice that Fedora 15 is now at end of life. Fedora
has stopped maintaining and issuing updates for Fedora 15. It is
Fedora's policy to close all bug reports from releases that are no
longer maintained. At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that
we were unable to fix it before Fedora 15 reached end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged to click on
"Clone This Bug" (top right of this page) and open it against that
version of Fedora.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

The process we are following is described here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping


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