This is not a c-n-f bug really but a python bug (or a feature). Since you have LC_CTYPE=C python will assume that stdout needs ASCII encoding. Because you also have LC_MESSAGES=de_DE.UTF-8 it will still translate the message and fail to encode unicode string with ascii codec.
I can only say that this is UNIX suxx0rz problem not implementation problem of a particular program. Either fix your configuration or fix python to silently do the right thing in this odd case. ** Changed in: command-not-found (Ubuntu) Status: Confirmed => Won't Fix ** Summary changed: - command-not-found crarshes with "LS" + command-not-found crashes when LC_CTYPE=C and LC_MESSAGES=de_DE.UTF-8 -- command-not-found crashes when LC_CTYPE=C and LC_MESSAGES=de_DE.UTF-8 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