LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Terminal error message on each time it opens - unknown locale: en_IL
#1
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:
Code:
Traceback (most recent call last):
  File "/usr/bin/powerline-config", line 6, in <module>
    from powerline.commands.config import get_argparser
  File "/usr/lib/python2.7/dist-packages/powerline/commands/config.py", line 6, in <module>
    import powerline.bindings.config as config
  File "/usr/lib/python2.7/dist-packages/powerline/bindings/config.py", line 19, in <module>
    from powerline.commands.main import finish_args
  File "/usr/lib/python2.7/dist-packages/powerline/commands/main.py", line 18, in <module>
    encoding = get_preferred_arguments_encoding()
  File "/usr/lib/python2.7/dist-packages/powerline/lib/encoding.py", line 89, in get_preferred_arguments_encoding
    locale.getdefaultlocale()[1]
  File "/usr/lib/python2.7/locale.py", line 545, in getdefaultlocale
    return _parse_localename(localename)
  File "/usr/lib/python2.7/locale.py", line 477, in _parse_localename
    raise ValueError, 'unknown locale: %s' % localename
ValueError: unknown locale: en_IL
Traceback (most recent call last):
  File "/usr/bin/powerline-config", line 6, in <module>
    from powerline.commands.config import get_argparser
  File "/usr/lib/python2.7/dist-packages/powerline/commands/config.py", line 6, in <module>
    import powerline.bindings.config as config
  File "/usr/lib/python2.7/dist-packages/powerline/bindings/config.py", line 19, in <module>
    from powerline.commands.main import finish_args
  File "/usr/lib/python2.7/dist-packages/powerline/commands/main.py", line 18, in <module>
    encoding = get_preferred_arguments_encoding()
  File "/usr/lib/python2.7/dist-packages/powerline/lib/encoding.py", line 89, in get_preferred_arguments_encoding
    locale.getdefaultlocale()[1]
  File "/usr/lib/python2.7/locale.py", line 545, in getdefaultlocale
    return _parse_localename(localename)
  File "/usr/lib/python2.7/locale.py", line 477, in _parse_localename
    raise ValueError, 'unknown locale: %s' % localename
ValueError: unknown locale: en_IL
Welcome to Linux Lite 4.2 me

Tuesday 12 February 2019, 18:17:37
Memory Usage: 353/1993MB (17.71%)
Disk Usage: 8/59GB (15%)
Support - https://www.freecinema2022.gq/forums/ (Right click, Open Link)
Reply


Messages In This Thread
Terminal error message on each time it opens - unknown locale: en_IL - by eladkarako - 02-12-2019, 05:13 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)