You Are Here:

Community: Developer Discussion Boards

Reply « Previous Thread | Next Thread »

#1 Old Question Total Noob questions... - 2008-02-04, 21:16

Join Date: Mar 2003
Posts: 115
Dansco
Offline
Regular Contributor
Yes I'm a total noob in regards to Python so sorry if this has already been asked (which it probably has) but I have two questions :-

* I keep reading about using python on an emulator but can't find any download links or any howto's.

* I read about making py files into sisx files using ensemble (sp) but there is no real noob guide.

If you can help me with either then many thanx but please don't flame me as I have searched here, google and other sources and asked several times in other threads but still no answers
Reply With Quote

#2 Old Re: Total Noob questions... - 2008-02-04, 21:58

Join Date: Jan 2004
Posts: 368
Location: Helsinki
Send a message via Skype™ to miohtama
miohtama's Avatar
miohtama
Offline
Regular Contributor
> I keep reading about using python on an emulator but can't find any download links or any howto's.

Download PyS60 for S60 emulator. You can get S60 emulator by downloading S60 SDK.


Mikko Ohtamaa
Twinapex Research
http://www.twinapex.com
Reply With Quote

#3 Old Re: Total Noob questions... - 2008-02-04, 22:06

Join Date: Mar 2003
Posts: 115
Dansco
Offline
Regular Contributor
Quote:
Originally Posted by miohtama View Post
> I keep reading about using python on an emulator but can't find any download links or any howto's.

Download PyS60 for S60 emulator. You can get S60 emulator by downloading S60 SDK.
Any chance of a link please? I have downloaded a few SDKs and nothing works. I have a N93 btw. Thanx mate
Reply With Quote

#4 Old Re: Total Noob questions... - 2008-02-04, 22:06

Join Date: Oct 2007
Posts: 2,841
Location: Deva, Romania
bogdan.galiceanu's Avatar
bogdan.galiceanu
Online
Forum Nokia Champion
Quote:
Originally Posted by Dansco View Post
Yes I'm a total noob in regards to Python so sorry if this has already been asked (which it probably has) but I have two questions :-

* I keep reading about using python on an emulator but can't find any download links or any howto's.

* I read about making py files into sisx files using ensemble (sp) but there is no real noob guide.

If you can help me with either then many thanx but please don't flame me as I have searched here, google and other sources and asked several times in other threads but still no answers
Ensymble is used to package .py scripts into installable .sis or .sisx files. Here's how to do it:

1)Make sure you have everything you need (it says on the ensymble site that you need Open SSL binaries (just download them and add them to the environment varaibles path. Just say the word if you need help here)

2)Put the following file into a directory: your python script (for example myapp.py), ensymble_python2.5-0.26, py2sis (which can be found in the PyS60 SDK rar archive) and a key file and a certificate file

3)In Windows command prompt, write this on one line, and press enter

Code:
python ensymble_python2.5-0.26.py py2sis --uid=0x01234555 --appname=Myapp  --version=1.0.0 --cert=mycertificate.cer --privkey=mykey.key --passphrase=12345 --vendor=myname --verbose myapp.py myapp.sis
IMPORTANT: Remember to replace names like mycertificate and myname with the actual names.

Sorry if this is confusing. I'm not that good at explaining things.
Last edited by bogdan.galiceanu : 2008-02-04 at 22:16.
Reply With Quote

#5 Old Re: Total Noob questions... - 2008-02-04, 22:54

Join Date: Mar 2003
Posts: 115
Dansco
Offline
Regular Contributor
Quote:
Originally Posted by bogdan.galiceanu View Post
Ensymble is used to package .py scripts into installable .sis or .sisx files. Here's how to do it:

1)Make sure you have everything you need (it says on the ensymble site that you need Open SSL binaries (just download them and add them to the environment varaibles path. Just say the word if you need help here)
Firstly thanx for taking the time to post. I'm kind of stuck on the first point to be honest mate. Tried to email you but it says you don't accept them so any chance of PM/email me please?
Reply With Quote

#6 Old Re: Total Noob questions... - 2008-02-05, 05:39

Join Date: May 2007
Posts: 2,737
Location: 21.46 N 72.11 E
croozeus's Avatar
croozeus
Offline
Forum Nokia Champion
Hi Dansco Welcome to PyS60

You can download the SDK from here

You can find some other useful links in my signature.

Take some time to read the previous posts like this .
There are already many post in the Forum that may help you to get on.
Also look on the Wiki for its very resourceful.

Happy Pythoning!

Best Regards
Croozeus
Reply With Quote

#7 Old Re: Total Noob questions... - 2008-02-05, 07:19

Join Date: Oct 2007
Posts: 2,841
Location: Deva, Romania
bogdan.galiceanu's Avatar
bogdan.galiceanu
Online
Forum Nokia Champion
Quote:
Originally Posted by Dansco View Post
Firstly thanx for taking the time to post. I'm kind of stuck on the first point to be honest mate. Tried to email you but it says you don't accept them so any chance of PM/email me please?
Ok, if you want to email me, my address is smartphone6630@yahoo.com

Here's a more detailed explanation of the steps I described earlier:

First of all make a folder in which you place your .py file and
ensymble_python2.5-0.26.py

On the Ensymble site (http://www.nbl.fi/~nbl928/ensymble.html) is says you need the Stunnel OpenSSL binaries (download here http://www.stunnel.org/download/stun...ib/openssl.zip). Extract that zip archive and put the 3 extracted files in the folder you created earlier. Rightclick My Computer->Properties->Advanced->Environment variables. Here you should see a list that includes "Path". Select "Path" and click the edit button. At the end of the chain of names you'll see, simply add "OpenSSL;" without the quotes.

EDIT: It's been pointed out by jethro.fn that py2sis.py is not needed. I included it here out of habit, because I used to include it in the process. Disregard this edit.

Now you'll need a key and certificate. If you don't know what those are, email me and we'll talk. If you do, add them to the folder with the other files.

Now go to step 3 of my previous post. Good luck.

Again, if you need any help, my email is smartphone6630@yahoo.com
Last edited by bogdan.galiceanu : 2008-02-05 at 10:16.
Reply With Quote

#8 Old Re: Total Noob questions... - 2008-02-05, 07:52

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
If you haven't already, download the SDK archive (http://downloads.sourceforge.net/pys...2&big_mirror=0) Inside you'll find another archive, "sdk_files.zip", in which you'll find the file py2sis. Add py2sis in your folder.
No no no... This step is completely unnecessary. Ensymble replaces everything about py2sis, there's no need to download the PyS60 SDK for this.
Reply With Quote

#9 Old Re: Total Noob questions... - 2008-02-05, 23:19

Join Date: Mar 2003
Posts: 115
Dansco
Offline
Regular Contributor
Thanx again for your help but I keep getting an error saying python can't find the emsymble_python file but it is there. Any ideas?

Also any word on the emulator?
Reply With Quote

#10 Old Re: Total Noob questions... - 2008-02-06, 07:16

Join Date: Oct 2007
Posts: 2,841
Location: Deva, Romania
bogdan.galiceanu's Avatar
bogdan.galiceanu
Online
Forum Nokia Champion
Quote:
Originally Posted by Dansco View Post
Thanx again for your help but I keep getting an error saying python can't find the emsymble_python file but it is there. Any ideas?

Also any word on the emulator?
It is spelled ensymble, not emsymble. With an "n". That may be the cause of the error.
Reply With Quote

#11 Old Re: Total Noob questions... - 2008-02-06, 07:31

Join Date: May 2007
Posts: 2,737
Location: 21.46 N 72.11 E
croozeus's Avatar
croozeus
Offline
Forum Nokia Champion
Quote:
Originally Posted by Dansco View Post
Also any word on the emulator?
I already gave you the link to it in my previous post!

Here is the Emulator !

BR
Croozeus
Reply With Quote

#12 Old Re: Total Noob questions... - 2008-02-11, 23:25

Join Date: Mar 2003
Posts: 115
Dansco
Offline
Regular Contributor
Quote:
Originally Posted by croozeus View Post
I already gave you the link to it in my previous post!

Here is the Emulator !

BR
Croozeus
Thanx again mate, I've downloaded and installed this but still can't find the emulator. What am I doing wrong?!
Reply With Quote

#13 Old Re: Total Noob questions... - 2008-02-12, 07:01

Join Date: May 2007
Posts: 2,737
Location: 21.46 N 72.11 E
croozeus's Avatar
croozeus
Offline
Forum Nokia Champion
Quote:
Originally Posted by Dansco View Post
Thanx again mate, I've downloaded and installed this but still can't find the emulator. What am I doing wrong?!
Hi Dansco,

Check your installation path. If you have installed it in D: then your path must be D:\Symbian\9.1\S60_3rd\Epoc32\Release\Winscw\Udeb\epoc.exe
Also you can find it in the Start -> Programs -> S60 Developer tools menu.

Best Regards
Croozeus
Reply With Quote

#14 Old Re: Total Noob questions... - 2008-02-12, 14:36

Join Date: Mar 2003
Posts: 115
Dansco
Offline
Regular Contributor
Quote:
Originally Posted by croozeus View Post
Hi Dansco,

Check your installation path. If you have installed it in D: then your path must be D:\Symbian\9.1\S60_3rd\Epoc32\Release\Winscw\Udeb\epoc.exe
Also you can find it in the Start -> Programs -> S60 Developer tools menu.

Best Regards
Croozeus
THANX! Sadly I'm having an error message when I click on any of the options in the Tools menu - "Cannot start ECMT manager"

As for the ensymble problem, everytime I try and run it, it comes up with
"d:\Python25\python.exe: can't open file 'ensymble_python2.4-0.26.py' : [Errno 2] No such file or directory"
Last edited by Dansco : 2008-02-12 at 15:35.
Reply With Quote

#15 Old Re: Total Noob questions... - 2008-02-12, 20:56

Join Date: May 2004
Posts: 524
Location: Tampere, Finland
jethro.fn's Avatar
jethro.fn
Offline
Forum Nokia Champion
Quote:
Originally Posted by Dansco View Post
As for the ensymble problem, everytime I try and run it, it comes up with

Code:
"d:\Python25\python.exe: can't open file 'ensymble_python2.4-0.26.py' : [Errno 2] No such file or directory"
          ^^                                             ^^^
You're trying to run Ensymble for Python 2.4 with an installation of Python 2.5. Get the right version of Ensymble and try again.
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
How can i solve this error? symbian-newbie General Symbian C++ 6 2006-05-23 06:33
program hangs when ActivateLocalView is used twice yencruz Symbian User Interface 0 2004-03-05 06:36
program hangs when ActivateLocalView is used twice yencruz General Symbian C++ 0 2004-03-05 06:35
program hangs when ActivateLocalView is used twice yencruz Symbian Tools & SDKs 0 2004-03-05 06:34
program hangs when ActivateLocalView is used twice yencruz General Symbian C++ 0 2004-03-05 04:13

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 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomE2fforumE2fshowthreadE2ephpE3ftE3d81449X qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE44iscussionQ qdcZtypeQUqfntypeZE44iscussionContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtopicQUqfnTopicZpythonQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE44iscussionQ qfnZtypeQUqfntypeZE44iscussionContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qfnZuserE5ftagQSxpythonX qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE44iscussionQ qrdfZtypeQUqfntypeZE44iscussionContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ