×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Jan 2007
    Posts
    80

    Problems after firmware update with Permissions

    Hi

    I have a nokia n95 with the latest firmware (just installed this week)
    but since I installed it the Permissions seem to be acting up, before the firmware update I installed the python 1.4 Release candidate both signed with the developers certificates and I was able to get access to the positioning api, after the update I installed the new 1.4 Python (PythonForS60_1_4_0_3rdEd) and I signed the Python Shell (PythonScriptShell_1_4_0_3rdEd_unsigned_freedevcert) but when I try to get a position I get the following error:

    Could it have something to do with the assisted GPS?

    >>> positioning.position()
    Traceback (most recent call last):
    File "<console>", line 1, in ?
    File "c:\resource\positioning.py", line 82, in position
    return _positioner.position(flags)
    SymbianError: [Errno -21] KErrAccessDenied

    Any help would be great.

  2. #2
    Regular Contributor
    Join Date
    Sep 2005
    Location
    Finland, Helsinki
    Posts
    323

    Re: Problems after firmware update with Permissions

    Quote Originally Posted by federico2929
    >>> positioning.position()
    Traceback (most recent call last):
    ...
    SymbianError: [Errno -21] KErrAccessDenied
    As the friendly manual says:

    Code:
    # set requestors. 
    # at least one requestor must be set before requesting the position. 
    # the last requestor must always be service requestor 
    # (whether or not there are other requestors). 
    positioning.set_requestors([{"type":"service", 
         "format":"application", 
         "data":"test_app"}])
    Set the requestor before calling position().

Similar Threads

  1. n70 firmware update
    By benjamintey in forum Series 40 & S60 Platform Feedback Archive
    Replies: 1
    Last Post: 2007-07-06, 16:14
  2. Signing Midlet & Permissions problems!
    By Wijnbo in forum Mobile Java Networking & Messaging & Security
    Replies: 7
    Last Post: 2007-05-14, 21:49
  3. Newest NOKIA N91 firmware version ~ A world of problems!
    By Gemini-Phoenix in forum General Development Questions
    Replies: 1
    Last Post: 2007-01-12, 18:17
  4. Serious issues with PC Suite 6.7 and firmware update 6680 / 4.04.07
    By Bouthillier in forum General Development Questions
    Replies: 0
    Last Post: 2005-12-24, 14:56
  5. 7210 Emulator firmware update?!
    By herbertng in forum Mobile Java Tools & SDKs
    Replies: 1
    Last Post: 2003-10-30, 00:35

Posting Permissions

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