| Reply | « Previous Thread | Next Thread » |
|
I've been trying for a fairly long time now to enable my pys60 app to be allowed to use the positioning and location modules with no luck.
I have signed the PIPS installer and python shell on https://www.symbiansigned.com/ giving them all permissions. (unsure if that is acctually neccessary though). I can't sign the actual python runtime as symbian complains about wrong UID. I've signed my tiny application aswell with all permissions, but when I try to run it I get "KErrPermissionDenied -46 An operation cannot be performed due to a potential security violation." From what I understand, I need a python runtime with permissions to use the location and positioning modules, but how am I supposed to do this when it's allready signed with a UID? Any help on this would be greatly appriciated, feels like I'm lost in a maze of links to tutorials etc explaining everything but how to acctually get the very foundations of location based applications working. The code I tested with was this: Code:
import location import positioning positioning.modules() |
|
Join Date: Oct 2007
Posts: 2,841
Location: Deva, Romania
Offline
Forum Nokia Champion
|
|
What version of PyS60 are you using?
If it's 1.4.5 (or something similar) you don't need to sign the Python runtime, as it's already signed with all capabilities. All you have to do is sign the script shell (PythonScriptShell_1_4_5_3rdEd_unsigned_testrange.SIS) with all the available capabilities (you only need Location but it is always good to have them all) and it should work. If you're using 1.9.0 you're out of luck. The runtime cannot be signed by you (because of its UID) and only has the user-grantable capabilities, which does not include Location. |
|
Yes I'm using 1.9.0, there is no way to selfsign apps for this version then?
My phone is 3 edition FP1, would it be possible for me to use 1.4.5 or some other version with full access, with my phone and edition? |
|
Join Date: Oct 2007
Posts: 2,841
Location: Deva, Romania
Offline
Forum Nokia Champion
|
||
|
Quote:
Quote:
Last edited by bogdan.galiceanu : 2009-01-20 at 14:18.
|
|
Ok thanks! I'm installing it now then.
|
|
Now why didnt I do this sooner .., working flawlessy now.
Got the usigned shell and pys60 runtime at http://sourceforge.net/project/showf...ease_id=644640 and signed the shell at https://www.symbiansigned.com/app/pa...ignedOnline.do and voila, I'm allowed to know where I am. |
|
hi!
I am attempting to do the same thing, however, when i try install the signed python shell it tells me: "UPDATE ERROR". I followed the instructions exactly as specified in this thread. Can u help? Regards Luben Ivanchev |
| lubenivanchev |
| View Public Profile |
| Find all posts by lubenivanchev |
|
I forgot to mention the developer platform is: S60 3rd Edition, FP1
thx |
| lubenivanchev |
| View Public Profile |
| Find all posts by lubenivanchev |
|
Nokia N95 S60 3rd Edition, Feature Pack 1
lol thats all i had to do! Thx 4 ur fast reply! u r a legend!
Last edited by lubenivanchev : 2009-03-02 at 20:04.
|
| lubenivanchev |
| View Public Profile |
| Find all posts by lubenivanchev |
|
Join Date: Oct 2007
Posts: 2,841
Location: Deva, Romania
Offline
Forum Nokia Champion
|
|
Did you remember to uninstall the old script shell before trying to install the one signed by you?
Also, note that there is an "Edit/Delete Message" button on your post so if you want to change or add small details to what you said before, you can just edit your post instead of making a new one ![]()
Last edited by bogdan.galiceanu : 2009-03-02 at 20:20.
|
|
Join Date: Feb 2008
Posts: 2,542
Location: Bhavnagar, Gujarat, India
gaba88
Offline
Forum Nokia Champion
|
|
|
Quote:
Welcome to forum nokia Python dibo. ![]() Just to add a bit to bogdans answer as you are beginner do have a look at the forum nokia wiki. ![]() It has everything for a beginner. Enjoy Pythoning Gaba88 Gargi Das- http://gargidas.blogsot.com Forum Nokia Python Wiki Learn Python at http://mobapps.org/PyS60 |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| Citymap (with GPS feature) application for Nokia N95 and 6110 navigator | vgps | General Discussion | 4 | 2008-06-18 03:22 |
| How to switch between bluetooth GPS and internal GPS? | giapage | Python | 0 | 2008-05-12 10:57 |
| How to read GPS signal from N95 internal GPS? | giapage | Location Based Services and Navigation | 1 | 2008-03-31 08:10 |
| N95 internal GPS: which navigator? | giapage | Location Based Services and Navigation | 4 | 2008-02-23 01:24 |
| [RaccoonOnMap] Support for internal GPS (N95 etc) | talakosk | Mobile Web Server | 0 | 2008-01-22 11:55 |