×

Discussion Board

Results 1 to 9 of 9

Thread: Python on C5

  1. #1
    Regular Contributor
    Join Date
    Oct 2008
    Location
    bhavnagar
    Posts
    255

    Python on C5

    Hello friends..

    i am back here after long time...

    Now, i have bought s60 device....but still not able to run python 2.0 on my device.

    I have installed python runtime and all the things....all apps give me module error.

    What to do...??????
    Last edited by nayan_trivedi; 2011-03-07 at 11:11.
    nayan trivedi.

  2. #2
    Super Contributor
    Join Date
    Oct 2007
    Location
    Deva, Romania
    Posts
    3,471

    Re: Python on C5

    Well, first of all you should tell us exactly what the error says, and when it appears.

  3. #3
    Nokia Developer Champion
    Join Date
    Sep 2007
    Location
    Bhavnagar
    Posts
    928

    Re: Python on C5

    have you install python run time and scriptshell both? Tell us the exact error and which script you are trying ?
    Jajal Mehul

  4. #4
    Regular Contributor
    Join Date
    Oct 2008
    Location
    bhavnagar
    Posts
    255

    Re: Python on C5

    yes sir,

    i have install all Py60dependencies like Python2.0.0.sis.....and all scriptshell...which i have download.

    I got module error when i m trying to run script.

    And other SIS application based on python also not working...!!!!!!!
    nayan trivedi.

  5. #5
    Super Contributor
    Join Date
    Oct 2007
    Location
    Deva, Romania
    Posts
    3,471

    Re: Python on C5

    Is "module error" the exact text of the error? Also, what kind of script are you trying to run (by that I mean does it import any special modules)?

  6. #6
    Nokia Developer Champion
    Join Date
    Sep 2007
    Location
    Bhavnagar
    Posts
    928

    Re: Python on C5

    try to run a simple command from the interactive console which you will find from the option menu in the python.
    Run import appuifw and see what is the response from there?
    Jajal Mehul

  7. #7
    Regular Contributor
    Join Date
    Oct 2008
    Location
    bhavnagar
    Posts
    255

    Re: Python on C5

    yes,all the things are i have tried before...all are working fine...
    interactive console also working well.
    even ball.py and all the application which are default are working well...

    But when i m putting any .py file like locationrequestor.py or telephone.py or zipfile.py are not working..

    and also application which required python installed like HELLO OX v2.03..
    and many other application based on python i cant open
    nayan trivedi.

  8. #8
    Nokia Developer Champion
    Join Date
    Sep 2007
    Location
    Bhavnagar
    Posts
    928

    Re: Python on C5

    strange.....

    As if the the command from the interactive console are working tht means there is nothing wrong with the installation. Can you paste the any sample small code that gives the error..?

    Regards.
    Jajal Mehul

  9. #9
    Regular Contributor
    Join Date
    Oct 2008
    Location
    bhavnagar
    Posts
    255

    Re: Python on C5

    i am getting this error when i am trying to run application imgviewer.py

    Traceback (most recent call last):
    File "default.py", line 107, in menu_action
    f()
    File "default.py", line 70, in query_and_exec
    script_namespace.namespace)
    File "c:\data\python\imgviewer.py", line 144, in <module>
    imginfo=Image.inspect(selected_file)
    File "c:\resource\python25\python25.zip\graphics.py", line 93, in inspect
    (size,mode)=_graphics.ImageInspect(unicode(filename))
    SymbianError: [Errno -21] KErrAccessDenied
    nayan trivedi.

Similar Threads

  1. SIP calls on a C5
    By pepdolesa in forum VoIP
    Replies: 10
    Last Post: 2011-05-11, 16:53
  2. Qtmobility app not running on nokia c5
    By jainmonali21 in forum [Archived] Qt Mobility Project
    Replies: 4
    Last Post: 2011-02-16, 05:58
  3. Debugging on c5-00
    By shankyty in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 3
    Last Post: 2011-02-10, 11:28
  4. Sat Nav on C5
    By Emmo in forum General Development Questions
    Replies: 1
    Last Post: 2010-09-16, 03:15

Posting Permissions

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