×

Discussion Board

Results 1 to 9 of 9
  1. #1
    Nokia Developer Expert
    Join Date
    Dec 2007
    Posts
    63

    Thumbs up Python for S60 1.9.5 is now released

    Python for S60 1.9.5 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.
    ----- Nocs signed high capas PythonScriptShell sis. This sis file comes with higher capabilities than self signed (SwEvent, WriteDeviceData, ReadDeviceData)
    ----- unsigned developer certificate PythonScriptShell sis. This sis file can be used for Symbian signing.
    ----- Application packaging tool with GUI and README
    ----- Python HTML documentation updated with S60 module reference
    - Two Nocs signed default capability set PythonScriptShell sis files. These 2 sis files will be uploaded shortly.
    - Separate SDK zips for 3rdEdFP1 and 3rdEdFP2. SDK zip contains both gcce and armv5 link libraries. Python 3rdEdFP2 SDK zip will work fine on S60 5thEd
    - OpenC SDK plugin for 3rdEd devices. This zip file needs to be extracted on top of Python 3rdEdFP2 SDK zip to get Python working on S60 3rdEd SDK.
    - 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 will be 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 higher capability set.
    The capability set is LocalServices NetworkServices ReadUserData WriteUserData UserEnvironment Location SwEvent WriteDeviceData ReadDeviceData

    The PythonScriptShell package is available with developer certificate 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 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.5 release.

    On the brighter side:

    - Three Nokia signed PythonScriptShell applications with different capability set.
    - PythonScriptShell_1.9.5_3_0.sis: This sis file is signed with S60 3rdEd default capability set. The capability set is defined above.
    - PythonScriptShell_1.9.5_3_2.sis: This sis file is signed with S60 3rdEdFP2 default capability set. The capability set is defined above.
    - PythonScriptShell_1.9.5_high_capas.sis: This sis file is signed with S60 3rdEdFP2 default capability set plus the capabilities SwEvent, WriteDeviceData and ReadDeviceData. "All features of PyS60 modules work with this set, with the exception of certain socket option settings that would require the NetworkControl capability."

    - Scrollbar support is available for appuifw listbox

    - e32.s60_version_info now returns the proper S60 version information of the device on which the application is running.

    - Packaging tool improvements
    - Added an option to package the application sis as bycode or source code.
    - Default heapsize for PyS60 applications is increased to 100k,4M from 4k,1M
    - Added an option "Continue with missing dependencies". Enabling this option will display the missing dependencies as warnings and continue with SIS generation. Otherwise the packaging is strict. Missing dependencies are displayed as errors and SIS generation is aborted.

    - Many defects are fixed with this release. Refer release notes for more details.

    Here are some of the things that are worse in 1.9.5 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.6.

    Happy hacking!

    -- Python for S60 team

  2. #2
    Super Contributor
    Join Date
    Nov 2007
    Location
    Sertaozinho/Brazil
    Posts
    768

    Re: Python for S60 1.9.5 is now released

    Great job, PyS60 team !

    I will delay my wordmobi release based on 1.9.4 (scheduled for today) just to use 1.9.5 ! Feedback ASAP.

    Marcelo

  3. #3
    Registered User
    Join Date
    May 2007
    Posts
    25

    Re: Python for S60 1.9.5 is now released

    I really like your x-mas in summer release cycle. Very nice. Thanks for continuing to improve python!

  4. #4
    Registered User
    Join Date
    Feb 2005
    Location
    Belgium (Europe)
    Posts
    1,352

    Re: Python for S60 1.9.5 is now released

    Quote Originally Posted by jhb View Post
    I really like your x-mas in summer release cycle. Very nice. Thanks for continuing to improve python!
    In May there's a minor delay It should be planned for the 24 th of May
    What do mean "Nocs" Typo

    Thanks for this new release

    Cyke64
    pys60 1.4.5 and 2.0.0, pygame, PyS60 CE on E90 and 5800 !

    Find my pys60 extension modules on cyke64.googlepages.com

  5. #5
    Nokia Developer Expert
    Join Date
    Dec 2007
    Posts
    63

    Re: Python for S60 1.9.5 is now released

    Quote Originally Posted by cyke64 View Post
    What do mean "Nocs" Typo
    Cyke64
    Nocs means "Nokia signed".

  6. #6
    Registered User
    Join Date
    Mar 2009
    Posts
    1

    Re: Python for S60 1.9.5 is now released

    Wonderful news! Thank you, that have compatibility with 1.9.4, will not have to redo all the written program :-)

  7. #7
    Nokia Developer Moderator
    Join Date
    May 2007
    Location
    21.46 N 72.11 E
    Posts
    3,800

    Re: Python for S60 1.9.5 is now released

    1st impressions: I am happy to see my feature request incorporated.
    Quote Originally Posted by tvijayan View Post
    - Added an option to package the application sis as bycode or source code.
    Also love the scollbar on listbox - been waiting for that since long.

    Feedback soon
    Pankaj Nathani
    www.croozeus.com

  8. #8
    Registered User
    Join Date
    Feb 2009
    Posts
    12

    Re: Python for S60 1.9.5 is now released

    Question to pyS60 team regarding
    IMPORT behaviour from scripts started inside ScriptShell:
    in 1.9.4 I had a C-Module compiled to kf_<name>.pyd and packed
    into a sis file, that unpacked it to !:/sys/bin/, and the
    module was well imported by
    IMPORT <name>
    inside ScriptShell.
    This fails now in v1.9.5.

    Note: I have no problem with import of such modules for complete packed applications, where I put my pyd into the repository. But how to handle
    for quick testing from ScriptShell ?

    Thanks for your help.
    BR Juergen

  9. #9
    Regular Contributor
    Join Date
    Oct 2007
    Posts
    114

    Re: Python for S60 1.9.5 is now released

    Quote Originally Posted by juergenm View Post
    Question to pyS60 team regarding
    IMPORT behaviour from scripts started inside ScriptShell:
    in 1.9.4 I had a C-Module compiled to kf_<name>.pyd and packed
    into a sis file, that unpacked it to !:/sys/bin/, and the
    module was well imported by
    IMPORT <name>
    inside ScriptShell.
    This fails now in v1.9.5.

    Note: I have no problem with import of such modules for complete packed applications, where I put my pyd into the repository. But how to handle
    for quick testing from ScriptShell ?

    Thanks for your help.
    BR Juergen
    Looks like a capability issue. The ScriptShell released with 1.9.5 is a high_capas one which has SwEvent, WriteDeviceData and ReadDeviceData along with the user-grantable capabilities. Now users can try almost all the APIs provided by PyS60 which require high capas For eg: gsm_location.

    The ScriptShell with max user grantable capabilities will be uploaded soon. In the meantime you can try adding these capas to your PYD and then import it from ScriptShell.
    import antigravity

Similar Threads

  1. Python for S60 1.9.4 is now released
    By tvijayan in forum Symbian
    Replies: 9
    Last Post: 2009-05-27, 10:39
  2. Python for S60 1.9.3 released
    By tvijayan in forum Symbian
    Replies: 40
    Last Post: 2009-04-03, 15:00
  3. Python for S60 1.9.2 released
    By tvijayan in forum Symbian
    Replies: 26
    Last Post: 2009-03-11, 09:28
  4. Python for S60 1.9.1 released
    By tvijayan in forum Symbian
    Replies: 30
    Last Post: 2009-02-26, 06:16
  5. Python for S60 1.9.0 released
    By tvijayan in forum Symbian
    Replies: 48
    Last Post: 2009-01-27, 15:39

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×