command-not-found crashes when PATH is unset
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
command-not-found (Ubuntu) |
Fix Released
|
Low
|
Michael Vogt |
Bug Description
Binary package hint: command-not-found
This happens for all commands typed command' and then adding a ' on the next line. this happens of cource for the " too...
prompt$ ls'
> '
Command 'ls' is available in '/bin/ls'
KABOOOM!!!
Whoops, command-not-found has crashed! Please file a bug report at:
https:/
Please include the following information with the report:
'NoneType' object has no attribute 'split'
Traceback (most recent call last):
File "/usr/lib/
CommandNotF
File "/usr/lib/
missing = list(set(prefixes) - set(os.
AttributeError: 'NoneType' object has no attribute 'split'
Python version: 2.5.1 final 0
bash: ls
: command not found
Changed in command-not-found: | |
status: | Confirmed → Fix Committed |
Thank you for taking the time to report this bug and helping to make Ubuntu better. I have tried to reproduce your bug, but command-not-found does not crash. I have tested it with hardy and intrepid. Which version of Ubuntu do you use? Which version does command-not-found have?