[PyQt] [pyqtdeploy] on android : PyImport_ImportFrozenModule failed

Sébastien RAMAGE sramage at poifindus.com
Thu Apr 28 13:53:26 BST 2016


I found the problem, the function datetime.strftime doesn't work, it 
gives the following error :

ValueError: character U+b88c0025 is not in range[U+0000; U+10ffff]

doing datetime.datetime(2000,1,1).strftime('%Y')


Any idea ?

Seb

Le 28/04/2016 13:45, Sébastien RAMAGE a écrit :
> 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)
> I can compile (by removing some python function like tipc for example) 
> but the app crash on launch
>
> I found that PyImport_ImportFrozenModule(CONST_CAST(main_module)) 
> failed it returns -1
>
> Sometimes (but rarely) the app start, but I get later an error "locale 
> setting failed"
>
> I used :
> pyqtdeploy from hg
> Python 3.5.1
> PyQt 5.4.2
> Qt 5.4.2
> Sip 4.18
> Android NDK 10e
> last Android SDK, API 16
>
> Any help will be appreciate
>
> Seb
>
>
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> https://www.riverbankcomputing.com/mailman/listinfo/pyqt



More information about the PyQt mailing list