You Are Here:

Community: Developer Discussion Boards

Reply « Previous Thread | Next Thread »

#1 Old Thumbs up Python for S60 1.9.0 released - 2008-12-24, 17:04

Join Date: Dec 2007
Posts: 44
tvijayan's Avatar
tvijayan
Offline
Forum Nokia Expert
Here comes a Christmas gift for the PyS60 community from the Python for S60 team!

Python for S60 1.9.0 is now released.

You can download the release from maemo garage
https://garage.maemo.org/frs/?group_id=854

This release runs on S60 3rd edition, S60 3rd edition FP1, S60 3rd edition FP2 and S60 5th edition devices.

The release includes:
- Self signed device binaries for S60 3rd Ed and S60 3rd Ed FP2 (which will work even on S60 3rd Ed FP1 and S60 5th Ed devices respectively).
- Installer for Windows platform that includes
----- Getting started guide
----- PyS60 runtime sis
----- PythonScriptShell sis
----- Application packaging tool with GUI and README
----- Python HTML documentation updated with S60 module reference
- Archive package for Linux/Mac that includes
----- PyS60 runtime sis
----- PythonScriptShell sis
----- Application packaging tool with README
----- Python HTML documentation updated with S60 module reference
- Python source code
- OpenSSL source code
- PyQt source code

The Python runtime component and the PythonScriptShell packages are self signed with the user-grantable capability set.
The capability set for S60 3rd Ed is ReadUserData WriteUserData NetworkServices LocalServices UserEnvironment.
The capability set for S60 3rd Ed FP2 is ReadUserData WriteUserData NetworkServices LocalServices UserEnvironment Location.

Expectation management: THIS IS NOT A FINAL PRODUCT.

This is the first, rough release of a code-base that has been rewritten to a large extent. Just like we did with the 1.1.x and 1.3.x
series, this will start a new development series of relatively frequent 1.9.x releases. We want to involve you in the development and
testing process so that you can point out any sharp edges and pointy bits that the releases may have.

The idea is to expose the code to early testing and gather feedback so that the final PyS60 2.0 can be solid and fulfill YOUR needs.

Our targets for the final 2.0 are:

- Better usability for the developer and the end user:

- Easier runtime deployment. It must be possible for a developer to package their application in a way that the end user doesn't need
to think about the runtime installation. Note that we're not saying the end user doesn't have to _install_ the runtime, we're just saying
they don't need to _think_ about it.

- Easier tools installation and SIS packaging for Python applications. Especially packaging Python applications to SIS has proved to be pretty
tough with all the dependencies you need to install. The 1.9.0 release improves things with the new all-in-one installer that gives you the
packaging tool, the documentation and the SIS files you need for development in one package. The user-friendly Ensymble tool is now official,
and there is a GUI for one-button package creation.

- Easier and more robust ways to use and distribute 3rd party extension modules with your application. Free use of third party extensions is
one of the main advantages of Python, and we want to enable and encourage that. We'll improve the Ensymble packaging tool to automatically
bundle modules not included in the base runtime into your application SIS, as well as specify how a module author can distribute their
module to other developers so that the module can be easily used.

- Integrated HTML documentation: The S60 specific documentation is now a part of the full Python documentation so you no longer need to switch
between them.

- Reliability and compliance with the standard Python. We've put effort into automatic testing on multiple target platforms as well as fixing
any noncompliance revealed by Python's own regrtest.py test suite. The compliance isn't perfect yet, but it's much better than with the old
1.4.x code-base.

- Quicker start-up and smaller base runtime package size than with 1.9.0.

- Selected API additions. Qt support is definitely on the roadmap. Schedule we can't give yet.

- Support for non-Windows platforms for things other than C++ extension development. Already preliminary support is available in 1.9.0, which
contains an all-in-one archive that gives you the packaging tool, the documentation and the SIS files.

Now, on to what we have now - the 1.9.0 release.

Let's start with the bad news first. Here are some of the things that are worse in 1.9.0 than in 1.4.5:

- The interpreter start-up time is considerably longer than in 1.4.x. We'll optimize this.

- The runtime package is much bigger than with 1.4.x. This'll get smaller once we have the modified packaging model working - estimate is that
the final base runtime would be less than 1MB.

- There is an additional dependency to the OpenC libraries, which must be installed for the runtime to work.

- Sadly, S60 2.x devices are not supported by the new code-base, and never will be. This is because OpenC libraries aren't available for S60 2.x.

- This initial release is aimed at script developers, not extension developers, thus no plug-in to the C++ SDK is included. The C++ SDK plug-in
should follow soon.

- Binary compatibility between 1.9.x versions isn't guaranteed until 2.0. We won't break it without good reason, but it can happen.

But, on the brighter side:

- Python 2.5.1 core, with much better compliance to the standard Python than before. Most of the modules in the standard library are
included - basically almost all that make sense on this platform and even some that don't (for regression testing purposes). This
includes such goodies as the Expat XML parser, ftplib, smtplib, urllib2, xmlrpclib, SimpleHTTPServer, cPickle, asyncore and especially the
much more compliant socket module. Garbage collection is enabled, so there is no need to dismantle reference cycles anymore.

- Packaging Python applications to SIS files is much easier. The user-friendly Ensymble tool is now the official packaging tool, and we've made
a GUI for it so packaging your application is now just a button press away.

- The environment for SIS packaged applications is closer to the script shell environment, since the script shell is no longer a special case
but just a regular application packaged using the Ensymble tool. This should make testing your application easier.

- SIS packaged applications are now more robust:

- If the runtime is missing and you try to launch the application, a human readable error message is displayed instead of the application just
failing to start, like before.

- If the application raises an exception on start-up, the traceback is printed on the screen instead of the application quitting silently.

- The applications have a default text console just like in the script shell environment, so printing text using the print statement works the
same way in SIS packaged apps and the script shell.

- On S60 3rd Ed FP2 devices, access GPS out of the box without signing hassle! Since S60 3rd Ed FP2 devices now permit the Location capability
for self-signed applications, that capability is now enabled by default in the S60 3rd Ed FP2 binaries.

- Almost all of the old 1.4.x Python APIs are included. The rest should be added during the 1.9.x series.

Bug reports, patches and feature requests can be filed in mamemo garage. That's what we track regularly, not every thread in the discussion
board. If you post a bug report only in the DiBo, we might miss it.

Bugs: https://garage.maemo.org/tracker/?at...54&func=browse
Feature Requests: https://garage.maemo.org/tracker/?at...54&func=browse
When filing bugs, include the device you used, its firmware version (you can see this by entering *#0000# in the idle screen), the PyS60 version
and a minimal test case (if applicable).

For more details on reporting bugs refer the "Reporting Bugs" section of the Python documentation.

That's it for now. Try it out, send feedback and stay tuned for 1.9.1.

Happy hacking!

-- Python for S60 team
Reply With Quote

#2 Old Re: Python for S60 1.9.0 released - 2008-12-24, 17:27

Join Date: Oct 2007
Posts: 2,839
Location: Deva, Romania
bogdan.galiceanu's Avatar
bogdan.galiceanu
Offline
Forum Nokia Champion
Very cool

Indeed installing and launching takes a bit longer, but that's understandable since this is more of a sketch of things to come.

The PyS60 Application Packager is brilliant, there's no other word for it; Ensymble with GUI is just terrific. And the new Python 2.5.1 core is a great addition too

Thank you PyS60 team for this great Christmas gift. Happy holidays and a wonderful new year to you
Reply With Quote

#3 Old Re: Python for S60 1.9.0 released - 2008-12-24, 19:43

Join Date: Feb 2008
Posts: 743
Location: Belo Horizonte, Brazil
Send a message via Skype™ to Rafael T.
Rafael T.'s Avatar
Rafael T.
Offline
Forum Nokia Champion
WOW

Now I understand why you guys were so busy

Now this was just what we expected! And Ensymble with GUI was such a great surprise

Congratulations for PyS60 team, great work!!!

Thanks for this Xmas gift!

Happy holidays for everybody


PS: Start up of the Script Shell is really too slow, hope you guys will fix that!
PS2: Don't forget to unstick the 1.4.5 release thread



Excited about this release,

Rafael.
Last edited by Rafael T. : 2008-12-24 at 20:45.
Reply With Quote

#4 Old Re: Python for S60 1.9.0 released - 2008-12-25, 02:47

Join Date: Feb 2005
Posts: 1,353
Location: Belgium (Europe)
cyke64's Avatar
cyke64
Offline
Super Contributor
Quote:
Originally Posted by Rafael T. View Post
Don't forget to unstick the 1.4.5 release thread



Excited about this release,

Rafael.
@rafael : Don't unstick the 1.4.5 because it's the stable version !
1.9.X is the unstable version and there's no version for 2nd edition !
So 2nd S60 device will be ALWAYS stick to PyS60 1.4.5 !!!

Merry Christmas to PyS60 team and everybody
Great job and wonderful gift

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

#5 Old Re: Python for S60 1.9.0 released - 2008-12-25, 02:50

Join Date: Jul 2007
Posts: 43
Lukas Hetzenecker
Offline
Registered User
Hello,

wow, this is REALLY GREAT news!
Quote:
- Selected API additions. Qt support is definitely on the roadmap. Schedule we can't give yet.
I'm really looking forward to this.
Will S60 3rd Edition (Version 3.0) also be supported?
because in the trolltech (or nokia/qt software or their new name ) blogs I only read about "Qt for S60 3.1 and later versions" ( http://labs.trolltech.com/blogs/2008...0-pre-release/ )
Last edited by Lukas Hetzenecker : 2008-12-25 at 03:03.
Reply With Quote

#6 Old Thumbs up Re: Python for S60 1.9.0 released - 2008-12-25, 04:31

Join Date: Feb 2008
Posts: 2,539
Location: Bhavnagar, Gujarat, India
Send a message via Yahoo to gaba88 Send a message via Skype™ to gaba88
gaba88's Avatar
gaba88
Online
Forum Nokia Champion
merry Christmas to all

and what a Christmas gift it has been. Congrats to pys60 team

the ensymble with GUI was really a surprise i liked it the most.

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 Thumbs up Re: Python for S60 1.9.0 released - 2008-12-25, 04:47

Join Date: May 2007
Posts: 2,735
Location: 21.46 N 72.11 E
croozeus's Avatar
croozeus
Offline
Forum Nokia Champion
Hello,

What a beautiful X'mas morning it has been for me.

I just feel that Santa has come at night and put PyS60 1.9.0 is my sock.

Along with the new release, I just feel you have made packaging easier and comfortable for the users.
Quote:
Originally Posted by tvijayan View Post
Qt support is definitely on the roadmap. Schedule we can't give yet.

- Support for non-Windows platforms for things other than C++ extension development. Already preliminary support is available in 1.9.0, which
contains an all-in-one archive that gives you the packaging tool, the documentation and the SIS files.
That is Qt !

I just wonder why the project was moved to maemo


Great Job Jukka, Vijiyan and the PyS60 team,
Merry Christmas,

Best Regards,
Croozeus
Reply With Quote

#8 Old Re: Python for S60 1.9.0 released - 2008-12-25, 04:49

Join Date: May 2007
Posts: 2,735
Location: 21.46 N 72.11 E
croozeus's Avatar
croozeus
Offline
Forum Nokia Champion
Just one more thing- Thanks for the reduced size assurance, as for now the size of the sis file is 2.8 Mb. And the application is 6MB in the application manager.
Last edited by croozeus : 2008-12-25 at 05:20.
Reply With Quote

#9 Old Re: Python for S60 1.9.0 released - 2008-12-25, 19:25

Join Date: Sep 2007
Posts: 395
Location: Bhavnagar
Send a message via Yahoo to james1980
james1980's Avatar
james1980
Offline
Forum Nokia Champion
hi all
Merry Christmas to all ....
Nice xmas gift for alll
But 2nd edition user have nothing to do with this new release.

Regards.....


Jajal Mehul
Reply With Quote

#10 Old Re: Python for S60 1.9.0 released - 2008-12-26, 02:18

Join Date: Mar 2003
Posts: 935
Location: Espoo, Finland
JOM's Avatar
JOM
Offline
Forum Nokia Champion
Quote:
Originally Posted by tvijayan View Post
Here comes a Christmas gift for the PyS60 community from the Python for S60 team!
Thanx thanx thanx

Quote:
Originally Posted by tvijayan View Post
- PyQt source code
Hmph, doesn't PyQt require commercial license for any non-free or non-GPL source coded apps? Anyway, nice to have PyQt, but please tell about licensing - especially if Qt for S60 will really be available for free for commercial sw, too?

Quote:
Originally Posted by tvijayan View Post
- Integrated HTML documentation: The S60 specific documentation is now a part of the full Python documentation so you no longer need to switch
between them.
...but I like to have PyS60 manual separately! Python is python is python, but PyS60 was the interesting part: how to do UI, how to use S60 services, what are the exceptions - all in one nice tight printable manual! I sure hope this is not buried and hidden deep down into hundreds of pages of standard python docs!

Quote:
Originally Posted by tvijayan View Post
- Selected API additions.
Ok, have to download and install

Quote:
Originally Posted by tvijayan View Post
- Binary compatibility between 1.9.x versions isn't guaranteed until 2.0. We won't break it without good reason, but it can happen.
Well... does this make a difference for "script author" people? Who needs to be aware of this? Can you give any problematic use cases? C++ extension developers?

Quote:
Originally Posted by tvijayan View Post
- Almost all of the old 1.4.x Python APIs are included.
Hope you have listed missing APIs in docs...

Quote:
Originally Posted by tvijayan View Post
Bug reports, patches and feature requests can be filed in mamemo garage. That's what we track regularly, not every thread in the discussion
board. If you post a bug report only in the DiBo, we might miss it.
Huh! I have too many questions to ask about this...

Very happy with this Xmas present,

--jouni
Reply With Quote

#11 Old Re: Python for S60 1.9.0 released - 2008-12-26, 04:36

Join Date: Dec 2008
Posts: 1
rickhuangyan
Offline
Registered User
Quote:
Originally Posted by james1980 View Post
hi all
Merry Christmas to all ....
Nice xmas gift for alll
But 2nd edition user have nothing to do with this new release.

Regards.....
Kinda late catching this information...
Merry Christmas!

Appended: The windows setup cannot finish... because it cannot detect Python25 successfully installed...
Do we have a way manually install these parts?

--
Regards.
Last edited by rickhuangyan : 2008-12-26 at 05:14. Reason: New Information
Reply With Quote

#12 Old Re: Python for S60 1.9.0 released - 2008-12-26, 07:51

Join Date: May 2007
Posts: 2,735
Location: 21.46 N 72.11 E
croozeus's Avatar
croozeus
Offline
Forum Nokia Champion
Yes, please install binaries of Python 2.5.1 ! Then run the setup. It would be required for Ensymble operations.
Reply With Quote

#13 Old Re: Python for S60 1.9.0 released - 2008-12-26, 10:08

Join Date: Aug 2007
Posts: 8
anand_83
Offline
Registered User
The reason might be that you have a different 2.5 version of python installed on your system, may be a 2.5.2 ?? But the PyQt version pacakged with the installer is built against Python 2.5.1, so it becomes mandatory for you to have 2.5.1 installed.
Reply With Quote

#14 Old Re: Python for S60 1.9.0 released - 2008-12-26, 11:44

Join Date: Feb 2005
Posts: 1,353
Location: Belgium (Europe)
cyke64's Avatar
cyke64
Offline
Super Contributor
Quote:
Originally Posted by rickhuangyan View Post
Kinda late catching this information...
Merry Christmas!

Appended: The windows setup cannot finish... because it cannot detect Python25 successfully installed...
Do we have a way manually install these parts?

--
Regards.
Merry xmas too !

Yes installation of this HUGE package take A LOT of time !
Here's my experience :
Python 2.5.1 was ALREADY installed on my PC
- try to install the package
-> choose repair 2.5.1 but don't work !
- try to install the package
-> choose remove 2.5.1 OK
- try to install the package
-> choose to install PYQT but don't work you have to reboot first
- reboot ...
- try to install the package
-> PYQT installed after a VERY LONG time !
-> Python for S60 containing Application Packager (GUI for Ensymble) and Python S60 documentation (Python doc format) in HTML files !

I hope that my installation experience can help someone

Happy Debugging
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

#15 Old Thumbs up Re: Python for S60 1.9.0 released - 2008-12-26, 11:58

Join Date: Feb 2008
Posts: 2,539
Location: Bhavnagar, Gujarat, India
Send a message via Yahoo to gaba88 Send a message via Skype™ to gaba88
gaba88's Avatar
gaba88
Online
Forum Nokia Champion
Quote:
Originally Posted by cyke64 View Post
Merry xmas too !
I hope that my installation experience can help someone

Happy Debugging
Cyke64

-
Hello Cyke

indeed it was helpful.
specially to me. since yesterday i am very busy in installing the new python just got a bit of success.

Enjoy Pythoning
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.4.5 released tvijayan Python 24 2009-10-14 19:54
Python for Series 60 released on Forum Nokia! eriksmartt Python 5 2009-07-14 18:00
Python for S60 1.4.4 released but again based upon backdated Python 2.2.2 arifulbd Python 6 2008-08-11 19:32
Python for S60 1.4.2 released tvijayan Python 22 2008-04-15 20:20
Python for S60 1.3.22 released jplauril Python 14 2007-06-28 04:53

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