Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Nov 2006
    Pune, india

    Question python application hangs after running some .py files.


    after running some applications(not all) of python if we quit out of python,my mobile not entering again to python application.
    clicking on python icon does nothing.

    but after restarting mobile we can run python application.
    why this is happening so???

    are there any python application closing procedures that are not getting and hence mobile hangs up.

    is any one observed the same???
    plz give solution if any one has.....

    thanks in advance....

  2. #2
    Regular Contributor
    Join Date
    Dec 2007
    Tempe, AZ

    Re: python application hangs after running some .py files.

    Hi Sagar,
    I experienced same problem when i was creating an application of mine. I figured it out, it happened because program was executing an infinite loop and hence program wasn't able to come out of it. Maybe its the same problem but it would be better if you tell what .py files were you trying to run?
    Last edited by shubhendra; 2008-05-03 at 17:59.

  3. #3
    Regular Contributor
    Join Date
    Mar 2007

    Re: python application hangs after running some .py files.

    Hey sagars,
    just can tell you from my experience. It sounds like your application was either freezing at some stage (e.g. you give a path to a pic in the script, but that path does not exist)
    from graphics import *
    pic = graphics.Image.open('E:\\my_application\\pics\\my_pic.png')
    (just one excample that is freezing your script)
    or your script is doing an invinite loop (as shubhendra mentioned before)

    In both cases: You can force the python script to end whatever it is doing by pressing the menue button for about 2 seconds, in the small top left popup-window you'll find all currently running programms, choose python and than press the "c"-button.


Similar Threads

  1. Replies: 1
    Last Post: 2008-04-24, 14:23
  2. Replies: 0
    Last Post: 2007-11-27, 11:09
  3. Application is closed when a key is pressed or screen saver is running
    By lss0986 in forum Symbian Networking & Messaging (Closed)
    Replies: 1
    Last Post: 2007-04-12, 07:08
  4. Transferring .py files to 6630
    By andyjeffries in forum Symbian
    Replies: 3
    Last Post: 2005-02-02, 23:48
  5. .SIS killing a running application?
    By dchiaramello in forum Symbian
    Replies: 0
    Last Post: 2003-09-24, 16:31

Posting Permissions

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