You Are Here:

Community: Developer Discussion Boards

Reply « Previous Thread | Next Thread »

#1 Old Thumbs up Python for S60 1.9.2 released - 2009-02-24, 09:58

Join Date: Dec 2007
Posts: 44
tvijayan's Avatar
tvijayan
Offline
Forum Nokia Expert
Python for S60 1.9.2 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).
- unsigned 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).
- Separate SDK zips for 3rdEd, 3rdEdFP1 and 3rdEdFP2. SDK zip contains both gcce and armv5 link libraries
- Installer for Windows platform that includes
----- Getting started guide
----- selfsigned PyS60 runtime sis
----- selfsigned PythonScriptShell sis
----- Application packaging tool with GUI and README
----- Python HTML documentation updated with S60 module reference
----- sensor module documentation for S60 3rd Ed FP2 and S60 5th Ed.
- Archive package for Linux/Mac that includes
----- selfsigned PyS60 runtime sis
----- selfsigned PythonScriptShell sis
----- Application packaging tool with README
----- Python HTML documentation updated with S60 module reference
- 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.

sensor module is now available for accessing the sensors on S60 3rd Ed FP2 and S60 5th Ed devices that have S60 Sensor Framework libraries. The existing sensor scritps has to be rewritten using the new module to make it work on S60 3rd Ed FP2 and S60 5th Ed. The rewritten sensor scripts will not work on S60 3rd Ed and S60 3rd Ed FP1 devices, the support for the same will be provided in the consecutive dot releases. The existing sensor applications will still work on S60 3rd Ed and S60 3rd Ed FP1 devices without any change.

The selfsigned Python runtime component and 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 unsigned Python runtime component and the PythonScriptShell packages are 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 0xE0201514.

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

On the brighter side:

- sensor module support for accessing the sensors on the devices that have
S60 Sensor Framework libraries. This module's API compatibility between 1.9.x
versions isn't guaranteed until 2.0. It won't be broken without good reason,
but it can happen. Refer to the sensor-module-specifications.doc available
from the installer for more details.

- Reduction in the installer size!
The application packager GUI is now based on Tkinter, hence PyQt setup is
removed from the windows installer.

- The UID of PythonRuntime has changed from '0xF0201514' to '0xE0201514'

- PyS60 Application Packager is now based on ensymble 0.28

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

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

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

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

Happy hacking!

-- Python for S60 team
Last edited by tvijayan : 2009-02-24 at 10:55.
Reply With Quote

#2 Old Re: Python for S60 1.9.2 released - 2009-02-24, 10:03

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
hello PyS60 Team

Great to see the new release and the best part in it is the availability of the new sensor module.

Keep it up and we all are waiting eagerly for the stable PyS60 2.0.

Enjoy Pythoning
Gaba88


Gargi Das- http://gargidas.blogsot.com

Forum Nokia Python Wiki


Learn Python at http://mobapps.org/PyS60
Reply With Quote

#3 Old Re: Python for S60 1.9.2 released - 2009-02-24, 11:24

Join Date: May 2007
Posts: 2,735
Location: 21.46 N 72.11 E
croozeus's Avatar
croozeus
Offline
Forum Nokia Champion
Sensor framework - thanks!

Babysteps are not bad at all if we do get a polished product in the end!

Can't wait for the touch UI support

Cheers,
Croozeus
Reply With Quote

#4 Old Re: Python for S60 1.9.2 released - 2009-02-24, 11:30

Join Date: Sep 2005
Posts: 314
Location: Finland, Helsinki
aaaaapo
Offline
Regular Contributor
Quote:
Originally Posted by croozeus View Post
Sensor framework - thanks!
Yes, tested in N82 and verlet.py, sensor_analyzer.py etc., works as in 1.4.5. (Hello JOM! :-)

Quote:
Originally Posted by croozeus View Post
Babysteps are not bad at all if we do get a polished product in the end!
Release early, release often (or how it is)... I like see minor releases more often than giant leaps every 6 months. (At least I see someone is doing something. :-)


--
Aapo Rista
http://code.google.com/p/pys60gps/
http://opennetmap.org/
Reply With Quote

#5 Old Re: Python for S60 1.9.2 released - 2009-02-24, 11:45

Join Date: May 2007
Posts: 2,735
Location: 21.46 N 72.11 E
croozeus's Avatar
croozeus
Offline
Forum Nokia Champion
Quote:
Originally Posted by aaaaapo View Post
I like see minor releases more often than giant leaps every 6 months. (At least I see someone is doing something. :-)
I agree! Just what the photo on this link signifies.
Reply With Quote

#6 Old Re: Python for S60 1.9.2 released - 2009-02-24, 12:46

Join Date: Mar 2008
Posts: 127
jtullis
Offline
Regular Contributor
I cannot find the s60 pdf doc for 1.9.2. I have installed the exe on my pc so I have the html files file:///C:/Program%20Files/PythonForS60/doc/s60/s60.html but this is no good as I want the pdf so I can search fulltext. Where can I download the pdf documentation, like it was easy before? Thanks
Reply With Quote

#7 Old Re: Python for S60 1.9.2 released - 2009-02-24, 12:53

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
hello jtullis

AFAIK the new releases have only html documentation they no more have pdf documentation.

Enjoy Pythoning
Gaba88


Gargi Das- http://gargidas.blogsot.com

Forum Nokia Python Wiki


Learn Python at http://mobapps.org/PyS60
Reply With Quote

#8 Old Re: Python for S60 1.9.2 released - 2009-02-24, 13:00

Join Date: Mar 2008
Posts: 127
jtullis
Offline
Regular Contributor
Oh no!!! So how do I search fulltext? There are so many pages to look through, and the index doesn't list every instance of every keyword! This could be a backwards step unless someone can help me!
Reply With Quote

#9 Old Re: Python for S60 1.9.2 released - 2009-02-24, 13:44

Join Date: May 2007
Posts: 2,735
Location: 21.46 N 72.11 E
croozeus's Avatar
croozeus
Offline
Forum Nokia Champion
Quote:
Originally Posted by jtullis View Post
Oh no!!! So how do I search fulltext? There are so many pages to look through, and the index doesn't list every instance of every keyword! This could be a backwards step unless someone can help me!
The old 1.4.5 documentation still exists! I use that for PyS60 modules.
Reply With Quote

#10 Old Re: Python for S60 1.9.2 released - 2009-02-24, 13:53

Join Date: Mar 2003
Posts: 935
Location: Espoo, Finland
JOM's Avatar
JOM
Offline
Forum Nokia Champion
Quote:
Originally Posted by aaaaapo View Post
Yes, tested in N82 and verlet.py, sensor_analyzer.py etc., works as in 1.4.5. (Hello JOM! :-)
Hello aaaaapo

Good news, will have to install PyS60 1.9.x finally! Recently checked how 1.4.5 works in 5800, but even listbox didn't work! Have to check how backwards compatible 1.9.x will be in older devices...

Cheers,

--jouni
Reply With Quote

#11 Old Re: Python for S60 1.9.2 released - 2009-02-25, 03:19

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
I really liked this release! Not only because of the Sensor Framework support, but also because we can see that you guys are making often and minor release, walking step-by-step, attempting to make up to our requests


Thanks,

Rafael.
Reply With Quote

#12 Old Re: Python for S60 1.9.2 released - 2009-02-26, 05:43

Join Date: Nov 2007
Posts: 311
Location: Sertaozinho/Brazil
Send a message via MSN to marcelobarrosalmeida Send a message via Skype™ to marcelobarrosalmeida
marcelobarrosalmeida's Avatar
marcelobarrosalmeida
Offline
Forum Nokia Champion
The best phrase in this announce in my humble opinion was “Qt support is definitely on the roadmap”!
Great job !


Marcelo Barros
Nokia E71, N800, N95 and XM 5800
http://www.croozeus.com
http://wordmobi.wordpress.com
http://jedizone.wordpress.com
Reply With Quote

#13 Old Re: Python for S60 1.9.2 released - 2009-02-28, 18:13

Join Date: Oct 2008
Posts: 4
Yerghi
Offline
Registered User
I tried FP2 and FP1 version and sensor module doesn't work on Nokia E66.
Reply With Quote

#14 Old Re: Python for S60 1.9.2 released - 2009-02-28, 18:41

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 Yerghi View Post
I tried FP2 and FP1 version and sensor module doesn't work on Nokia E66.
hello Yerghi

welcome to forum nokia python discussion boards.

it will be great if you throw some more light on what problem you are facing with the module. I mean what sort of errors you are getting.

Enjoy Pythoning
Gaba88


Gargi Das- http://gargidas.blogsot.com

Forum Nokia Python Wiki


Learn Python at http://mobapps.org/PyS60
Reply With Quote

#15 Old Re: Python for S60 1.9.2 released - 2009-02-28, 21:30

Join Date: Oct 2008
Posts: 4
Yerghi
Offline
Registered User
In FP1 version I can't import sensor module.("ImportError: No module named _sensor")
In FP2 version I can import sensor module but if I run some function it gives me "SymbianError: [Errno -46] KErrPermissionDenied".

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