×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Feb 2008
    Posts
    9

    Standalone App on OSX?

    Hey All,

    I'm trying to make a standalone app for an N95 using ensymble on OSX. I have installed openssl and ensymble (in the /opt/local/bin) but my application doesn't run. Everything seems to go alright in the python interpreter and during py2sis and signing, but on the phone the app just doesn't run. Anyone have any clues as to what might be happening? or know of a good walkthrough for making a working sis from python code on OSX?

    Julie

  2. #2
    Nokia Developer Moderator
    Join Date
    May 2007
    Location
    21.46 N 72.11 E
    Posts
    3,800

    Re: Standalone App on OSX?

    Quote Originally Posted by julierico View Post
    Hey All,

    I'm trying to make a standalone app for an N95 using ensymble on OSX. I have installed openssl and ensymble (in the /opt/local/bin) but my application doesn't run. Everything seems to go alright in the python interpreter and during py2sis and signing, but on the phone the app just doesn't run. Anyone have any clues as to what might be happening? or know of a good walkthrough for making a working sis from python code on OSX?

    Julie
    Can you successfully create the SIS file from Ensymble?

    Or does the created file not run on Phone?

    Best Regards,
    Croozeus
    Pankaj Nathani
    www.croozeus.com

  3. #3
    Registered User
    Join Date
    Feb 2008
    Posts
    9

    Re: Standalone App on OSX?

    Quote Originally Posted by croozeus View Post
    Can you successfully create the SIS file from Ensymble?

    Or does the created file not run on Phone?

    Best Regards,
    Croozeus

    The file appears to be created correctly (no errors) but the file does not run after installation on the phone (installation is successful)

  4. #4
    Super Contributor
    Join Date
    May 2004
    Location
    Tampere, Finland
    Posts
    524

    Re: Standalone App on OSX?

    Quote Originally Posted by julierico View Post
    The file appears to be created correctly (no errors) but the file does not run after installation on the phone (installation is successful)
    This is a very common problem for beginners. There are subtle differences between a stand-alone and the script shell-hosted environment for Python applications. Stand-alone applications have no console where to print Python exception traces, so you must provide one yourself. Check out the Wiki article on debugging (see "Method 2") and search the forum for "exception harness".

    Also, it's better to install PyS60 and your own applications on drive C (internal memory of the phone). Installing on external memory card can be unreliable.

  5. #5
    Registered User
    Join Date
    Feb 2008
    Posts
    9

    Re: Standalone App on OSX?

    I've tried using the exception harness, but it doesn't seem to be working. It is never actually reaching this when I try to instantiate a class in my code. I started with a simple note to pop up after my class code and this works. Then, I changed this to a class instantiation and it crashes without even giving me any message. The confusing part is that it runs without any errors in the script shell.

    Do I need to somehow point this to the script shell? it seems like it is never even reaching the script shell. Or is there some idiosyncrasy in stand alone app code versus script shell code that is causing this to immediately crash?

    I'm pretty lost here, please help!

  6. #6
    Super Contributor
    Join Date
    May 2004
    Location
    Tampere, Finland
    Posts
    524

    Re: Standalone App on OSX?

    Quote Originally Posted by julierico View Post
    I've tried using the exception harness, but it doesn't seem to be working. It is never actually reaching this when I try to instantiate a class in my code. I started with a simple note to pop up after my class code and this works. Then, I changed this to a class instantiation and it crashes without even giving me any message.
    The only thing I can think of that prevents even the exception harness from catching the exception is a Python syntax error in the code.

Similar Threads

  1. standalone app for 3rd edition
    By galaktico in forum Symbian
    Replies: 12
    Last Post: 2007-04-08, 10:35
  2. HttpConnection fails when app in background (onS60 phone) and WAP browser uses new AP
    By david_parry1976 in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2007-02-22, 16:37
  3. symbian signed testing problem.
    By anglina in forum Symbian
    Replies: 0
    Last Post: 2007-02-01, 10:15
  4. Dialog's clipping area (again). Nokia experts, please help
    By synov in forum Symbian User Interface
    Replies: 0
    Last Post: 2004-06-26, 14:35
  5. 7650 - go back, close my app not closing the container app
    By geran in forum Digital Rights Management & Content Downloading
    Replies: 1
    Last Post: 2002-12-05, 09:58

Posting Permissions

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