<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
removing WCSFTIME solved the problem !<br>
<br>
Config('HAVE_WCSFTIME', default=1,android=None),<br>
<br>
Seb<br>
<font color="#009900"><b></b></font>
<div class="moz-signature"><small><b> <br>
</b> </small></div>
<div class="moz-cite-prefix">Le 28/04/2016 15:20, Sébastien RAMAGE a
écrit :<br>
</div>
<blockquote cite="mid:57220E00.4080603@poifindus.com" type="cite">Sound
likes the problem is the locale module...
<br>
I don't known how I can skip it since datetime needs it
<br>
<br>
<br>
Le 28/04/2016 14:53, Sébastien RAMAGE a écrit :
<br>
<blockquote type="cite">I found the problem, the function
datetime.strftime doesn't work, it gives the following error :
<br>
<br>
ValueError: character U+b88c0025 is not in range[U+0000;
U+10ffff]
<br>
<br>
doing datetime.datetime(2000,1,1).strftime('%Y')
<br>
<br>
<br>
Any idea ?
<br>
<br>
Seb
<br>
<br>
Le 28/04/2016 13:45, Sébastien RAMAGE a écrit :
<br>
<blockquote type="cite">After successfully building and running
an apk on android 5.x (API 21), I'm trying to port my app on
Android 4.x (API 16)
<br>
I can compile (by removing some python function like tipc for
example) but the app crash on launch
<br>
<br>
I found that
PyImport_ImportFrozenModule(CONST_CAST(main_module)) failed it
returns -1
<br>
<br>
Sometimes (but rarely) the app start, but I get later an error
"locale setting failed"
<br>
<br>
I used :
<br>
pyqtdeploy from hg
<br>
Python 3.5.1
<br>
PyQt 5.4.2
<br>
Qt 5.4.2
<br>
Sip 4.18
<br>
Android NDK 10e
<br>
last Android SDK, API 16
<br>
<br>
Any help will be appreciate
<br>
<br>
Seb
<br>
<br>
<br>
_______________________________________________
<br>
PyQt mailing list <a class="moz-txt-link-abbreviated" href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a>
<br>
<a class="moz-txt-link-freetext" href="https://www.riverbankcomputing.com/mailman/listinfo/pyqt">https://www.riverbankcomputing.com/mailman/listinfo/pyqt</a>
<br>
</blockquote>
<br>
_______________________________________________
<br>
PyQt mailing list <a class="moz-txt-link-abbreviated" href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a>
<br>
<a class="moz-txt-link-freetext" href="https://www.riverbankcomputing.com/mailman/listinfo/pyqt">https://www.riverbankcomputing.com/mailman/listinfo/pyqt</a>
<br>
</blockquote>
<br>
_______________________________________________
<br>
PyQt mailing list <a class="moz-txt-link-abbreviated" href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a>
<br>
<a class="moz-txt-link-freetext" href="https://www.riverbankcomputing.com/mailman/listinfo/pyqt">https://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br>
</blockquote>
<br>
</body>
</html>