[Bug 943897] Re: command-not-found crashed with NameError in __main__: name 'sys' is not defined

Launchpad Bug Tracker 943897 at bugs.launchpad.net
Wed Mar 7 16:55:49 UTC 2012


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

** Changed in: command-not-found (Ubuntu)
       Status: New => Confirmed

-- 
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/943897

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

Status in “command-not-found” package in Ubuntu:
  Confirmed

Bug description:
  Started by the 'g' typo:

  master at quant~/.bitcoin Thu Mar 01,10:51:48$ (4829) 
  master at quant~/.bitcoin Thu Mar 01,10:51:48$ (4829) 
  master at quant~/.bitcoin Thu Mar 01,10:51:48$ (4829) 
  master at quant~/.bitcoin Thu Mar 01,10:51:48$ (4829) g
  ^C
  master at quant~/.bitcoin Thu Mar 01,10:51:58$ (4829) ^C
  master at quant~/.bitcoin Thu Mar 01,10:51:59$ (4829) ^C
  master at 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 at quant~/.bitcoin Thu Mar 01,10:52:03$ (4829) ^C
  master at quant~/.bitcoin Thu Mar 01,10:52:03$ (4829) ^C
  master at quant~/.bitcoin Thu Mar 01,10:52:04$ (4829) ^C
  master at 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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/command-not-found/+bug/943897/+subscriptions




More information about the foundations-bugs mailing list