everpad icon indicating copy to clipboard operation
everpad copied to clipboard

Not working for different local locale

Open sadaf2605 opened this issue 9 years ago • 1 comments

When I clicked on top menu it shows: sadaf2605@sadaf-pc:~$ everpad

Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/everpad/pad/indicator.py", line 98, in update print datetime.strptime("12:50", "%H:%M") File "/usr/lib/python2.7/_strptime.py", line 270, in _TimeRE_cache = TimeRE() File "/usr/lib/python2.7/_strptime.py", line 188, in init self.locale_time = LocaleTime() File "/usr/lib/python2.7/_strptime.py", line 70, in init self.lang = _getlang() File "/usr/lib/python2.7/_strptime.py", line 29, in _getlang return locale.getlocale(locale.LC_TIME) File "/usr/lib/python2.7/locale.py", line 562, in getlocale return _parse_localename(localename) File "/usr/lib/python2.7/locale.py", line 475, in _parse_localename raise ValueError, 'unknown locale: %s' % localename ValueError: unknown locale: bn_BD

sadaf2605 avatar Apr 01 '15 04:04 sadaf2605

one way to bypass this is to run "export LC_ALL=en_US.UTF-8 && export LANG=en_US.UTF-8 && everpad %U" at start up from start up application.

sadaf2605 avatar Apr 01 '15 05:04 sadaf2605