software-properties-gtk crashed with NameError in sort_mirrors(): global name 'cmp' is not defined
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
software-properties (Ubuntu) |
Fix Released
|
High
|
Colin Watson |
Bug Description
I was running the "Find Best Server" script from Software Update Settings when this occurred.
ProblemType: Crash
DistroRelease: Ubuntu 12.10
Package: software-
ProcVersionSign
Uname: Linux 3.2.0-26-
NonfreeKernelMo
ApportVersion: 2.3-0ubuntu2
Architecture: i386
Date: Mon Jul 9 12:42:53 2012
EcryptfsInUse: Yes
ExecutablePath: /usr/bin/
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
InterpreterPath: /usr/bin/
PackageArchitec
ProcCmdline: /usr/bin/python3.2 /usr/bin/
PythonArgs: ['/usr/
SourcePackage: software-properties
Title: software-
Traceback:
Traceback (most recent call last):
File "/usr/lib/
return cmp(url1, url2)
NameError: global name 'cmp' is not defined
UpgradeStatus: Upgraded to quantal on 2012-07-09 (0 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
Related branches
- No reviews requested
tags: | removed: need-duplicate-check |
Changed in software-properties (Ubuntu): | |
status: | New → Fix Committed |
importance: | Undecided → High |
assignee: | nobody → Colin Watson (cjwatson) |
visibility: | private → public |
This bug was fixed in the package software-properties - 0.87
---------------
software-properties (0.87) quantal; urgency=low
* Restore apt-add-repository symlink.
* Handle removal of cmp builtin from Python 3 (LP: #1022665).
* Open NamedTemporaryFile in text mode when writing text to it
(LP: #1021639).
* Fix display glitch in add-apt-repository that caused "None" to be
printed for any PPA without a description.
-- Colin Watson <email address hidden> Tue, 10 Jul 2012 09:56:14 +0100