software-properties-gtk crashed with NameError in add_key_clicked()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
software-properties (Ubuntu) |
Expired
|
Medium
|
Unassigned |
Bug Description
put URL instead of local path in path selection box. I expected it to download the file (wishful thinking) or an error. Crashed the file selection box instead.
hardy's latest synaptic
ProblemType: Crash
Architecture: i386
Date: Sat May 3 02:41:54 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/bin/
InterpreterPath: /usr/bin/python2.5
Package: software-
PackageArchitec
ProcCmdline: /usr/bin/python /usr/bin/
ProcEnviron:
PATH=/
LANG=en_US.UTF-8
SHELL=/bin/bash
PythonArgs: ['/usr/
SourcePackage: software-properties
Title: software-
Traceback:
Traceback (most recent call last):
File "/usr/lib/
error(
NameError: global name 'error' is not defined
Uname: Linux 2.6.24-16-generic i686
UserGroups:
Changed in software-properties: | |
importance: | Undecided → Medium |
Changed in software-properties (Ubuntu): | |
status: | Fix Committed → Triaged |
Hi,
Thanks for taking the time to report this bug.
There are two places in this file, and possibly others in other files
that call "error", I suspect it may be an old function, and not all
code was migrated. I'm not sure what it should be replaced with,
otherwise I would submit a patch.
Thanks,
James