[BlackBerry-Python] PySide for BB10
Martin Kolman
martin.kolman at gmail.com
Tue Jan 15 16:04:21 EST 2013
>> More info about the segfault
>> After the application package is installed on the device & the icon is
>> clicked a black window briefly shows up and vanishes.
>> The log in /accounts/1000/appdata/<appname>/logs/log has a this single line:
>>
>> Process 30396593 (python3.2) terminated SIGSEGV code=1 fltno=11
>> ip=783abf7c(/base/lib/libcpp.so.4 at _ZNKSt6locale9_GetfacetEj+0x27)
>> mapaddr=0002bf7c. ref=00000010
> I know I got a lot of these errors. They are quite annoying since they do not tell you what really happens. Unfortunately I do not remember what the issue is. I think you can get it if the qt libraries are not loaded.
>
> There is an issue I never solved. It is that the PySide bindings don't load the qt libraries. A workaround is to put this before loading the pyside bindings:
> from ctypes import *
> qtcore = CDLL('libQtCore.so.4')
> qtcascades = CDLL('libbbcascades.so')
> qtdecl = CDLL('libQtDeclarative.so.4')
>
>
>
> This loads the lib manually before they are needed.
Thanks! That looks really promising - I'll try it out right away and see
what it does. :)
Fingers crossed !
Martin Kolman
More information about the BlackBerry-Python
mailing list