Closed GoogleCodeExporter closed 9 years ago
Haven't seen that before...
What language/country is your machine set for ?
Original comment by sc...@forusers.com
on 16 Jan 2013 at 11:30
Nevermind, I see that you output locale and you must be in India.
Original comment by sc...@forusers.com
on 16 Jan 2013 at 11:32
I've uploaded version 1.16, why don't you give that a try it might fix your
issue.
Original comment by sc...@forusers.com
on 16 Jan 2013 at 11:51
I can reproduce the issue with "en_IN" locale and the problem seems to be
encoding (charmap).
locale.getlocale(locale.LC_CTYPE)
returns
('en_IN', 'ISO8859-1')
That encoding definitely is not the right one for Indian language. If I
manually override it in keymon code to be 'UTF-8', the error is gone.
I searched 'en_IN' and there seems to have some problems with that locale, not
just our keymon. "en_IN.utf8" has no problems, keymon can run with it happily.
I don't think it's fixable in keymon since the problem isn't in keymon.
Is there a particular reason that your system is set to "en_IN"? Can you try to
switch to "en_IN.utf8" and see if that works normally on your system?
Original comment by livibet...@gmail.com
on 17 Jan 2013 at 3:21
Hi livibetter,
You may have missed that I think I fixed the issue already.
Instead of using locale.getlocale(locale.LC_TYPE) I'm using
locale.setlocale(locale.LC_TYPE, None) and using setlocale's returned value for
the current locale.
I think the bug comes from:
http://bugs.python.org/issue1699853
and that's where I got this work around from.
Original comment by sc...@forusers.com
on 17 Jan 2013 at 4:26
@scott, I see but it's not in the repo and it does fix the problem,
did you forget to push?
Original comment by livibet...@gmail.com
on 17 Jan 2013 at 6:53
Forgot to push, sorry about that.
Original comment by sc...@forusers.com
on 17 Jan 2013 at 10:52
Actually i changed the locale
LANG=en_US.UTF-8
LANGUAGE=en
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=en_IN.UTF-8
LC_TIME=en_IN.UTF-8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=en_IN.UTF-8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=en_IN.UTF-8
LC_NAME=en_IN.UTF-8
LC_ADDRESS=en_IN.UTF-8
LC_TELEPHONE=en_IN.UTF-8
LC_MEASUREMENT=en_IN.UTF-8
LC_IDENTIFICATION=en_IN.UTF-8
LC_ALL=
after that its working, but now i can't see the en_IN again. thanks for fixing
the issue.
Original comment by darknigh...@gmail.com
on 19 Jan 2013 at 3:36
Original issue reported on code.google.com by
darknigh...@gmail.com
on 16 Jan 2013 at 2:02