BUG - python on android locale

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
memeka Offline
Member
Posts: 74
Joined: May 2013
Reputation: 1
Bug  python on android locale
Post: #1
Let me post this again here, maybe someone can fix this

Python on Android cannot access locales, so many scripts fail for trivial things such as formatting the date - strftime, strptime functions for example look for the current locale.
Thus, the python interpreter for android needs to be patched. If you look at this issue on the web you can find it, plus possible solutions.

https://github.com/isislovecruft/android-locale-hack
https://code.google.com/p/python-for-and...etail?id=1
etc.

Please fix this issue so that all our plugins will work again Smile

Thanks.
find quote
mo123 Offline
Junior Member
Posts: 45
Joined: May 2013
Reputation: 0
Post: #2
Any news yet on a fix for this?
find quote
curlyboi Offline
Junior Member
Posts: 19
Joined: Jan 2013
Reputation: 0
Location: Prague, CZ
Post: #3
shameless bump
find quote
emveepee Offline
Senior Member
Posts: 293
Joined: Jul 2012
Reputation: 0
Post: #4
This was fixed for my plugin with this https://github.com/xbmc/xbmc/commit/f4f7...78bd7f5404 Thanks a lot.

Martin
find quote
borexino Offline
Junior Member
Posts: 21
Joined: Jun 2013
Reputation: 0
Post: #5
(2013-11-12 14:37)emveepee Wrote:  This was fixed for my plugin with this https://github.com/xbmc/xbmc/commit/f4f7...78bd7f5404 Thanks a lot.

Martin

What does it means? We'll have the issue solved for all addons since next alpha?
I appreciate
thx
find quote
Koying Offline
Team-Kodi Member
Posts: 1,930
Joined: Sep 2008
Reputation: 41
Location: Brussels, Belgium
Post: #6
Well, at least for all addons which failed due to the locale thingy, yes.
find quote
borexino Offline
Junior Member
Posts: 21
Joined: Jun 2013
Reputation: 0
Post: #7
it's a great news! :-D
find quote