I get the same error on calling the (not installed) "mpicc".

$ mpicc
Das Programm mpicc ist folgenden Paketen enthalten: [translation: The program 
mpicc comes with the following packages]
 * lam4-dev
 * libmpich1.0-dev
 * libopenmpi-dev
 * libmpich-mpd1.0-dev
 * libmpich-shmem1.0-dev
Sorry, command-not-found has crashed! Please file a bug report at:
https://bugs.launchpad.net/ubuntu/+source/command-not-found
Please include the following information with the report:
'ascii' codec can't encode character u'\xe4' in position 25: ordinal not in 
range(128)
Traceback (most recent call last):
  File "/usr/lib/command-not-found", line 28, in <module>
    CommandNotFound(options.data_dir).advise(args[0], options.ignore_installed)
  File "/usr/lib/python2.5/site-packages/CommandNotFound/CommandNotFound.py", 
line 153, in advise
    print >>sys.stderr, _("Try: %s <selected package>") % "sudo apt-get 
install"  File "/usr/lib/python2.5/gettext.py", line 584, in lgettext
    return ldgettext(_current_domain, message)
  File "/usr/lib/python2.5/gettext.py", line 556, in ldgettext
    return t.lgettext(message)
  File "/usr/lib/python2.5/gettext.py", line 366, in lgettext
    return tmsg.encode(locale.getpreferredencoding())
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe4' in position 
25: ordinal not in range(128)
Python version: 2.5.2 final 0
-bash: mpicc: command not found

$ locale
LANG=de_DE.UTF-8
LANGUAGE=de_DE:de:en_GB:en
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=C

$env
TERM=xterm
SHELL=/bin/bash
XDG_SESSION_COOKIE=277d102e898ca2433e825b85486e6a0c-1219139095.924451-733166218
SSH_CLIENT=<some snipped IP>
SSH_TTY=/dev/pts/2
LC_ALL=C
USER=fabtagon
LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.svgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:
LIBGL_DRIVERS_PATH=/usr/lib/dri:/usr/lib64/dri
LD_LIBRARY_PATH=/usr/lib/xorg:/usr/lib64/xorg
MAIL=/var/mail/fabtagon
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
PWD=/usr/share/doc/openmpi-doc
LANG=de_DE.UTF-8
HISTCONTROL=ignoreboth
SHLVL=1
HOME=/home/fabtagon
LANGUAGE=de_DE:de:en_GB:en
LOGNAME=fabtagon
SSH_CONNECTION=<some snipped IP>
LC_CTYPE=C
LESSOPEN=| /usr/bin/lesspipe %s
LESSCLOSE=/usr/bin/lesspipe %s %s
OLDPWD=/home/fabtagon
_=/usr/bin/env

Ubuntu version is 8.04.1.
I am connected via ssh from a Solaris 10 Gnome Terminal.

-- 
command-not-found crarshes with "LS"
https://bugs.launchpad.net/bugs/252203
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to