[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] [pyqtdeploy] on android : PyImport_ImportFrozenModule failed
From:       Sébastien_RAMAGE <sramage () poifindus ! com>
Date:       2016-04-28 13:20:00
Message-ID: 57220E00.4080603 () poifindus ! com
[Download RAW message or body]

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@riverbankcomputing.com
>> https://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
> _______________________________________________
> PyQt mailing list    PyQt@riverbankcomputing.com
> https://www.riverbankcomputing.com/mailman/listinfo/pyqt

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic