Help debugging Keypress module crashing with python 1.4.0 and 1.4.1 - S60v3
Tried with lastest version of Python 1.4.0 and 1.4.1 for S60v3
Both python and keypress (devcert signed) installed on phone memory
The following commands crash python both in script mode and interactive console...
> from key_codes import *
> import keypress
> keypress.simulate_key(EKey1,EKey1)
Really the crash happen when called "keypress.simulate...."
Working fine with Python v1.3.x versions...
Having a look at keypress source code looks like not deal with recent UID change of python... so using lastest binary keypress...
So, please anyone or CYKE ;) could give me a hand debugging and finding what happen here...
Thanks in advance.
Re: Help debugging Keypress module crashing with python 1.4.0 and 1.4.1 - S60v3
[QUOTE=xraimon;352499]Tried with lastest version of Python 1.4.0 and 1.4.1 for S60v3
Both python and keypress (devcert signed) installed on phone memory
The following commands crash python both in script mode and interactive console...
> from key_codes import *
> import keypress
> keypress.simulate_key(EKey1,EKey1)
Really the crash happen when called "keypress.simulate...."
Working fine with Python v1.3.x versions...
Having a look at keypress source code looks like not deal with recent UID change of python... so using lastest binary keypress...
So, please anyone or CYKE ;) could give me a hand debugging and finding what happen here...
Thanks in advance.[/QUOTE]
Hello ,
Help from Cyke himself :D
I try today this code on
E61 (PyS60 1.4.1 devcert) and
[code]
r
[/code]
N95 (PyS60 1.4.0 RC devcert)
console mode :
[code]
.
[/code]
So not really the attended result but it doesn't crash PyS60 :)
Have you signed with your dev cert Python shell too ?
Cyke64
Re: Help debugging Keypress module crashing with python 1.4.0 and 1.4.1 - S60v3
[QUOTE=cyke64;352738]Hello ,
Help from Cyke himself :D
I try today this code on
E61 (PyS60 1.4.1 devcert) and
[code]
r
[/code]
N95 (PyS60 1.4.0 RC devcert)
console mode :
[code]
.
[/code]
So not really the attended result but it doesn't crash PyS60 :)
Have you signed with your dev cert Python shell too ?
Cyke64[/QUOTE]
MANY THANKS mate! :)
Was the capabilities thing... I though that when talking about python, new protected UID, officially Nokia signed, all capabilities -TCB -DRM -Allfiles this was also applied to Python Script Shell but just noted that officially Nokia signed only have basic capabilities that make it crash when trying to use APIs that need higher/different capabilities... Think that it shouldn't crash but intercept errorlevel and give any advice but only an opinion... :)
Meanwhile, I've signed freedevcert that have all User Grantable and Symbian Signed capabilities (none from licensee or manufacturer) and it works like a charm... again!
Not understand your code samples saying an unexpected behaviour... really don't see any code inside :-?
Many thanks again BIG cyke! :)