On Mon, Dec 12, 2005 at 04:10:15PM +0100, Nick Lewycky wrote: > Package: uxterm > Version: xterm > Severity: minor > > uxterm mysteriously stopped working one day. It wasn't until I read > the bug report in #318513 that I finally realized the problem. > > uxterm requires that the system locale have a UTF-8 locale installed. > The error message I was getting is: > > uxterm tried to use locale en_CA.UTF-8 > locale: Cannot set LC_CTYPE to default locale: No such file or directory > locale: Cannot set LC_MESSAGES to default locale: No such file or directory > locale: Cannot set LC_ALL to default locale: No such file or directory > > which doesn't tell me the root of the problem, and confuses the user > with "No such file or directory". Please consider testing for this > condition and emitting an error message stating that the locale > does not exist.
I did consider this. However (just refreshed my memory), the locale program doesn't return an error code. It writes some text to stderr. Given the limitations of locale (and keeping it as a portable script), the only choice appeared to be to show what the script was attempting to do, and why it failed. Perhaps this should be reassigned to the package owning "locale", since that's producing the problem that you're reporting. -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net
pgp1bu734UKAJ.pgp
Description: PGP signature