desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #116784
[Bug 1091478] Re: software-center crashed with IndexError in _get_region_dumb(): list index out of range
That version is no more maintained
** Changed in: software-center (Ubuntu)
Status: New => Invalid
--
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/1091478
Title:
software-center crashed with IndexError in _get_region_dumb(): list
index out of range
Status in software-center package in Ubuntu:
Invalid
Bug description:
$ lsb_release -rd
Description: Ubuntu Raring Ringtail (development branch)
Release: 13.04
$ apt-cache policy software-center
software-center:
Installed: 5.5.2.2
Candidate: 5.5.2.2
Version table:
*** 5.5.2.2 0
500 http://archive.ubuntu.com/ubuntu/ raring/main amd64 Packages
100 /var/lib/dpkg/status
steps to reproduce:
1. open a terminal (i used byobu) and enter this:
software-center
actual results:
Fontconfig warning: ignoring C.UTF-8: not a valid language tag
Fontconfig warning: ignoring C.UTF-8: not a valid language tag
Fontconfig warning: ignoring C.UTF-8: not a valid language tag
Fontconfig warning: ignoring C.UTF-8: not a valid language tag
2012-12-18 07:42:46,647 - softwarecenter.ui.gtk3.app - INFO - setting up proxy 'None'
Fontconfig warning: ignoring C.UTF-8: not a valid language tag
2012-12-18 07:42:47,189 - softwarecenter.region - WARNING - failed to use geoclue: 'org.freedesktop.Geoclue.Error.notAvailable: Geoclue master client has no usable Address providers'
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 301, in _build_string_template_dict
region = "%s" % get_region_cached()["countrycode"]
File "/usr/share/software-center/softwarecenter/region.py", line 147, in get_region_cached
my_region = rd.get_region()
File "/usr/share/software-center/softwarecenter/region.py", line 98, in get_region
res = self._get_region_dumb()
File "/usr/share/software-center/softwarecenter/region.py", line 114, in _get_region_dumb
countrycode = loc.split("_")[1]
ProblemType: Crash
DistroRelease: Ubuntu 13.04
Package: software-center 5.5.2.2
ProcVersionSignature: Ubuntu 3.7.0-7.15-generic 3.7.0
Uname: Linux 3.7.0-7-generic x86_64
ApportVersion: 2.7-0ubuntu2
Architecture: amd64
Date: Tue Dec 18 07:41:08 2012
ExecutablePath: /usr/share/software-center/software-center
InstallationDate: Installed on 2012-09-30 (78 days ago)
InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release amd64 (20120817.1)
InterpreterPath: /usr/bin/python2.7
MarkForUpload: True
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/software-center
PythonArgs: ['/usr/bin/software-center']
SoftwareCenterLog:
2012-12-18 07:41:07,169 - softwarecenter.ui.gtk3.app - INFO - setting up proxy 'None'
2012-12-18 07:41:07,879 - softwarecenter.region - WARNING - failed to use geoclue: 'org.freedesktop.Geoclue.Error.notAvailable: Geoclue master client has no usable Address providers'
SourcePackage: software-center
Title: software-center crashed with IndexError in _get_region_dumb(): list index out of range
UpgradeStatus: Upgraded to raring on 2012-10-05 (73 days ago)
UserGroups:
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/1091478/+subscriptions