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.
silaty-indicator.py did not recognize locale setting on first run. Debian Jessie, gnome 3.14.1.
fayad@debianJessie:
/Silaty-master$ ./silaty-indicator.py/Silaty-master$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:
Adding locale setting that's available with
dpkg-reconfigure localeto line 13 cleared it.Hope the script is suppose to check for the setting. Thanks.