| Reply | « Previous Thread | Next Thread » |
|
I have a Python code signed in symbiansigned online (i don't have a cer file to use with ensymble) with all permissions.
I get KErrPermissionDenied error when trying to access any of the positioning api. I have also tried to execute it in PythonScriptShell_1_4_5 and get the same error. (I'm testing in N95 8gb) Thanks! |
|
Join Date: Oct 2007
Posts: 2,841
Location: Deva, Romania
Offline
Forum Nokia Champion
|
|
For you standalone application: did you specify the capabilities when creating it with Ensymble (--caps=Location+...)?
For your Script Shell: are you using the standard Shell (PythonScriptShell_1_4_5_3rdEd.SIS) or one that you signed yourself with all the capabilities (PythonScriptShell_1_4_5_3rdEd_unsigned_testrange.SIS)? |
|
if I specify --caps=Location in ensymble py2sis, when I try to install appears: 'neccesary access to application not granted'
for my Script Shell i'm using the standard: (PythonScriptShell_1_4_5_3rdEd.SIS) I have read another post but th solution requires to signsis with ensymble, and I couldn't. |
|
Quote:
You need to do both. Tell Ensymble what capabilities you want enabled and then Open Sign the resulting SIS file and select the same set of capabilities there. Ensymble controls what capabilities an application has enabled while Open Signed online controls what capabilities the SIS file is allowed to have enabled. |
|
ok!!. I understand It.
I test and now works. do you know how to obtain my cer file to sign offline (to do tests quickly) many thanks for your response! |
|
Join Date: Feb 2008
Posts: 743
Location: Belo Horizonte, Brazil
Rafael T.
Offline
Forum Nokia Champion
|
|
|
Quote:
![]() BR, Rafael. |
|
Hey guys !
I did set in ensymble the Location cap to be needed. (Also tried setting all other caps to be needed) And I signed the sis on symbian signed. The changed their system to autodetect the caps you need, I guess. Can't select the caps I need. Thats new. But doing so I still receive the KErrPermission Denied thing ? What am I doing wrong ? |
|
Quote:
are you also trying to convert your python script to an application? does it work in python shell? The86Hitman PyS60 1.9.7 on E71 http://www.drhtailor.com/pys60 |
|
I want to make it standalone yes. Yes it works in the python shell. Just installed the PythonScriptShell_1.9.7_high_capas.sis to have access to Location which I need.
But with ensymble and setting Additional Options to --caps=Location and signing it on symbian signed it fails... any suggestions ?
Last edited by Tschacko : 2009-08-21 at 17:42.
|
|
It works ! after I installed PythonScriptShell_1.9.7_high_capas.sis I dont get the neccesary access to application not granted message anymore when I try to install my signed sis APP....weird.
|
|
Quote:
![]() The86Hitman PyS60 1.9.7 on E71 http://www.drhtailor.com/pys60 |
|
where did you get the PythonScriptShell_1.9.7_high_capas.sis you installed?
|
|
Join Date: Feb 2008
Posts: 2,542
Location: Bhavnagar, Gujarat, India
gaba88
Offline
Forum Nokia Champion
|
|
|
Quote:
Its very simple just download PythonForS60.exe and install it in your system. Then you will get all sis files in the directory Installation Drive:\\PythonForS60\PythonDependencies. Regards, Gargi Das- http://gargidas.blogsot.com Forum Nokia Python Wiki Learn Python at http://mobapps.org/PyS60 |
|
A summary of the method to be used to be able to access location API both from script and from shell would be cool...
Also, I have not clear the difference among python 1.4.x and 1.9.x for what concerns access to location: is it possible also in 1.4.x? How? |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| PC Suite error: (Code: Init IMediaControl2) HELP?! | chunkyspudmonkey | General Discussion | 29 | 2008-06-30 12:47 |
| Is there a C++ API for the video player | avbrozhko | General Symbian C++ | 9 | 2008-06-06 15:34 |
| How to obtain Location API | Tiger79 | Mobile Java Tools & SDKs | 1 | 2007-04-27 06:37 |
| Browser Control API questions | VÃctor Penela | General Symbian C++ | 0 | 2007-04-23 18:01 |
| SyncML API example or tutorial | rab_gandhi | Symbian Networking & Messaging | 0 | 2005-03-07 05:52 |