software-center does not run in Turkish locale KeyError: 'ROUND_CEiLiNG'

Bug #607705 reported by ehcpdeveloper on 2010-07-20
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Undecided
Kiwinote

Bug Description

Binary package hint: software-center

$ software-center
** Message: pygobject_register_sinkfunc is deprecated (GtkWindow)
** Message: pygobject_register_sinkfunc is deprecated (GtkInvisible)
** Message: pygobject_register_sinkfunc is deprecated (GtkObject)
/usr/share/software-center/softwarecenter/apt/apthistory.py:32: DeprecationWarning: please use 'debian' instead of 'debian_bundle'
  from debian_bundle import deb822
Traceback (most recent call last):
  File "/usr/bin/software-center", line 81, in <module>
    from softwarecenter.app import SoftwareCenterApp
  File "/usr/share/software-center/softwarecenter/app.py", line 57, in <module>
    from view.logindialog import LoginDialog
  File "/usr/share/software-center/softwarecenter/view/logindialog.py", line 29, in <module>
    from softwarecenter.backend.launchpad import GLaunchpad
  File "/usr/share/software-center/softwarecenter/backend/launchpad.py", line 32, in <module>
    from launchpadlib.launchpad import Launchpad
  File "/usr/lib/pymodules/python2.6/launchpadlib/launchpad.py", line 29, in <module>
    from lazr.restfulclient.resource import (
  File "/usr/lib/python2.6/dist-packages/lazr/restfulclient/resource.py", line 34, in <module>
    import simplejson
  File "/usr/lib/pymodules/python2.6/simplejson/__init__.py", line 109, in <module>
    from decimal import Decimal
  File "/usr/lib/python2.6/decimal.py", line 3646, in <module>
    val = globals()[globalname]
KeyError: 'ROUND_CEiLiNG'
bvidinli@bvidinli-desktop:~$ LANG=EN software-center
** Message: pygobject_register_sinkfunc is deprecated (GtkWindow)
** Message: pygobject_register_sinkfunc is deprecated (GtkInvisible)
** Message: pygobject_register_sinkfunc is deprecated (GtkObject)

(process:8924): Gtk-WARNING **: Locale not supported by C library.
 Using the fallback 'C' locale.
/usr/share/software-center/softwarecenter/apt/apthistory.py:32: DeprecationWarning: please use 'debian' instead of 'debian_bundle'
  from debian_bundle import deb822
ERROR:root:setlocale failed
Traceback (most recent call last):
  File "/usr/share/software-center/softwarecenter/app.py", line 109, in __init__
    locale.setlocale(locale.LC_ALL, "")
  File "/usr/lib/python2.6/locale.py", line 513, in setlocale
    return _setlocale(category, locale)
Error: unsupported locale setting
ERROR:root:setlocale failed
Traceback (most recent call last):
  File "/usr/share/software-center/softwarecenter/app.py", line 119, in __init__
    locale.setlocale(locale.LC_ALL, "")
  File "/usr/lib/python2.6/locale.py", line 513, in setlocale
    return _setlocale(category, locale)
Error: unsupported locale setting
** Message: pygobject_register_sinkfunc is deprecated (GtkWindow)
** Message: pygobject_register_sinkfunc is deprecated (GtkInvisible)
** Message: pygobject_register_sinkfunc is deprecated (GtkObject)

(process:9009): Gtk-WARNING **: Locale not supported by C library.
 Using the fallback 'C' locale.

(process:9097): Gtk-WARNING **: Locale not supported by C library.
 Using the fallback 'C' locale.
Created new window in existing browser session.

(works normally hereafter)

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: software-center 2.1.5
ProcVersionSignature: Ubuntu 2.6.35-9.14-generic 2.6.35-rc5
Uname: Linux 2.6.35-9-generic i686
Architecture: i386
CheckboxSubmission: 255ba770d200090018bc6e32b5c9e699
CheckboxSystem: 0b92078dbc98a84bc764120b0f3672b5
Date: Tue Jul 20 14:29:30 2010
EcryptfsInUse: Yes
PackageArchitecture: all
ProcEnviron:
 LANG=EN
 SHELL=/bin/bash
SourcePackage: software-center

ehcpdeveloper (ehcpdeveloper) wrote :
Kiwinote (kiwinote) wrote :

Hi! Thanks for your bug report. The bug (and a bug which occurs once this one is fixed) you describe has been fixed in the branch I have linked and should be available in the next release. Please continue to report any bugs you may find in software-center. Thanks again for your help!

Changed in software-center (Ubuntu):
assignee: nobody → Kiwinote (kiwinote)
status: New → Fix Committed
Kiwinote (kiwinote) wrote :

software-center (2.1.17.1) maverick; urgency=low

  [ Michael Vogt ]
  * softwarecenter/backend/aptd.py:
    - use the system-wide proxy instead of the gnome
      one by default (LP: #628823)
    - when installing a purchase only update from the just
      added repository to avoid breaking if other sources.list
      entries are incorrect
    - fix signal emite in TransactionStopped
  * debian/control:
    - depend on current aptdaemon

  [ Kiwinote ]
  * software-center:
    - import Decimal before we need it as a workaround for (LP: #607705)
      (testcase: LANGUAGE=tr_TR LC_ALL=tr_TR.utf8 ./software-center)
  * softwarecenter/apt/apthistory.py:
    - use ascii_lower() rather than lower()
      much thanks to M. Vefa Bicakci via bug 581207
      (testcase: LANGUAGE=tr_TR LC_ALL=tr_TR.utf8 ./software-center)
  * software-center/db/application.py:
    - reset app.pkgname once we know deb.pkgname
  * softwarecenter/view/dependency_dialogs.py:
    - fail nicely if pkg not in cache (ie all deb files...) (LP: #634060)

Date: Thu, 09 Sep 2010 17:07:29 +0200
Changed-By: Michael Vogt <michael.vogt at ubuntu.com>
Maintainer: Michael Vogt <mvo at ubuntu.com>
https://launchpad.net/ubuntu/maverick/+source/software-center/2.1.17.1

Changed in software-center (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers