Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Feb 2009

    Problem in running python extension

    Hi all,
    I am trying to run a python extension on N95 phone. The python extension is


    I am successful to run it in the emulator but when i am trying to run on my device i am getting the following error

    Import error: Permission denied. Check that _progressnotes.pyd is compiled to have atleast the same capability
    as python interpreter process
    I followed to following process for building and installing

    1) I am using carbide C++ express. So I built the extension and generated the unsigned package from the following pkg file. So after
    the device build the unsigned sis file got generated.
    ;Language - standard language definitions
    ; UID is the dll's UID
    #{"testmod DLL"},(0xE748F758),1,0,0
    ;Localised Vendor name
    ;Unique Vendor name
    ;Supports Series 60 v 3.0
    [0x101F7961], 0, 0, 0, {"Series60ProductID"}
    "$(EPOCROOT)Epoc32\release\$(PLATFORM)\$(TARGET)\_progressnotes.pyd"		  -"c:\sys\bin\_progressnotes.pyd"
    "$(EPOCROOT)Epoc32\data\z\resource\apps\progressnotes.rsc"		-"!:\resource\apps\progressnotes.rsc"
    "..\sis\progressnotes.py"		    -"c:\resource\progressnotes.py"
    2) I signed the sis file from symbian signed online.
    3) I signed PythonScriptShell_1_4_5_3rdEd_unsigned_testrange.SIS from symbian signed online
    4) I installed PythonForS60_1_4_5_3rdEd.sis on phone
    5) Then I installed signed version of PythonScriptShell_1_4_5_3rdEd_unsigned_testrange.SIS
    6) Then I installed the signed sis file of the extension
    7) Then I installed test_progressnotes.py in E:\Python
    6) Then I tried to run the above script from the python shell and got the error.

    Please guide me to solve this issue.

    warm regards,

  2. #2
    Super Contributor
    Join Date
    Mar 2003
    Espoo, Finland

    Re: Problem in running python extension

    Quote Originally Posted by kkc_123 View Post
    1) I am using carbide C++ express
    Install latest version Carbide.c++ 2.0. It's free.



  3. #3
    Registered User
    Join Date
    Feb 2009

    Re: Problem in running python extension

    Hi All,
    Do I also need to sign the PythonForS60_1_4_5_3rdEd.sis and install??. I downloaded this from sourceforge.
    Is this a signed version or not??.
    I tried to get it signed from symbian signed online but i gave error shwing that UID range not matching the email address.

    Please throw some light on these issues.

    warm regards,

  4. #4
    Super Contributor
    Join Date
    Oct 2007
    Deva, Romania

    Re: Problem in running python extension

    You don't have to sign that. The Python runtime is already signed with more capabilities than can be accessed through online signing.

Similar Threads

  1. Replies: 2
    Last Post: 2008-05-03, 22:03
  2. Problem with tag-touch while midlet running
    By cde in forum Near Field Communication
    Replies: 3
    Last Post: 2007-11-28, 14:32
  3. symbian signed testing problem.
    By anglina in forum Symbian
    Replies: 0
    Last Post: 2007-02-01, 10:15
  4. Python extension DLLs (PYDs) on 3rd Edition
    By nikhil_vaj in forum Symbian
    Replies: 2
    Last Post: 2006-11-03, 00:46
  5. Ssh and python applcation problem
    By big_pig in forum Symbian
    Replies: 3
    Last Post: 2006-10-31, 13:30

Posting Permissions

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