![]() |
Terminal error message on each time it opens - unknown locale: en_IL - Printable Version +- Linux Lite Forums (https://www.freecinema2022.gq/forums) +-- Forum: Software - Support (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=5) +--- Forum: Installing Linux Lite (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=17) +--- Thread: Terminal error message on each time it opens - unknown locale: en_IL (/showthread.php?tid=5997) |
Terminal error message on each time it opens - unknown locale: en_IL - eladkarako - 02-12-2019 I've installed a clean 4.2, added Hebrew as a supported language right after first-time system-update and driver-update (buttons). Each time I open the terminal I get a Traceback related to a language that does not exist. As far as I know Hebrew encoding is 'he_IL' while English languages are usually 'en_*' (en_UK, en_US,..). It seems that adding a language that is not English kept the preset 'en_'. Quote: Re: Terminal error message on each time it opens - unknown locale: en_IL - eladkarako - 02-12-2019 I've (re)installed Linux-Lite 4.2, but now I've used the default (English) keyboard layout, used New-York TimeZone and avoided updating packages, avoided installing drivers and avoided adding additional language-support (previous, I think that this step the the automatic re-configuration of installed-programs that followed might caused the bug). It resulted with a perfectly working terminal, with 'that colorful' (python based?) command-prompt (which, previously, I think was the program that broke after adding the Hebrew-language support). Re: Terminal error message on each time it opens - unknown locale: en_IL - bitsnpcs - 02-13-2019 Hello eladkarako, on this link https://stackoverflow.com/questions/29850912/decoding-and-encoding-hebrew-string-in-python in the answer it discusses adding Code: #!/usr/bin/env python to the top of the Python script, to ensure the right encoding, the first line of this will already be there, also to check the terminal is accepting this encoding. Also you may like this - http://www.python.org.il/ |