Skip to content

start up doesn't recognize locale setting #1

Description

@fayad

silaty-indicator.py did not recognize locale setting on first run. Debian Jessie, gnome 3.14.1.

fayad@debianJessie:/Silaty-master$ ./silaty-indicator.py
Traceback (most recent call last):
File "./silaty-indicator.py", line 13, in
locale.setlocale(locale.LC_ALL, 'en_US.UTF-8')
File "/usr/lib/python3.4/locale.py", line 592, in setlocale
return _setlocale(category, locale)
locale.Error: unsupported locale setting
fayad@debianJessie:
/Silaty-master$

Adding locale setting that's available with dpkg-reconfigure locale to line 13 cleared it.

locale.setlocale(locale.LC_ALL, 'en_IN.UTF-8')

class SilatyIndicator():
def init(self):

Hope the script is suppose to check for the setting. Thanks.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions