×

Discussion Board

Page 1 of 2 12 LastLast
Results 1 to 15 of 18
  1. #1
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    50

    Ensymble app and Python on different drives

    I have a PythonS60 application that works fine both on C: and E: drives. I have made it as an installable SIS application using Ensymble. The problem is that the application works only if I install it on the same drive where the Python is installed. Otherwise the screen just flashes white and nothing happens. Is this a bug or "feature" of Ensymble or am I doing something wrong..? I suppose that the launcher can not find python executable or something..

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

    Re: Ensymble app and Python on different drives

    Quote Originally Posted by suckho View Post
    I have a PythonS60 application that works fine both on C: and E: drives. I have made it as an installable SIS application using Ensymble. The problem is that the application works only if I install it on the same drive where the Python is installed. Otherwise the screen just flashes white and nothing happens. Is this a bug or "feature" of Ensymble or am I doing something wrong..? I suppose that the launcher can not find python executable or something..
    IMHO, Yes, the application needs to be on the same drive which has Python for S60 installed.

    Best Regards,
    Croozeus
    Pankaj Nathani
    www.croozeus.com

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

    Re: Ensymble app and Python on different drives

    There is still something strange going on with the Python runtime DLL. For some reason it still cannot reliably load Python scripts that are on different drive. There was an obvious bug in PyS60 which I reported on Sourceforge and it was corrected, but something else is still preventing application start-up.

  4. #4
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    50

    Re: Ensymble app and Python on different drives

    So the problem is in Python S60, not in Ensymble..?

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

    Re: Ensymble app and Python on different drives

    Quote Originally Posted by suckho View Post
    So the problem is in Python S60, not in Ensymble..?
    This is my understanding, although I've only investigated the situation very briefly.

  6. #6
    Registered User
    Join Date
    Feb 2008
    Posts
    8

    Re: Ensymble app and Python on different drives

    Quote Originally Posted by suckho View Post
    I have a PythonS60 application that works fine both on C: and E: drives. I have made it as an installable SIS application using Ensymble. The problem is that the application works only if I install it on the same drive where the Python is installed. Otherwise the screen just flashes white and nothing happens. Is this a bug or "feature" of Ensymble or am I doing something wrong..? I suppose that the launcher can not find python executable or something..
    I have exact same problem. Is there any patch for this. thanks

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

    Re: Ensymble app and Python on different drives

    Quote Originally Posted by gunnrosebutpeace View Post
    I have exact same problem. Is there any patch for this. thanks
    There is no patch for this yet.

    For now, the application as well as Python should be installed on the same memory.

    Best Regards,
    Croozeus
    Pankaj Nathani
    www.croozeus.com

  8. #8
    Registered User
    Join Date
    Apr 2008
    Posts
    47

    Re: Ensymble app and Python on different drives

    A related question:

    If I create a PyS60 app using Ensymble. Do I have to have both PythonForS60 and PythonScriptShell installed? Will the app still run if I remove PythonScriptShell?

    (Using 1_4_3_3rdEd on N95 8GB)

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

    Re: Ensymble app and Python on different drives

    Quote Originally Posted by ianw View Post
    A related question:

    If I create a PyS60 app using Ensymble. Do I have to have both PythonForS60 and PythonScriptShell installed? Will the app still run if I remove PythonScriptShell?

    (Using 1_4_3_3rdEd on N95 8GB)
    Yes, the application will still run!

    For python applications to run, you need only PythonForS60 installed on your device, the script shell is not mandatory

    Happy Coding,

    Best Regards,
    Croozeus
    Pankaj Nathani
    www.croozeus.com

  10. #10
    Registered User
    Join Date
    Apr 2008
    Posts
    47

    Re: Ensymble app and Python on different drives

    Quote Originally Posted by croozeus View Post
    Yes, the application will still run!

    For python applications to run, you need only PythonForS60 installed on your device, the script shell is not mandatory

    Happy Coding,

    Best Regards,
    Croozeus
    I assumed that was the case but when I remove the script shell the app won't run. When I re-install the shell it works again! Any ideas?
    Thanks
    Ian

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

    Re: Ensymble app and Python on different drives

    Quote Originally Posted by ianw View Post
    I assumed that was the case but when I remove the script shell the app won't run. When I re-install the shell it works again! Any ideas?
    Thanks
    Ian
    Which device do you use ?

    Moreover, what I do is I merge the PythonforS60.sis and myapp.sis into a single file and install them.

    Best Regards,
    Croozeus
    Pankaj Nathani
    www.croozeus.com

  12. #12
    Registered User
    Join Date
    Apr 2008
    Posts
    47

    Re: Ensymble app and Python on different drives

    Quote Originally Posted by croozeus View Post
    Which device do you use ?

    Moreover, what I do is I merge the PythonforS60.sis and myapp.sis into a single file and install them.

    Best Regards,
    Croozeus
    N95 8GB and _1_4_3_3rdEd.

    I've tried intalling both PythonforS60.sis and MyApp.sis on c: and on e: but in both cases app only runs if PythonScriptShell is installed as well?

    Ian

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

    Re: Ensymble app and Python on different drives

    Quote Originally Posted by ianw View Post
    N95 8GB and _1_4_3_3rdEd.

    I've tried intalling both PythonforS60.sis and MyApp.sis on c: and on e: but in both cases app only runs if PythonScriptShell is installed as well?

    Ian
    In either case both should be installed on the same drive.

    Best Regards,
    Croozeus
    Pankaj Nathani
    www.croozeus.com

  14. #14
    Registered User
    Join Date
    Apr 2008
    Posts
    47

    Re: Ensymble app and Python on different drives

    Quote Originally Posted by croozeus View Post
    In either case both should be installed on the same drive.

    Best Regards,
    Croozeus
    Yes indeed, in both cases they are both on the same drive. But app won't run unless I have shell installed too!?

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

    Re: Ensymble app and Python on different drives

    What exactly does your application do? What imports does it make?

Similar Threads

  1. Replies: 3
    Last Post: 2010-03-19, 16:46
  2. Starting Python app when phone starts
    By cmccauley3353 in forum Symbian
    Replies: 0
    Last Post: 2007-05-17, 20:32
  3. Replies: 0
    Last Post: 2007-03-08, 03:22
  4. Embedding python in an app
    By varunc in forum Symbian
    Replies: 1
    Last Post: 2005-12-03, 07:01
  5. Python from C++ app.
    By micmen in forum Symbian
    Replies: 4
    Last Post: 2005-06-09, 12:01

Posting Permissions

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