software-center crashed with AttributeError in __contains__(): 'NoneType' object has no attribute '__contains__'
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| software-center (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
| Precise |
Fix Released
|
Undecided
|
Unassigned | ||
| Quantal |
Fix Released
|
Medium
|
Unassigned | ||
Bug Description
TEST CASE:
1. open stock software-center
2. click on "installed" very quickly while the main page is still loading
3. verify that there is a traceback (note that this does not happen always, just most of the time)
4. use the fixed version from -proosed
5. verify that (2) does no longer produces a traceback
I just opened, clicked installed software, clicked on a category, it crashed.
ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: software-center 5.1.12
ProcVersionSign
Uname: Linux 3.2.0-19-generic x86_64
ApportVersion: 1.94.1-0ubuntu2
Architecture: amd64
CrashCounter: 1
Date: Mon Mar 19 19:55:01 2012
ExecutablePath: /usr/share/
InterpreterPath: /usr/bin/python2.7
PackageArchitec
ProcCmdline: /usr/bin/python /usr/bin/
PythonArgs: ['/usr/
SourcePackage: software-center
Title: software-center crashed with AttributeError in __contains__(): 'NoneType' object has no attribute '__contains__'
UpgradeStatus: Upgraded to precise on 2012-03-13 (5 days ago)
UserGroups: adm admin audio cdrom dialout dip floppy fuse lpadmin plugdev video
Related branches
- Gary Lasker (community): Approve
- Dave Morley (community): Approve (testing the code did as expected)
-
Diff: 27 lines (+1/-5)2 files modifiedsoftwarecenter/ui/gtk3/panes/availablepane.py (+0/-5)
softwarecenter/ui/gtk3/panes/installedpane.py (+1/-0)
| tags: | removed: need-duplicate-check |
| visibility: | private → public |
| summary: |
- software-center crashed when viewing installed apps + software-center crashed with AttributeError in __contains__(): + 'NoneType' object has no attribute '__contains__' |
| Changed in software-center (Ubuntu): | |
| status: | Fix Released → Confirmed |
| importance: | Undecided → Medium |
| tags: | added: ca-escalated |
| Changed in software-center (Ubuntu): | |
| milestone: | none → precise-updates |
| description: | updated |
| Changed in software-center (Ubuntu): | |
| status: | Confirmed → In Progress |
| status: | In Progress → Fix Committed |
| Changed in software-center (Ubuntu Precise): | |
| status: | New → Fix Committed |

the sofware center works very well now!