This is a race condition; it happens if you manage to interrupt command-
not-found before it's managed to import sys.
Perhaps the exception handler should import sys again?
** Changed in: command-not-found (Ubuntu)
Status: New => Triaged
** Changed in: command-not-found (Ubuntu)
Importance: Undecided => Medium
** Visibility changed to: Public
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/864461
Title:
command-not-found crashed with NameError in __main__: name 'sys' is
not defined
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/command-not-found/+bug/864461/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs