You Are Here:

Community: Developer Discussion Boards

#1 Old Thumbs up Python for S60 1.9.4 is now released - 2009-04-24, 20:44

Join Date: Dec 2007
Posts: 44
tvijayan's Avatar
tvijayan
Offline
Forum Nokia Expert
Python for S60 1.9.4 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:
- Installer for Windows platform that includes
----- Getting started guide
----- Nocs signed PyS60 runtime sis which will work on S60 3rdEd, 3rdEdFP1, 3rdEdFP2 and 5thEd devices.
----- selfsigned and unsigned high capas PythonScriptShell sis
----- Application packaging tool with GUI and README
----- Python HTML documentation updated with S60 module reference
- Separate SDK zips for 3rdEd, 3rdEdFP1 and 3rdEdFP2. SDK zip contains both gcce and armv5 link libraries
- Python source code
- OpenSSL source code. This source code is released just to be in complaint with the terms of LGPL licensed software. This source code is
nothing to do with PyS60 software.

The PythonScriptShell packages are available 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.

The PythonScriptShell package is available with high capability set.
The capability set is LocalServices NetworkServices ReadUserData WriteUserData UserEnvironment Location PowerMgmt ProtServ SwEvent SurroundingsDD ReadDeviceData WriteDeviceData TrustedUI

The UID of Python runtime is changed to 0x20022EE8.

Expectation management: THIS IS NOT A FINAL PRODUCT.

This is one of the rough releases 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. 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.

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

On the brighter side:

- A single Nokia signed runtime package which can be installed on all S60 3rd ED and above devices is available. The actual size of the runtime is ~1MB, but due to the embedded OpenC sis and Platform Service sis, the size is increased to 2.8MB. The runtime includes only the most essential modules. The Rest of the modules are available with the application packager tool.

- Improved version of application packager tool. The PyS60 application packager now scans the Python application being packaged and picks up the missing Python modules on which the application is dependent and packages them along with the application files. Refer Chapter 7. "Module Repository" in the PyS60 Documentation for more details.

- Easier runtime deployment: Python runtime and its dependent components can be installed by just running any Python application packaged using 1.9.4 application packager. This feature is available only from S60 3rd edition FP2 devices onwards and also these devices should have been updated with the latest firmware.

- Two new APIs are added to the socket module - access_points() and set_default_access_point() which have similar functionality to the APIs present in btsocket module.

- Two new APIs are added to e32 module - get_capabilities() and has_capabilities(). The former can be used to get the capabilities, the application has been signed with, and the latter to check if a given list of capabilities is granted to the application or not.
Note: The capabilities of scriptshell are displayed on startup using the get_capabilities() API.

- Added a new mode to appuifw.app.screen - 'full_max' which can be used to achieve fullscreen on devices that don't have Left Soft Key and Right Soft Key(e.g.: Nokia 5800). Setting the screen to 'full' will translate to 'large' mode on these devices.

Here are some of the things that are worse in 1.9.4 when compared to 1.4.5:

- 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.

- 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.

- API compatibility of new sensor module isn't guaranteed until 2.0. We won't break it without good reason, but it can happen.

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. Our previous reference to Qt support being on the roadmap was misleadingly worded and should be read with emphasis on the second part of the statement: "Schedule we can't give yet". Qt support is on the roadmap, but according to current knowledge – and in fact, knowledge at the time of 1.9.0 release - the support will not make it to 2.0, but will be delivered as an add-on later. The main thing that happens at the 2.0 release is the beginning of a binary compatibility guarantee for extensions and applications, and there is no reason to delay that because of any independent component schedules.

- 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.

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.5.

Happy hacking!

-- Python for S60 team
Reply With Quote

#2 Old Thumbs up Re: Python for S60 1.9.4 is now released - 2009-04-24, 21:22

Join Date: May 2007
Posts: 2,738
Location: 21.46 N 72.11 E
croozeus's Avatar
croozeus
Online
Forum Nokia Champion
Quote:
Originally Posted by tvijayan View Post
That's it for now. Try it out, send feedback and stay tuned for 1.9.5.

Happy hacking!

-- Python for S60 team
Yeap! Great,

Love the access point functions, like the addition of extension functions (capabilities - envy was the one, if I am correct ).

Someone was asking if PyS60 1.9.4 would come today, thanks.

Waiting for 144th day of the year

//Croozeus
Reply With Quote

#3 Old Re: Python for S60 1.9.4 is now released - 2009-04-24, 21:46

Join Date: Sep 2005
Posts: 314
Location: Finland, Helsinki
aaaaapo
Offline
Regular Contributor
Quote:
Originally Posted by tvijayan View Post
Python for S60 1.9.4 is now released.
Ah, the 24th day the month again! Sure I'll test this and it's very sure I'm waiting for (May 24th for) next release! :-)

EDIT: No windows here. Can't find the tar.gz package. Can not test 1.9.4 yet.


--
Aapo Rista
http://code.google.com/p/pys60gps/
http://opennetmap.org/
Last edited by aaaaapo : 2009-04-24 at 21:56.
Reply With Quote

#4 Old Re: Python for S60 1.9.4 is now released - 2009-04-25, 01:57

Join Date: Oct 2007
Posts: 3
QuocSan
Offline
Registered User
Congratulations!
New release comes in time again.
I hope on Oct 24th this year, PyS60 community will enjoy 2.0 release.
Reply With Quote

#5 Old Re: Python for S60 1.9.4 is now released - 2009-04-26, 02:49

Join Date: Mar 2003
Posts: 145
lkz633
Offline
Regular Contributor
I cannot install the python sis file on my Nokia N95

Certtificate error, please contact program supplier
Reply With Quote

#6 Old Re: Python for S60 1.9.4 is now released - 2009-04-26, 09:45

Join Date: Oct 2007
Posts: 2,841
Location: Deva, Romania
bogdan.galiceanu's Avatar
bogdan.galiceanu
Offline
Forum Nokia Champion
Quote:
Originally Posted by lkz633 View Post
I cannot install the python sis file on my Nokia N95

Certtificate error, please contact program supplier
It's usually enough to ask a question in a single thread. See if the answer from this thread helps: http://discussion.forum.nokia.com/fo...d.php?t=165941
Reply With Quote

#7 Old Re: Python for S60 1.9.4 is now released - 2009-04-26, 15:52

Join Date: Mar 2003
Posts: 145
lkz633
Offline
Regular Contributor
Quote:
Originally Posted by bogdan.galiceanu View Post
It's usually enough to ask a question in a single thread. See if the answer from this thread helps: http://discussion.forum.nokia.com/fo...d.php?t=165941
yes, sorry, i got mixed up with the threads.

And yes, of course I switch the security settings to all in apps in the application manager
Reply With Quote

#8 Old Re: Python for S60 1.9.4 is now released - 2009-04-27, 14:08

Join Date: Dec 2007
Posts: 44
tvijayan's Avatar
tvijayan
Offline
Forum Nokia Expert
Quote:
Originally Posted by aaaaapo View Post
EDIT: No windows here. Can't find the tar.gz package. Can not test 1.9.4 yet.
The tar file PythonForS60_1.9.4.tar.gz is uploaded to maemo.garage.
Reply With Quote

#9 Old Re: Python for S60 1.9.4 is now released - 2009-04-29, 16:11

Join Date: Dec 2007
Posts: 44
tvijayan's Avatar
tvijayan
Offline
Forum Nokia Expert
Hi,

Scribble application is repacked using 1.9.4 application packager and uploaded to maemo.garage.

Please note, there is a compatibility break betweek 1.9.3 and 1.9.4, since most of the standard python modules and the extension modules are moved from runtime package to Module repository.
If you face problems in starting your applications using 1.9.4 runtime, then please repackage your application using 1.9.4 application packager.
Reply With Quote

#10 Old Re: Python for S60 1.9.4 is now released - 2009-05-27, 11:39

Join Date: May 2009
Posts: 1
rachat024
Offline
Registered User
That's a good topic. I think that N series of Nokia is easy to install the python sis file. I have just installed for my N 70.

pret auto
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.9.3 released tvijayan Python 40 2009-04-03 16:00
Python for S60 1.9.2 released tvijayan Python 26 2009-03-11 10:28
Python for S60 1.9.1 released tvijayan Python 30 2009-02-26 07:16
Python for S60 1.9.0 released tvijayan Python 48 2009-01-27 16:39
Python for S60 1.4.4 released but again based upon backdated Python 2.2.2 arifulbd Python 6 2008-08-11 19:32

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