nvbn / everpad

Evernote client well integrated with linux desktop
1.17k stars 143 forks source link

Not working for different local locale #464

Open sadaf2605 opened 9 years ago

sadaf2605 commented 9 years ago

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 commented 9 years ago

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.