Silaty icon indicating copy to clipboard operation
Silaty copied to clipboard

start up doesn't recognize locale setting

Open fayad opened this issue 10 years ago • 0 comments

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.

fayad avatar Feb 19 '15 05:02 fayad