You Are Here:

Community: Developer Discussion Boards

Reply « Previous Thread | Next Thread »

#1 Old [announce] Ensymble v0.27 - 2008-06-30, 22:04

Join Date: May 2004
Posts: 524
Location: Tampere, Finland
jethro.fn's Avatar
jethro.fn
Offline
Forum Nokia Champion
After a long pause, Ensymble v0.27 is finally released. Ensymble is a tool that can be used to make Symbian Installation Packages (SIS files) for PyS60 applications. Ensymble supports S60 3rd Edition phones only.

Changes since v0.26:
  • Implemented a --heapsize adjustment option for py2sis and altere32 commands. Sometimes when processing large data sets, such as images from the built-in camera, it is necessary to increase the memory an application is allowed to use. This option enables that.
  • A new option --extrasdir for command py2sis has been implemented. It allows placing files freely on the installation drive, such as under "\bin", "\resource" etc. Several people have asked for this functionality.
  • Symbian has provided some developers with certificates that have their private keys in a (relatively) new PKCS#8 format. Up until now it was necessary to convert these keys to an older format using the OpenSSL command line tool. That is no longer necessary.

Please report any problems, suggestions etc.

I have not been able to test the new private key conversion function under Windows. Also, that portion of the code is critical even when not using developer certificates, so please test and report any problems that occur under Windows.


Super quick quide to using the new --extrasdir option

Suppose you have a PyS60 application directory structure similar to this:

Code:
myapp/
  default.py
  somemodule.py
  graphics.png
  root/
    sys/
      bin/
        myextension.pyd
    resource/
      apps/
        myicon.mif
It's a simple matter of calling Ensymble like this:

Code:
ensymble.py py2sis --extrasdir=root myapp
to have files and directories under myapp/root appear on the root of the installation drive.
Reply With Quote

#2 Old Re: [announce] Ensymble v0.27 - 2008-06-30, 22:33

Join Date: Oct 2007
Posts: 2,841
Location: Deva, Romania
bogdan.galiceanu's Avatar
bogdan.galiceanu
Offline
Forum Nokia Champion
Great, thanks Jussi.

I tried the "--extrasdir" feature with a pyd file, which I wanted to put in C:\sys\bin. My folder structure was like this:
Code:
myapp/
  default.py
  root/
    sys/
      bin/
        sysagent.pyd
I then used the exact same command you mentioned to make a sis file, it worked, but when I tried to install it the progress bar goes half way and then says "Unable to install".

In the phone's settings I have "Software installation" set to "All".

Do I have to specify capabilities and sign the sis?
Reply With Quote

#3 Old Re: [announce] Ensymble v0.27 - 2008-06-30, 23:03

Join Date: Jun 2005
Posts: 382
y.a.k
Offline
Regular Contributor
Thanks jethro for the extrasdir feature. I'm going to modify my Ped build script right away.

I have to say that Ensymble is THE tool for every PyS60 developer. Such a complicated build process as with Symbian OS was really a pain, especially when it is such a pleasure to program using PyS60. But thanks to ensymble, a sis file is only a single command line away. Awesome! Thanks again.
Reply With Quote

#4 Old Re: [announce] Ensymble v0.27 - 2008-06-30, 23:21

Join Date: Mar 2003
Posts: 115
Dansco
Offline
Regular Contributor
Thanx for the update mate Can't wait to try it...

Also can't wait for the new version of PED
Reply With Quote

#5 Old Re: [announce] Ensymble v0.27 - 2008-07-01, 00:06

Join Date: Jun 2005
Posts: 382
y.a.k
Offline
Regular Contributor
Just wanted to report that the extrasdir feature worked as expected for me. I was able to put a MIF file with icons into the resource\apps directory, appuifw.Icon loads them and appuifw.Listbox displays everything as expected too.

@Dansco
I don't want to go off-topic here. Just note that you can already download a preview of new version from:
http://code.google.com/p/ped-s60/
Please post any further comments on this in the Ped thread.
Reply With Quote

#6 Old Re: [announce] Ensymble v0.27 - 2008-07-01, 07:29

Join Date: May 2004
Posts: 524
Location: Tampere, Finland
jethro.fn's Avatar
jethro.fn
Offline
Forum Nokia Champion
Quote:
Originally Posted by bogdan.galiceanu View Post
Code:
...
    sys/
      bin/
        sysagent.pyd
I then used the exact same command you mentioned to make a sis file, it worked, but when I tried to install it the progress bar goes half way and then says "Unable to install".
If sysagent.pyd requires capabilities that need signing, then the whole SIS file needs to be signed with a proper certificate. Also, the application itself needs to have those capabilities enabled with the --caps option, to be able to import the sysagent module.
Reply With Quote

#7 Old Re: [announce] Ensymble v0.27 - 2008-07-01, 09:09

Join Date: Mar 2007
Posts: 153
novis
Offline
Regular Contributor
Code:
ensymble.py py2sis --extrasdir=root myapp
Hey dude, I was just yesterday asking for that feature
You just make dreams come true

Thx 4 all ur great work
novis
Reply With Quote

#8 Old Re: [announce] Ensymble v0.27 - 2008-07-01, 11:33

Join Date: Feb 2005
Posts: 1,353
Location: Belgium (Europe)
cyke64's Avatar
cyke64
Offline
Super Contributor
Quote:
Originally Posted by novis View Post
Code:
ensymble.py py2sis --extrasdir=root myapp
Hey dude, I was just yesterday asking for that feature
You just make dreams come true

Thx 4 all ur great work
novis
Hello Jethrofn,

As usual a great release
extradir option is very useful


BR
Cyke64


pys60 1.4.5,1.9.7,pygame,PyS60 CE on E90 , N810 with Python 2.5.2 and ... last PyS60 1.9.7 with touch ui on 5800 !

pys60 extension modules on http://cyke64.googlepages.com/
Reply With Quote

#9 Old Re: [announce] Ensymble v0.27 - 2008-07-01, 14:14

Join Date: May 2004
Posts: 524
Location: Tampere, Finland
jethro.fn's Avatar
jethro.fn
Offline
Forum Nokia Champion
Quote:
Originally Posted by cyke64 View Post
As usual a great release
extradir option is very useful
It's extrasdir... Mind the "s"! (In retrospect, --extradir would probably have been a better name.)
Reply With Quote

#10 Old Re: [announce] Ensymble v0.27 - 2008-07-01, 16:20

Join Date: May 2008
Posts: 81
nufun
Offline
Regular Contributor
I'm trying to use the new feature to install akntextutils library, I even tried to put all capabilities when signed but I always get "Impossible to install"..
Reply With Quote

#11 Old Re: [announce] Ensymble v0.27 - 2008-07-01, 16:33

Join Date: May 2008
Posts: 81
nufun
Offline
Regular Contributor
Ok, it's my fault.. I cannot use the TCB capability with Open Signed..
Reply With Quote

#12 Old Re: [announce] Ensymble v0.27 - 2008-07-02, 00:23

Join Date: Apr 2004
Posts: 107
Send a message via ICQ to carknue
carknue
Offline
Regular Contributor
Is it possible with the extradir option to create a new directory on the device? Maybe in /data/others/Myapp


PyNetMony - the ultimate War- and BlueWalking tool and 2G/3G Netmonitor
http://pynetmony.googlepages.com/home
Reply With Quote

#13 Old Re: [announce] Ensymble v0.27 - 2008-07-02, 07:33

Join Date: May 2004
Posts: 524
Location: Tampere, Finland
jethro.fn's Avatar
jethro.fn
Offline
Forum Nokia Champion
Quote:
Originally Posted by carknue View Post
Is it possible with the extradir option to create a new directory on the device? Maybe in /data/others/Myapp
Yes. The --extrasdir option works just like the simplesis command does. Directories that do not exist are created (the phone does that automatically), provided you don't try to do it on a protected path (like /sys or /resource). It does not even require any capabilities.
Reply With Quote

#14 Old Re: [announce] Ensymble v0.27 - 2008-07-02, 16:07

Join Date: May 2008
Posts: 81
nufun
Offline
Regular Contributor
Please help me to understand: if I sign the akntextutils_unsigned file downloaded from here I can install on my device without problem.
If I use ensymble to create the .sis file of my application using --extrasdir, it's impossible to install.

This is the result sisinfo of my sis file:

Code:
   C:\resource\apps\prova_0xe5000000.rsc
   C:\private\10003a3f\import\apps\prova_0xe5000000_reg.rsc
   C:\resource\apps\prova_0xe5000000_loc.r05
   C:\resource\apps\prova_0xe5000000_aif.mif
   C:\private\e5000000\akntextutils.py
   C:\private\e5000000\default.py
   C:\private\e5000000\icon1.svg
   C:\private\e5000000\data\.DS_Store
   C:\private\e5000000\images\.DS_Store
   C:\private\e5000000\images\Bg.png
   C:\resource\akntextutils.py
   C:\sys\bin\_akntextutils.pyd
   C:\sys\bin\prova_0xe5000000.exe [PowerMgmt ReadDeviceData WriteDeviceData TrustedUI ProtServ SwEvent NetworkServices LocalServices ReadUserData WriteUserData SurroundingsDD UserEnvironment]
This is the one of the online signed akntextutils sis:

Code:
   c:\resource\akntextutils.py
   c:\sys\bin\_akntextutils.pyd [PowerMgmt ReadDeviceData WriteDeviceData TrustedUI ProtServ SwEvent NetworkServices LocalServices ReadUserData WriteUserData Location SurroundingsDD UserEnvironment]
They write the same files in the same folder, they have same capabilities, but the first is impossible to install..
Any suggestions?
Reply With Quote

#15 Old Re: [announce] Ensymble v0.27 - 2008-07-02, 19:54

Join Date: May 2004
Posts: 524
Location: Tampere, Finland
jethro.fn's Avatar
jethro.fn
Offline
Forum Nokia Champion
Quote:
Originally Posted by nufun View Post
Please help me to understand: if I sign the akntextutils_unsigned file downloaded from here I can install on my device without problem.
If I use ensymble to create the .sis file of my application using --extrasdir, it's impossible to install.
Have you Open Signed the Ensymble-generated SIS file? Files in it claim capabilities the Ensymble default certificate cannot grant. You need to select all 13 capabilities on Open Signed Online, since _akntextutils.pyd has them all set. (Your application has all 13 capabilities except Location.)
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
[announce] Ensymble v0.26 jethro.fn Python 7 2008-03-15 17:35
[announce] Ensymble v0.25 jethro.fn Python 12 2008-01-05 20:34
[announce] Ensymble v0.24 jethro.fn Python 1 2007-10-18 23:37
[announce] Ensymble v0.21 jethro.fn Python 3 2007-02-01 18:37
[announce] Ensymble developer utilities for Symbian OS jethro.fn Python 1 2006-09-26 13:36

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