Prompt for incomplete command

d~_*b theunknownandrew at gmail.com
Tue Apr 3 05:21:24 UTC 2012


On Saturday 31 Mar 2012 3:50:53 AM Peng Yu wrote:
> But now I get the following error. It seems that there is some problem
> with the python packages. But I don't think that I have changed
> anything relevant in my system. Does anybody know what the problem
> might be and how to fix this problem?
> 
> ~$  hg
> Traceback (most recent call last):
>   File "/usr/lib/command-not-found", line 17, in <module>
>     from CommandNotFound.util import crash_guard
> ImportError: No module named CommandNotFound.util

On Saturday 31 Mar 2012 3:50:53 AM you wrote:

>From what I read about this from on Google's results
(http://www.google.com/search?client=ubuntu&channel=fs&q=gnome-default-
applications-
properties&ie=utf-8&oe=utf-8#hl=en&client=ubuntu&channel=fs&sclient=psy-
ab&q=Traceback+%28most+recent+call+last%29:+++File+%22%2Fusr%2Flib%2Fcommand-
not-found%22%2C+line+17&oq=Traceback+%28most+recent+call+last%29:
+++File+%22%2Fusr%2Flib%2Fcommand-not-found%22%2C+line+17)

This is related to a faulty or incorrect installation of a python command 
called (command-not-found : http://packages.ubuntu.com/maverick/command-not-
found). I am quoting here 'Its function is to suggest alternatives and 
corrections in case of mistyping etc on the command line'

Read the answer 2 on this link : 
http://unix.stackexchange.com/questions/9580/why-is-this-python-error-message-
generated-whenever-i-type-a-nonsense-command

Try the suggestions here too, it may help : 
http://ubuntuforums.org/showthread.php?t=1380441

-- & Ru





More information about the ubuntu-users mailing list