software-center crashed with KeyError in __getitem__(): "The cache has no package named 'package_name'"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
software-center (Ubuntu) |
Fix Released
|
High
|
Michael Vogt | ||
Precise |
Fix Released
|
High
|
Michael Vogt |
Bug Description
TEST CASE:
1. Download a debian package that is not already in the package cache. (tested with crossover and lightscribe)
2. From a terminal run the following command:
$ software-center lightscribeAppl
EXPECTED RESULT:
Software-Center starts and open the detail page for the package
ACTUAL RESULT:
This crash
ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: software-center 5.1.5.1
ProcVersionSign
Uname: Linux 3.2.0-8-generic x86_64
ApportVersion: 1.90-0ubuntu2
Architecture: amd64
Date: Mon Jan 16 11:37:10 2012
DuplicateOf: https:/
EcryptfsInUse: Yes
ExecutablePath: /usr/share/
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
InterpreterPath: /usr/bin/python2.7
PackageArchitec
ProcCmdline: /usr/bin/python /usr/bin/
ProcEnviron:
SHELL=/bin/bash
PATH=(custom, user)
LANG=en_US.utf8
PythonArgs: ['/usr/
SourcePackage: software-center
Title: software-center crashed with KeyError in __getitem__(): "The cache has no package named 'cxoffice2'"
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin libvirtd lpadmin sambashare
Related branches
- Gary Lasker (community): Approve
-
Diff: 263 lines (+100/-28)8 files modifieddebian/changelog (+7/-0)
softwarecenter/db/__init__.py (+3/-1)
softwarecenter/db/application.py (+2/-1)
softwarecenter/db/debfile.py (+12/-10)
softwarecenter/ui/gtk3/panes/availablepane.py (+7/-2)
softwarecenter/ui/gtk3/views/appdetailsview.py (+11/-9)
test/gtk3/test_debfile_view.py (+47/-0)
test/test_debfileapplication.py (+11/-5)
Changed in software-center (Ubuntu Precise): | |
importance: | Undecided → High |
status: | Confirmed → Triaged |
assignee: | nobody → software-center-developers (software-center-developers) |
tags: | added: qa-manual-testing rls-mgr-p-tracking |
Changed in software-center (Ubuntu Precise): | |
milestone: | none → precise-alpha-2 |
tags: | removed: need-duplicate-check |
Changed in software-center (Ubuntu): | |
milestone: | precise-alpha-2 → ubuntu-12.04-beta-1 |
Changed in software-center (Ubuntu Precise): | |
status: | Triaged → In Progress |
Changed in software-center (Ubuntu Precise): | |
status: | In Progress → Fix Committed |
assignee: | software-center-developers (software-center-developers) → Michael Vogt (mvo) |
Status changed to 'Confirmed' because the bug affects multiple users.