lots of ImportWarning noise
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
command-not-found (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
$ foo
/usr/lib/
import gettext
/usr/lib/
import locale, copy, os, re, struct, sys
/usr/lib/
from apt.deprecation import function_
/usr/lib/
import ssl
No command 'foo' found, did you mean:
Command 'fio' from package 'fio' (universe)
Command 'goo' from package 'goo' (universe)
Command 'fop' from package 'fop' (main)
Command 'fox' from package 'objcryst-fox' (universe)
Command 'xoo' from package 'xoo' (universe)
Command 'fgo' from package 'fgo' (universe)
Command 'zoo' from package 'zoo' (universe)
foo: command not found
This is untidy, and arises from c-n-f's odd installation path. Perhaps forcibly remove /usr/lib from sys.path to avoid this?
Related branches
summary: |
- lots of ImportError noise + lots of ImportWarning noise |
This bug was fixed in the package command-not-found - 0.2.46ubuntu6
---------------
command-not-found (0.2.46ubuntu6) precise; urgency=low
* Import sys again in command-not-found's KeyboardInterrupt handler
(LP: #864461).
* Forcibly remove /usr/lib from the start of sys.path to avoid unsightly
ImportWarning noise (LP: #983875).
* Update scan.data to current precise.
-- Colin Watson <email address hidden> Tue, 17 Apr 2012 12:35:51 +0100