software-center crashed with TypeError in _get_combo_children(): object of type 'NoneType' has no len()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
software-center (Ubuntu) |
Fix Released
|
Low
|
Gary Lasker |
Bug Description
Ubuntu Software Center version 5.2
Steps to reproduce (induces an error condition that causes the traceback for the crash in this bug):
1. Shut down Software Center, if it is running:
2. Open a terminal and type the following command:
$ cd ~/.config/
3. Launch Software Center from a terminal as shown:
$ software-center
4. Once Software Center has started, shut it down again.
5. Note that you'll get a traceback reporting:
IOError: [Errno 13] Permission denied: '/home/
Followed by the error for this bug:
TypeError: object of type 'NoneType' has no len()
6. Note also that Software Center does not fully quit.
7. Type the following in a terminal to kill Software Center:
$ killall software-center
8. And finally, type the following to remove the bad softwarecenter.
$ rm softwarecenter.
Hi!
Well, when I closed the Sofware Center, Apport launches.
Here is the repport, hoping Apport’s information could be useful.
Note that during my upgrade to Oneiric, I got several problems and some of my packages might not be very well set.
Martin.
---
Note that this bug still occurs in final Precise version 5.2, as shown in the following traceback from duplicate bug 992452:
Traceback (most recent call last):
File "/usr/share/
self.
File "/usr/share/
SoftwarePan
File "/usr/share/
self.
File "/usr/share/
f(*args, **kwargs)
File "/usr/share/
self.
File "/usr/share/
self.
File "/usr/share/
if self._get_
File "/usr/share/
return len(self.
TypeError: object of type 'NoneType' has no len()
ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: software-center 5.0.2
ProcVersionSign
Uname: Linux 3.0.0-13-generic x86_64
NonfreeKernelMo
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
CheckboxSubmission: 01a18e0a74cbde3
CheckboxSystem: f134069bba09873
Date: Thu Nov 3 16:05:36 2011
ExecutablePath: /usr/share/
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
InterpreterPath: /usr/bin/python2.7
PackageArchitec
ProcCmdline: /usr/bin/python /usr/bin/
ProcEnviron:
PATH=(custom, no user)
LANG=fr_FR.utf8
SHELL=/bin/bash
PythonArgs: ['/usr/
SourcePackage: software-center
Title: software-center crashed with TypeError in _get_combo_
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin audio cdrom dialout dip fax fuse lpadmin netdev plugdev sambashare tape video
Related branches
- Michael Vogt: Approve
-
Diff: 189 lines (+77/-34)4 files modifiedsoftwarecenter/config.py (+20/-5)
softwarecenter/log.py (+2/-6)
softwarecenter/utils.py (+37/-22)
test/test_utils.py (+18/-1)
tags: | removed: need-duplicate-check |
Changed in software-center (Ubuntu): | |
importance: | Undecided → High |
status: | Confirmed → Triaged |
assignee: | nobody → Gary Lasker (gary-lasker) |
milestone: | none → precise-updates |
description: | updated |
Changed in software-center (Ubuntu): | |
status: | Triaged → In Progress |
description: | updated |
Changed in software-center (Ubuntu): | |
importance: | High → Low |
tags: | added: precise |
Status changed to 'Confirmed' because the bug affects multiple users.