[Bug 920300] Re: Does not handle KeyboardInterrupt
Zygmunt Krynicki
zygmunt.krynicki at canonical.com
Tue Jan 31 22:06:51 UTC 2012
Given the environment we are running in that is not feasible technically.
The correct solution is to either patch python or to write a C/vala client.
Last time I checked this (a few years ago) vala lacked bindings to gdbm,
if that is changed we could track this in a blueprint.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to command-not-found in Ubuntu.
https://bugs.launchpad.net/bugs/920300
Title:
Does not handle KeyboardInterrupt
Status in command-not-found handler:
Won't Fix
Status in “command-not-found” package in Ubuntu:
Invalid
Bug description:
I get:
File "/usr/lib/python2.7/site.py", line 562, in <module>
main()
File "/usr/lib/python2.7/site.py", line 545, in main
known_paths = addsitepackages(known_paths)
File "/usr/lib/python2.7/site.py", line 327, in addsitepackages
addsitedir(sitedir, known_paths)
File "/usr/lib/python2.7/site.py", line 195, in addsitedir
addpackage(sitedir, name, known_paths)
File "/usr/lib/python2.7/site.py", line 148, in addpackage
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
ProcVersionSignature: Ubuntu 3.0.0-15.25-generic 3.0.13
Uname: Linux 3.0.0-15-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
CheckboxSubmission: 65532cf2dcc18adf59d8dfa735190aed
CheckboxSystem: 3e53d3ea5811723345f19eff5070f9ab
Date: Mon Jan 23 15:13:17 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Beta amd64 (20110413)
PackageArchitecture: all
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)
To manage notifications about this bug go to:
https://bugs.launchpad.net/command-not-found/+bug/920300/+subscriptions
More information about the foundations-bugs
mailing list