command-not-found crashed with NameError in __main__: name 'sys' is not defined

Bug #943897 reported by Marcos K
28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
command-not-found (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Started by the 'g' typo:

master@quant~/.bitcoin Thu Mar 01,10:51:48$ (4829)
master@quant~/.bitcoin Thu Mar 01,10:51:48$ (4829)
master@quant~/.bitcoin Thu Mar 01,10:51:48$ (4829)
master@quant~/.bitcoin Thu Mar 01,10:51:48$ (4829) g
^C
master@quant~/.bitcoin Thu Mar 01,10:51:58$ (4829) ^C
master@quant~/.bitcoin Thu Mar 01,10:51:59$ (4829) ^C
master@quant~/.bitcoin Thu Mar 01,10:51:59$ (4829) fgTraceback (most recent call last):
  File "/usr/lib/command-not-found", line 20, in <module>
    sys.exit(127)
NameError: name 'sys' is not defined
^C
master@quant~/.bitcoin Thu Mar 01,10:52:03$ (4829) ^C
master@quant~/.bitcoin Thu Mar 01,10:52:03$ (4829) ^C
master@quant~/.bitcoin Thu Mar 01,10:52:04$ (4829) ^C
master@quant~/.bitcoin Thu Mar 01,10:52:04$ (4829) w;df -h
 10:52:21 up 3 days, 13:48, 5 users, load average: 0.79, 0.55, 0.51

ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: command-not-found 0.2.44.1ubuntu1
ProcVersionSignature: Ubuntu 3.0.0-16.29-generic 3.0.20
Uname: Linux 3.0.0-16-generic i686
ApportVersion: 1.23-0ubuntu4
Architecture: i386
Date: Thu Mar 1 10:52:00 2012
ExecutablePath: /usr/lib/command-not-found
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/lib/command-not-found -- g
PythonArgs: ['/usr/lib/command-not-found', '--', 'g']
SourcePackage: command-not-found
Title: command-not-found crashed with NameError in __main__: name 'sys' is not defined
Traceback:
 Traceback (most recent call last):
   File "/usr/lib/command-not-found", line 20, in <module>
     sys.exit(127)
 NameError: name 'sys' is not defined
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin cdrom dialout libvirtd lpadmin plugdev sambashare

Revision history for this message
Marcos K (g-ubuntu-com-y) wrote :
visibility: private → public
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in command-not-found (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.