×

Discussion Board

Results 1 to 3 of 3

Hybrid View

  1. #1
    Registered User
    Join Date
    Jan 2007
    Posts
    2

    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.

  2. #2
    Registered User
    Join Date
    Feb 2005
    Location
    Belgium (Europe)
    Posts
    1,352

    Re: Help debugging Keypress module crashing with python 1.4.0 and 1.4.1 - S60v3

    Quote Originally Posted by xraimon View Post
    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.
    Hello ,

    Help from Cyke himself

    I try today this code on
    E61 (PyS60 1.4.1 devcert) and
    Code:
    r
    N95 (PyS60 1.4.0 RC devcert)
    console mode :
    Code:
    .
    So not really the attended result but it doesn't crash PyS60
    Have you signed with your dev cert Python shell too ?

    Cyke64
    pys60 1.4.5 and 2.0.0, pygame, PyS60 CE on E90 and 5800 !

    Find my pys60 extension modules on cyke64.googlepages.com

  3. #3
    Registered User
    Join Date
    Jan 2007
    Posts
    2

    Question Re: Help debugging Keypress module crashing with python 1.4.0 and 1.4.1 - S60v3

    Quote Originally Posted by cyke64 View Post
    Hello ,

    Help from Cyke himself

    I try today this code on
    E61 (PyS60 1.4.1 devcert) and
    Code:
    r
    N95 (PyS60 1.4.0 RC devcert)
    console mode :
    Code:
    .
    So not really the attended result but it doesn't crash PyS60
    Have you signed with your dev cert Python shell too ?

    Cyke64
    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!

Similar Threads

  1. Python for S60 1.4.1 released
    By jplauril in forum Symbian
    Replies: 30
    Last Post: 2009-02-07, 14:09

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×