You Are Here:

Community: Developer Discussion Boards

#1 Old Making a sis package with several py modules in 3rd ed - 2007-09-18, 09:54

Join Date: Mar 2003
Posts: 9
HANNU
Offline
Registered User
Hi,

I was trying to make a sis package that contains the main.py file and util1.py and util2.py. That should be self signed package. Using "ensymble py2sis" I was able to create the main.sis. Then i created utility.sis using "ensymble simplesis", and finally "ensymble mergesis" to make the final package. The problem seems to be in the utility.sis. I have tried to put util1.py and util2.py under !:\resource\ or !:\python\libs\ in a sis file, but had no success. I got "update error" during installing to the device.

Have someone managed to install utility/library modules using Ensymble?
Reply With Quote

#2 Old Re: Making a sis package with several py modules in 3rd ed - 2007-09-18, 13:11

Join Date: Sep 2005
Posts: 314
Location: Finland, Helsinki
aaaaapo
Offline
Regular Contributor
Quote:
Originally Posted by HANNU View Post
I was trying to make a sis package that contains the main.py file and util1.py and util2.py. That should be self signed package. - - Have someone managed to install utility/library modules using Ensymble?
Here is the command which I've been using to create SIS-packaged PlokIn:

Code:
/opt/local/bin/python ./bin/ensymble_python2.4-0.23.py py2sis --caps=LocalServices+NetworkServices+ReadUserData+UserEnvironment+WriteUserData --appname="PlokIn selfsigned" --version=0.1.570 --uid=0xfxxxxxxx --lang=FI --icon=plokin.svg --textfile=README_%C.txt sisdir/ plokin-r570-selfsigned.sis
Notes:
  • sisdir/ contains default.py (=the main script) and included modules
  • --uid is messed in command above
  • lang, icon and textfile switches probably are not mandatory (consult esymble's documentation)
  • Check your ensymble and python path

Directory structure probably does not fit any SIS-packaging standard, but at least it works.
Reply With Quote

#3 Old Re: Making a sis package with several py modules in 3rd ed - 2007-09-19, 07:29

Join Date: Mar 2003
Posts: 9
HANNU
Offline
Registered User
Thanks, that solved my problem! It not not so clearly said in the documentation.

Btw. Does anybody know if installing own libraries to "\resource" or "\python\libs\" is possible at all using self signed sis?
Reply With Quote

#4 Old Re: Making a sis package with several py modules in 3rd ed - 2007-09-19, 10:31

Join Date: Apr 2007
Posts: 81
Location: Lublin, Poland
janekw_'s Avatar
janekw_
Offline
Regular Contributor
In general - yes, most packages created by carbide.c++ (i.e., makesis.exe utility and selfsigned) copy their content to \sys\bin\ or \resource, so I guess any folder is accessible.
However, I don't know if it's possible to tell ensymble destination folder(s). It'd be nice.


whatever happens happens
Reply With Quote

#5 Old Re: Making a sis package with several py modules in 3rd ed - 2007-09-19, 11:17

Join Date: Sep 2005
Posts: 314
Location: Finland, Helsinki
aaaaapo
Offline
Regular Contributor
Quote:
Originally Posted by janekw_ View Post
I don't know if it's possible to tell ensymble destination folder(s).
See section `The "simplesis" command´ in Ensymble's README:
http://www.nbl.fi/~nbl928/README-0.23.txt

There is something about it.
Reply With Quote

#6 Old Re: Making a sis package with several py modules in 3rd ed - 2007-09-20, 07:42

Join Date: Mar 2003
Posts: 9
HANNU
Offline
Registered User
I was not able to install files to /resource etc. using "ensymble simplesis". I gave "update error" on device.
Reply With Quote

#7 Old Re: Making a sis package with several py modules in 3rd ed - 2007-09-20, 08:13

Join Date: Sep 2005
Posts: 314
Location: Finland, Helsinki
aaaaapo
Offline
Regular Contributor
Quote:
Originally Posted by HANNU View Post
I was not able to install files to /resource etc. using "ensymble simplesis". I gave "update error" on device.
Hmm. I think I'm still going to put all files into a single folder (at least it works!) until someone finds out how to use /recourse etc. directories with ensymble. :-)
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
Script-level modules not allowed in 3rd Ed? kevin_s2f Python 6 2007-07-05 19:46
Problem in making sis file in Carbide C++ Adeesh Carbide.c++ IDE and plug-ins 5 2006-10-02 15:00
Installing self-signed SIS files (3rd ed.) ptrmn Symbian Tools & SDKs 12 2006-09-11 14:08
package MIDlet in a sis file wfettich Mobile Java General 0 2005-01-20 14:13
JAR file to SIS package kljajo Mobile Java General 2 2004-08-10 10:23

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