← Back to team overview

desktop-packages team mailing list archive

[Bug 1413035] Re: Crashes on launch (KeyError: 'countrycode')

 

** Also affects: software-center
   Importance: Undecided
       Status: New

** Also affects: hundredpapercuts
   Importance: Undecided
       Status: New

** Changed in: hundredpapercuts
       Status: New => Confirmed

** Changed in: hundredpapercuts
   Importance: Undecided => Critical

** Changed in: software-center
       Status: New => Confirmed

** Changed in: software-center (Ubuntu)
       Status: Confirmed => Triaged

** Changed in: hundredpapercuts
       Status: Confirmed => Triaged

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

Title:
  Crashes on launch (KeyError: 'countrycode')

Status in One Hundred Papercuts:
  Triaged
Status in Ubuntu Software Center:
  Confirmed
Status in software-center package in Ubuntu:
  Triaged

Bug description:
  When I try to open the Ubuntu Software Center, the icon blinks for a
  few seconds then stops, and nothing happens.

  When I try to launch it using the command line, I have the following
  error:

  % software-center
  2015-01-21 09:52:46,360 - softwarecenter.ui.gtk3.app - INFO - setting up proxy 'None'
  Traceback (most recent call last):
    File "/usr/bin/software-center", line 130, in <module>
      app = SoftwareCenterAppGtk3(options, args)
    File "/usr/share/software-center/softwarecenter/ui/gtk3/app.py", line 397, in __init__
      self.icons)
    File "/usr/share/software-center/softwarecenter/ui/gtk3/panes/installedpane.py", line 95, in __init__
      CategoriesParser.__init__(self, db)
    File "/usr/share/software-center/softwarecenter/db/categories.py", line 251, in __init__
      self._build_string_template_dict()
    File "/usr/share/software-center/softwarecenter/db/categories.py", line 303, in _build_string_template_dict
      region = "%s" % get_region_cached()["countrycode"]
  KeyError: 'countrycode'

  ProblemType: Bug
  DistroRelease: Ubuntu 14.10
  Package: software-center 13.10-0ubuntu4.1
  ProcVersionSignature: Ubuntu 3.16.0-29.39-generic 3.16.7-ckt2
  Uname: Linux 3.16.0-29-generic x86_64
  ApportVersion: 2.14.7-0ubuntu8.1
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Wed Jan 21 09:48:52 2015
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2014-11-15 (66 days ago)
  InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
  PackageArchitecture: all
  SourcePackage: software-center
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1413035/+subscriptions


References