[Bug 875450] Re: Previous purchases are missing in Software Center when language is Brazilian Portuguese

Aldo Nogueira aldo.nogueira at gmail.com
Sun Oct 16 03:16:26 UTC 2011


Terminal output when language is Brazilian Portuguese:
2011-10-16 01:12:57,923 - softwarecenter.ui.gtk3.em - INFO - EM's: 17 15 21
2011-10-16 01:13:01,215 - softwarecenter.backend.reviews - WARNING - Could not get usefulness from server, no username in config file
2011-10-16 01:13:01,298 - softwarecenter.ui.gtk3.utils - INFO - Softwarecenter style provider for ambiance Gtk theme: /usr/share/software-center/ui/gtk3/css/softwarecenter.css
2011-10-16 01:13:08,987 - softwarecenter.ui.gtk3.app - INFO - software-center-agent finished with status 0
2011-10-16 01:13:18,785 - softwarecenter.db.update - ERROR - error processing: 'ascii' codec can't decode byte 0xc3 in position 5: ordinal not in range(128) 
Traceback (most recent call last):
  File "/usr/share/software-center/softwarecenter/db/update.py", line 494, in add_from_purchased_but_needs_reinstall_data
    item.name = _("%s (already purchased)") % item.name
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 5: ordinal not in range(128)

-------------------------------------------------------------

Terminal output when language is English (and it works):
(process:4081): Gtk-WARNING **: Locale not supported by C library.
	Using the fallback 'C' locale.
2011-10-16 01:06:55,702 - softwarecenter.ui.gtk3.em - INFO - EM's: 17 15 21
2011-10-16 01:06:55,922 - softwarecenter.ui.gtk3.app - ERROR - setlocale failed, resetting to C
Traceback (most recent call last):
  File "/usr/share/software-center/softwarecenter/ui/gtk3/app.py", line 187, in __init__
    locale.setlocale(locale.LC_ALL, "")
  File "/usr/lib/python2.7/locale.py", line 540, in setlocale
    return _setlocale(category, locale)
Error: unsupported locale setting
2011-10-16 01:06:56,707 - softwarecenter.backend.reviews - WARNING - Could not get usefulness from server, no username in config file
2011-10-16 01:06:56,773 - softwarecenter.ui.gtk3.utils - INFO - Softwarecenter style provider for ambiance Gtk theme: /usr/share/software-center/ui/gtk3/css/softwarecenter.css
2011-10-16 01:06:57,042 - softwarecenter.fixme - WARNING - logs to the root logger: '('/usr/share/software-center/update-software-center-agent', 46, '<module>')'
2011-10-16 01:06:57,042 - root - WARNING - setlocale failed with 'unsupported locale setting'
2011-10-16 01:07:02,920 - softwarecenter.ui.gtk3.app - INFO - software-center-agent finished with status 0

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to software-center in Ubuntu.
https://bugs.launchpad.net/bugs/875450

Title:
  Previous purchases are missing in Software Center when language is
  Brazilian Portuguese

Status in “software-center” package in Ubuntu:
  New

Bug description:
  Steps to reproduce:
  - Choose Brazilian Portuguese during login
  - Open Software Center
  - Select Reinstall Previous Purchases (Reinstalar compras anteriores in pt_BR) from the menu
  - Enter you Launchpad login and password
  - The list of previous purchases is empty

  A work around:
  - Open a terminal
  - Type "export LANG=en.UTF-8" and "export LANGUAGE=en" (it's not exactly correct, but works)
  - Call software-center
  - It opens in English
  - Select Reinstall Previous Purchases from the menu
  - Family Farm is there :)

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: software-center 5.0.1.4
  ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
  Uname: Linux 3.0.0-12-generic x86_64
  NonfreeKernelModules: fglrx
  ApportVersion: 1.23-0ubuntu3
  Architecture: amd64
  Date: Sat Oct 15 23:58:58 2011
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
  PackageArchitecture: all
  ProcEnviron:
   LANGUAGE=pt_BR:pt:en
   PATH=(custom, no user)
   LANG=pt_BR.UTF-8
   SHELL=/bin/bash
  SourcePackage: software-center
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/875450/+subscriptions




More information about the foundations-bugs mailing list