Does not handle KeyboardInterrupt
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
command-not-found |
Won't Fix
|
Undecided
|
Unassigned | ||
command-not-found (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I get:
File "/usr/lib/
main()
File "/usr/lib/
known_paths = addsitepackages
File "/usr/lib/
addsitedir(
File "/usr/lib/
addpackage(
File "/usr/lib/
f = open(fullname, "rU")
KeyboardInterrupt
Whenever I press ctrl+c to stop it from running, using 0.2.44.1ubuntu1. It shouldn't be erroring out when I wish to cancel it.
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: command-not-found 0.2.44.1ubuntu1
ProcVersionSign
Uname: Linux 3.0.0-15-generic x86_64
NonfreeKernelMo
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
CheckboxSubmission: 65532cf2dcc18ad
CheckboxSystem: 3e53d3ea5811723
Date: Mon Jan 23 15:13:17 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Beta amd64 (20110413)
PackageArchitec
ProcEnviron:
LANGUAGE=en_CA:en
PATH=(custom, user)
LANG=en_CA.UTF-8
SHELL=/bin/bash
SourcePackage: command-not-found
UpgradeStatus: Upgraded to oneiric on 2011-10-19 (95 days ago)
Changed in command-not-found (Ubuntu): | |
status: | New → Confirmed |
Changed in command-not-found: | |
status: | New → Confirmed |
This is a bug in python that cannot be fixed in command not found. The error you are seeing happens before the application starts up. This is actually python runtime startup being interrupted