[PyQt] [pyqtdeploy] [SOLVED] on android : PyImport_ImportFrozenModule failed
Sébastien RAMAGE
sramage at poifindus.com
Thu Apr 28 14:35:23 BST 2016
removing WCSFTIME solved the problem !
Config('HAVE_WCSFTIME', default=1,android=None),
Seb
**
*
*
Le 28/04/2016 15:20, Sébastien RAMAGE a écrit :
> Sound likes the problem is the locale module...
> I don't known how I can skip it since datetime needs it
>
>
> Le 28/04/2016 14:53, Sébastien RAMAGE a écrit :
>> 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
>>
>> _______________________________________________
>> PyQt mailing list PyQt at riverbankcomputing.com
>> https://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
> _______________________________________________
> PyQt mailing list PyQt at riverbankcomputing.com
> https://www.riverbankcomputing.com/mailman/listinfo/pyqt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20160428/5944470d/attachment-0001.html>
More information about the PyQt
mailing list