You Are Here:

Community: Developer Discussion Boards

#1 Old Ensymble / application packager, multiple script files + python uni concept project - 2009-03-12, 13:36

Join Date: Jul 2008
Posts: 6
danburney999
Offline
Registered User
Hi all

I have been using pys60-1.4.5 it it has come time to create a sis file for my app . I have been trying to use ensymble.py all morning then I saw 1.9.2 is out and it looks amazing, especially with the application packager.

At the moment I have my main script in \dan\danMain.py that "import functions" and calls the functions as: functions.func_name(). functions.py is currently located in \dan\lib\functions.py

Using either the ensymble script or this new PyS60 application packager gui in "1.4.x compatibility mode" how do I create a sis file? I.E. how do I need to structure my files?

Not so important, but if someone could explain how I should be using --cert, --privkey, --passphrase if I want to run the sis on a)my phone b)a minimum of 36 other peoples phones for a study (anyone want to use my app and complete a evaluation for a dissertation? )


This is what I am upto so far, I certainly need to add --caps, would I just list the capabilities I am using?

ensymble.py py2sis danMain.py --appname=pimtext --uid=<using what "ensymble.py genuid pimtext" gave me> --version=1.0.0 --lang=EN --shortcaption="PimText" --caption="PimText by Daniel Burnham" --drive=any --textfile=mytext_%C.txt


Many Thanks

Dan B
Reply With Quote

#2 Old Re: Ensymble / application packager, multiple script files + python uni concept proje - 2009-03-12, 15:45

Join Date: Jul 2008
Posts: 6
danburney999
Offline
Registered User
Quick update:

When using the PyS60 application packager:

Application source: as "Script directory" that points to my directory that either contains:

- default.py as my danMain.py
- functions.py my functions used by default.py

or

- default.py as my danMain.py
- "lib" folder that contains functions.py

It creates a sis file that I was pretty sure was including all the code as these capabilities are listed when I try to install it:
- use connectivity applications
- read user data
- write user data
- use camera or microphone
- use network or make phone calls

Then when installing I get Component 'Python runtime' module missing, continue anyway? and when I try to run the application I get check if the following components are installed -python runtime, -pips library

If I stick PythonScriptShell_1_4_5_3rdEd.SIS and PythonForS60_1_4_5_3rdEd.SIS into my directory the sis file generated becomes about 600k but the same errors occur.


As a test I used PyS60 application packager to create a sis file for:
Code:
import appuifw
appuifw.note(u"test")
and I get the same errors when installing and running (with or without those 2 python sis files in the directory). It also lists the same capabilities as my actual code

Does anyone have any pointers for me?

Many Thanks
Dan
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
Please help installing Python libraries on S60 ericroijen Python 11 2009-07-18 11:43
python application hangs after running some .py files. sagars Python 2 2008-05-03 23:03
[B]How to launch an application on the emulator using python script?[/B] selvynz Python 0 2008-03-11 07:58
script working in emulator doesn't work as standalone application dehlerm Python 3 2007-09-26 16:41
Running multiple python sis files simultaneously bercobeute Python 5 2005-10-31 15:40

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