Kodi Community Forum
Bug python on android locale - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93)
+---- Forum: Android Development (https://forum.kodi.tv/forumdisplay.php?fid=184)
+---- Thread: Bug python on android locale (/showthread.php?tid=170883)



python on android locale - memeka - 2013-08-09

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-android/issues/detail?id=1
etc.

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

Thanks.


RE: python on android locale - mo123 - 2013-09-22

Any news yet on a fix for this?


RE: python on android locale - curlyboi - 2013-10-26

shameless bump


RE: python on android locale - emveepee - 2013-11-12

This was fixed for my plugin with this https://github.com/xbmc/xbmc/commit/f4f7492e4513fd8fa73ae348575b1078bd7f5404 Thanks a lot.

Martin


RE: python on android locale - borexino - 2013-11-12

(2013-11-12, 14:37)emveepee Wrote: This was fixed for my plugin with this https://github.com/xbmc/xbmc/commit/f4f7492e4513fd8fa73ae348575b1078bd7f5404 Thanks a lot.

Martin

What does it means? We'll have the issue solved for all addons since next alpha?
I appreciate
thx


RE: python on android locale - Koying - 2013-11-13

Well, at least for all addons which failed due to the locale thingy, yes.


RE: python on android locale - borexino - 2013-11-14

it's a great news! :-D


This forum uses Lukasz Tkacz MyBB addons.