You Are Here:

Community: Developer Discussion Boards

#1 Old Ensymble with python 1.9.1 - 2009-02-02, 16:29

Join Date: Nov 2008
Posts: 139
widetech1
Offline
Regular Contributor
hello friends,

help,

How to package an application with Ensymble in python version 1.9.1?

thanks
Reply With Quote

#2 Old Re: Ensymble with python 1.9.1 - 2009-02-02, 16:38

Join Date: Oct 2007
Posts: 2,841
Location: Deva, Romania
bogdan.galiceanu's Avatar
bogdan.galiceanu
Online
Forum Nokia Champion
PyS60 1.9.1 comes with a tool for packaging apps. It's basically Ensymble with a graphical user interface. Make sure you've downloaded and installed PythonForS60_1.9.1_Setup from here. After that go to Start->All Programs->PythonForS60 1.9.1 and select PyS60 Application Packager. It will open and all you have to do is fill in the fileds there (not all of them, just the ones you want), select the script to be packaged (by pressing the Browse button) and press the Create button. A sis file will be created, like it says in the message you will get.
Reply With Quote

#3 Old Re: Ensymble with python 1.9.1 - 2009-02-02, 17:16

Join Date: Nov 2008
Posts: 139
widetech1
Offline
Regular Contributor
hi,


When packaged application which is the location of the generated file or how specific route of output?

thanks
Reply With Quote

#4 Old Re: Ensymble with python 1.9.1 - 2009-02-02, 17:25

Join Date: Oct 2007
Posts: 2,841
Location: Deva, Romania
bogdan.galiceanu's Avatar
bogdan.galiceanu
Online
Forum Nokia Champion
Quote:
Originally Posted by widetech1 View Post
hi,


When packaged application which is the location of the generated file or how specific route of output?

thanks
The location is specified in the message you get after the sis file is generated. It's where the script is.
Reply With Quote

#5 Old Re: Ensymble with python 1.9.1 - 2009-02-02, 19:13

Join Date: Nov 2008
Posts: 139
widetech1
Offline
Regular Contributor
hi,

I have an application that makes reading GPS data packaged and signed into www.symbiansigned.com, installed in the device (N95) when I run the application displays the following message "ckeck if the following components are installed"
-> Python Runtime
-> PIPS Library

and install the following components:

ssl.SIS
pips_nokia_1_3_SS.sis
glib.sis
stdioserver_s60_1_3_SS

I do not understand what is the problem

thanks
Reply With Quote

#6 Old Re: Ensymble with python 1.9.1 - 2009-02-02, 19:30

Join Date: Feb 2008
Posts: 2,542
Location: Bhavnagar, Gujarat, India
Send a message via Yahoo to gaba88 Send a message via Skype™ to gaba88
gaba88's Avatar
gaba88
Offline
Forum Nokia Champion
Quote:
Originally Posted by widetech1 View Post
hi,

I have an application that makes reading GPS data packaged and signed into www.symbiansigned.com, installed in the device (N95) when I run the application displays the following message "ckeck if the following components are installed"
-> Python Runtime
-> PIPS Library

and install the following components:

ssl.SIS
pips_nokia_1_3_SS.sis
glib.sis
stdioserver_s60_1_3_SS

I do not understand what is the problem

thanks
hello widtech1

the problem is have you installed the python dependencies before installing the python runtime and sis. Is your PyS60 interpreter working fine??

Enjoy Pythoning
Gaba88


Gargi Das- http://gargidas.blogsot.com

Forum Nokia Python Wiki


Learn Python at http://mobapps.org/PyS60
Reply With Quote

#7 Old Re: Ensymble with python 1.9.1 - 2009-02-02, 19:38

Join Date: Nov 2008
Posts: 139
widetech1
Offline
Regular Contributor
hi,

yes in the interpreter works fine.

thanks
Reply With Quote

#8 Old Re: Ensymble with python 1.9.1 - 2009-02-04, 19:41

Join Date: Dec 2004
Posts: 646
jplauril's Avatar
jplauril
Offline
Forum Nokia Expert
Quote:
Originally Posted by gaba88 View Post
hello widtech1

the problem is have you installed the python dependencies before installing the python runtime and sis. Is your PyS60 interpreter working fine??

Enjoy Pythoning
Gaba88
Actually I think the problem is that the loading of the interpreter DLL fails because the DLL has lesser capabilities than the application. The 3.0 version has the five basic capabilities, the 3.2 version has also Location. If you are able to re-sign a SIS you could try signing and installing the 3.2 runtime package and giving the application SIS the five basic capas + Location.

The next release should come with a "freedevcert" runtime package that has more capabilities.
Reply With Quote

#9 Old Re: Ensymble with python 1.9.1 - 2009-02-04, 19:47

Join Date: Dec 2004
Posts: 646
jplauril's Avatar
jplauril
Offline
Forum Nokia Expert
Quote:
Originally Posted by widetech1 View Post
hi,

I have an application that makes reading GPS data packaged and signed into www.symbiansigned.com, installed in the device (N95) when I run the application displays the following message "ckeck if the following components are installed"
-> Python Runtime
-> PIPS Library
This error message is misleading. The same message is displayed when the interpreter DLL loading fails regardless of the reason for failure. There's certainly room for improvement here. I'm pretty sure we could detect the error code -46 that results from a capability mismatch and display a custom error message.

This particular problem will disappear when the final officially signed 2.0 runtime package is released since the DLLs in that will have enough capabilities for practically all applications.
Reply With Quote

#10 Old Re: Ensymble with python 1.9.1 - 2009-02-05, 06:52

Join Date: Feb 2008
Posts: 2,542
Location: Bhavnagar, Gujarat, India
Send a message via Yahoo to gaba88 Send a message via Skype™ to gaba88
gaba88's Avatar
gaba88
Offline
Forum Nokia Champion
Quote:
Originally Posted by jplauril View Post
Actually I think the problem is that the loading of the interpreter DLL fails because the DLL has lesser capabilities than the application. The 3.0 version has the five basic capabilities, the 3.2 version has also Location. If you are able to re-sign a SIS you could try signing and installing the 3.2 runtime package and giving the application SIS the five basic capas + Location.

The next release should come with a "freedevcert" runtime package that has more capabilities.
hello jplauril

thanks for the clarification.

Best Regards
Gaba88


Gargi Das- http://gargidas.blogsot.com

Forum Nokia Python Wiki


Learn Python at http://mobapps.org/PyS60
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Python for S60 1.9.1 released tvijayan Python 30 2009-02-26 07:16
Python for S60 1.9.0 released tvijayan Python 48 2009-01-27 16:39
New to Python for S60 (PyS60)? Read this first! croozeus Python 2 2008-10-17 20:23
Python for S60.Read it once jalpesh_patel17 Python 0 2008-09-08 06:45
Ensymble app and Python on different drives suckho Python 17 2008-06-09 17:39

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia