[Bug 1022665] Re: software-properties-gtk crashed with NameError in sort_mirrors(): global name 'cmp' is not defined
Launchpad Bug Tracker
1022665 at bugs.launchpad.net
Tue Jul 10 09:00:19 UTC 2012
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 <cjwatson at ubuntu.com> Tue, 10 Jul 2012 09:56:14 +0100
** Changed in: software-properties (Ubuntu)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to software-properties in Ubuntu.
https://bugs.launchpad.net/bugs/1022665
Title:
software-properties-gtk crashed with NameError in sort_mirrors():
global name 'cmp' is not defined
Status in “software-properties” package in Ubuntu:
Fix Released
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-properties-gtk 0.86
ProcVersionSignature: Ubuntu 3.2.0-26.41-generic-pae 3.2.19
Uname: Linux 3.2.0-26-generic-pae i686
NonfreeKernelModules: nvidia
ApportVersion: 2.3-0ubuntu2
Architecture: i386
Date: Mon Jul 9 12:42:53 2012
EcryptfsInUse: Yes
ExecutablePath: /usr/bin/software-properties-gtk
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
InterpreterPath: /usr/bin/python3.2mu
PackageArchitecture: all
ProcCmdline: /usr/bin/python3.2 /usr/bin/software-properties-gtk --open-tab 2
PythonArgs: ['/usr/bin/software-properties-gtk', '--open-tab', '2']
SourcePackage: software-properties
Title: software-properties-gtk crashed with NameError in sort_mirrors(): global name 'cmp' is not defined
Traceback:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/softwareproperties/gtk/DialogMirror.py", line 65, in sort_mirrors
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1022665/+subscriptions
More information about the foundations-bugs
mailing list