×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Sep 2003
    Posts
    77

    e32.set_home_time() fails on real device

    When I try to run a script with e32.set_home_time() from the python script shell (1.4.1) on a 3rd edition device it stops with the error message:
    Code:
    SymbianError:[Errno -46]
    KErrPermissionDenied
    No problems in emulator.

    The code:
    Code:
    import e32
    import time
    
    time = time.time()
    time -= 10.0
    
    e32.set_home_time(time)

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

    Re: e32.set_home_time() fails on real device

    Quote Originally Posted by dehlerm View Post
    When I try to run a script with e32.set_home_time() from the python script shell (1.4.1) on a 3rd edition device it stops with the error message:
    Code:
    SymbianError:[Errno -46]
    KErrPermissionDenied
    No problems in emulator.

    The code:
    Code:
    import e32
    import time
    
    time = time.time()
    time -= 10.0
    
    e32.set_home_time(time)
    On 3rd edition you need WriteDeviceData capability which is only available with dev cert !
    You certainly use a self signed pythonshell ...

    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
    Sep 2003
    Posts
    77

    Re: e32.set_home_time() fails on real device

    Thanks for helping with this issue, Cyke!

    It works with a DevCert. (Built a SIS with ensymble and 'my' DevCert.)

    Although I read some stuff about SymbianSigned and capabilities I have the feeling that I didn't understand the whole stuff really ;-).

    Is there an overview about this topics available?
    - Which PyS60 functionality requires which capability.
    - Which capability requires which signing type/option.

  4. #4
    Super Contributor
    Join Date
    May 2004
    Location
    Tampere, Finland
    Posts
    524

    Re: e32.set_home_time() fails on real device

    Quote Originally Posted by dehlerm View Post
    Is there an overview about this topics available?
    - Which PyS60 functionality requires which capability.
    - Which capability requires which signing type/option.
    There's a PyS60_3rdEd_README.txt in the PyS60 source distribution pys60-1.4.1_src.zip. It has a brief (but a bit outdated) overview of required capabilities for each PyS60 extension module and some information about the signing procedure in general.

Similar Threads

  1. http connection in J2me(working fine in emulator but not in real device)???
    By prasad767 in forum Mobile Java Networking & Messaging & Security
    Replies: 2
    Last Post: 2006-11-29, 05:14
  2. Replies: 4
    Last Post: 2006-05-19, 09:04
  3. Replies: 6
    Last Post: 2005-04-14, 09:07
  4. UDP Connectio in real device.
    By debasish1234 in forum Symbian Networking & Messaging (Closed)
    Replies: 4
    Last Post: 2005-03-05, 04:37
  5. Replies: 1
    Last Post: 2002-05-16, 19:08

Posting Permissions

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