×

Discussion Board

Page 1 of 3 123 LastLast
Results 1 to 15 of 41
  1. #1
    Nokia Developer Expert
    Join Date
    Dec 2007
    Posts
    63

    Thumbs up Python for S60 1.9.3 released

    Python for S60 1.9.3 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 and unsigned high capas PyS60 runtime sis
    ----- selfsigned and unsigned high capas PythonScriptShell sis
    ----- Application packaging tool with GUI and README
    ----- Python HTML documentation updated with S60 module reference
    ----- scribble application
    ----- Touch support documentation for S60 5th Ed.
    - Archive package for Linux/Mac that includes
    ----- selfsigned and unsigned high capas PyS60 runtime sis
    ----- selfsigned and unsigned high capas PythonScriptShell sis
    ----- Application packaging tool with README
    ----- Python HTML documentation updated with S60 module reference
    ----- scribble application
    - 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.

    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.

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

    On the brighter side:

    - Touch event support is added to appuifw Canvas. An API is added to appuifw module, touch_enabled() for checking if the device supports touch input.

    - scribble application developed using PyS60 touch feature is available in the installer.

    - This release includes a new extension module, sciptext. This is an enabler for using S60 Platform Service APIs that were introduced in the S60 5th Edition and back ported on S60 3rd edition FP2, from Python. It supports services like Application Manager, Calendar, Contacts, Landmarks, Location, Logging, Messaging, Media Management, Sensors and Sys Info. Refer scriptext module documentation for the usage and the convention for accessing the platform Service API interfaces is subjected to change.

    - Easier runtime deployment: Python runtime and its dependent components can be installed by just running the scriptshell application that comes with 1.9.3 release. This feature is available only from S60 3rd edition FP2 devices onwards and also these devices should have been updated with the latest firmware. The easier runtime deployment support will be available with all ensymble packaged applications in future releases.

    - SSL support for socket is enabled

    - Python core is upgraded to 2.5.4

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

    Happy hacking!

    -- Python for S60 team

  2. #2
    Wiki Moderators
    Join Date
    May 2007
    Location
    21.46 N 72.11 E
    Posts
    3,779

    Thumbs up Re: Python for S60 1.9.3 released

    Hi,

    Nice work!

    Vijayan, do you care to provide the SIS files independently from the archive - at the download page? May be next time? (I understand that there are dependencies, but some people like me and many others have them installed and only need one or 2 files to upgrade on the phone)

    Imo, sometimes it might discourage users to download and test!

    But nevertheless, Great work!

    When is PyS60 1.9.4?

    //Croozeus
    Pankaj Nathani
    www.croozeus.com

  3. #3
    Nokia Developer Champion
    Join Date
    Feb 2008
    Location
    Ahmedabad, Gujarat, India
    Posts
    3,852

    Re: Python for S60 1.9.3 released

    congrats to the PyS60 Teams.

    The new extension module sciptext will be very interesting to test.

    Enjoy Pythoning
    Gaba88

  4. #4
    Regular Contributor
    Join Date
    Sep 2005
    Location
    Finland, Helsinki
    Posts
    323

    Re: Python for S60 1.9.3 released

    I signed Python_1.9.3_3rdEd_unsigned_high.sis and it works in my N82.

    This package seems to contain PIPS installer 1.5.1 and Symbian OS PIPS 1.5.1 packages as well?
    --
    Aapo Rista
    http://code.google.com/p/pys60gps/
    http://opennetmap.org/

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

    Re: Python for S60 1.9.3 released

    Great Job, PyS60 Team !

    "SSL support for socket is enabled" - Amazing new feature !

    Marcelo Barros

  6. #6
    Super Contributor
    Join Date
    Feb 2008
    Location
    Belo Horizonte, Brazil
    Posts
    744

    Re: Python for S60 1.9.3 released

    Nice release!

    Just when I got my 5800 XM

    Well done!



    Testing,

    Rafael.

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

    Re: Python for S60 1.9.3 released

    Vijayan, do you care to provide the SIS files independently from the archive - at the download page? May be next time? (I understand that there are dependencies, but some people like me and many others have them installed and only need one or 2 files to upgrade on the phone)

    Imo, sometimes it might discourage users to download and test!
    Well, Providing too many files with the release might confuse others in choosing the file they are interested in and moreover the changes to the document and packaging tool will not reach all if only Python runtime is downloaded. Reading document is important to know the usage of new module/API.

    At the same time i do understand your concern.

  8. #8
    Super Contributor
    Join Date
    Mar 2003
    Location
    Espoo, Finland
    Posts
    976

    Re: Python for S60 1.9.3 released

    Quote Originally Posted by tvijayan View Post
    Well, Providing too many files with the release might confuse others in choosing the file they are interested in and moreover the changes to the document and packaging tool will not reach all if only Python runtime is downloaded. Reading document is important to know the usage of new module/API.

    At the same time i do understand your concern.
    Unfortunately I agree with both of you

    1) It is MOST IMPORTANT to make installation as easy as possible for end users. They should need to install just one file, if any at all. Previously there has been way too many files to choose from.

    2) For developers & powerusers there should be a shortcut, possibility to select and install only individual files.

    These two goals are in conflict, hope you could figure out a way to fulfill both!

    Cheers,

    --jouni trying to install the 1.9.x branch in 5.0 emulator

  9. #9
    Wiki Moderators
    Join Date
    May 2007
    Location
    21.46 N 72.11 E
    Posts
    3,779

    Re: Python for S60 1.9.3 released

    I just checked out the documentation (I won't discuss about its type of delivery - I hate html pages - PDF was so good in the former releases).

    I didn't find any thing about the new features like - touch_enabled() is not there. However there is a separate document about touch feature (word document - should have been pdf again - but fine!).

    Is the documentation not supposed to be updated in the dot releases? Then it is unfair downloading it every time in the dot releases - its like 20MB.

    Moreover, the documentation seriously needs updating - how long would the old S60 2nd edition screenshots be there? It doesn't look elegant when compared to high end UI of the 3rd edition devices. Again, nice screenshots would encourage people - PyS60 would be more famous! So imo, documentation needs updating

    //Croozeus
    Pankaj Nathani
    www.croozeus.com

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

    Re: Python for S60 1.9.3 released

    I didn't find any thing about the new features like - touch_enabled() is not there. However there is a separate document about touch feature (word document - should have been pdf again - but fine!).

    Is the documentation not supposed to be updated in the dot releases? Then it is unfair downloading it every time in the dot releases - its like 20MB.
    Every time "Known Issues" section of the documentation is updated. This section displays the results of Python regression test suite run on Nokia devices. Only failed and expected skips test cases are mentioned in this section. With this release, scriptext and sensor module documentation is integrated.

    Touch is only a 3 pages document, we haven't yet looked at the possibilities of merging this with apuifw documentation.

    Moreover, the documentation seriously needs updating - how long would the old S60 2nd edition screenshots be there? It doesn't look elegant when compared to high end UI of the 3rd edition devices. Again, nice screenshots would encourage people - PyS60 would be more famous! So imo, documentation needs updating
    Very true, the images are not yet updated. we just converted pdf to html and integrated it with the mainline documentation. We will be updating the documentation in the upcoming releases

  11. #11
    Wiki Moderators
    Join Date
    May 2007
    Location
    21.46 N 72.11 E
    Posts
    3,779

    Re: Python for S60 1.9.3 released

    Quote Originally Posted by tvijayan View Post
    Very true, the images are not yet updated. we just converted pdf to html and integrated it with the mainline documentation. We will be updating the documentation in the upcoming releases
    Glad to know that!

    Many thanks for your concerns.
    Pankaj Nathani
    www.croozeus.com

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

    Re: Python for S60 1.9.3 released

    Quote Originally Posted by croozeus View Post
    Hi,

    Nice work!


    When is PyS60 1.9.4?

    //Croozeus
    Hello guys

    What a great PyS60 release !

    Each 24th of the month we have now a PyS60 release So next PyS60 1.9.4 on the 24th April 2009

    Now we have to download a huge package for installing sis files and look at dependencies folder for finding the correct sis files for my devices !

    I remarked that I can test sensor framework without signing myself PyS60 first as previous PyS60 1.9.2

    The platform framework is a great addition but only for 3rd FP2 and 5th edition Now we have the great platform framework already available for Web Widgets I noted that we have now many callback functions for monitoring many things that were impossible without it in PyS60

    PyS60 2.0.0 final in September ? Cross my fingers

    Best regard
    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

  13. #13
    Super Contributor
    Join Date
    Mar 2003
    Location
    Espoo, Finland
    Posts
    976

    Re: Python for S60 1.9.3 released

    5800 XpressMusic, RM-356 v20.0.012:

    Unable to install.
    Component is built-in.

    N82:

    Ok. Just surprised that I have to install Python script shell myself. After I managed to find it. Symbiansigned.com is down again, so no signing

    Btw this used to work in 1.4.5:
    ImportError: No module named TopWindow
    Also this used to work, how to fix:

    SyntaxError: Non-ASCII character '\xf4' in file ... but no encoding declared; see http//www.python.org/peps/pep-0263.html for details
    ...and why, oh WHY, do you keep insisting on using reverse alphabetical order when listing files in python shell? Is this some cultural thing?

    1.9.3 seems to support the old Sensor API in N82? Was expecting that it wouldn't work! Nice

    Hmph, python shell crashed, while I had "Run script" view open and uploaded files via PC Suite! Or something...

    Cannot import file from "current directory", must be something wrong with own code. Have to check later.. D*mn, crashed again: that load failure corrupted something in global variable namespace, now my timers are running but global variables are not recognized. Or something

    Huh, something got s-e-r-i-o-u-s-l-y slower! I'm running my script in debug mode, which generates a LOT of output into file, but in 1.4.5 it was still usable. Now the whole device just froze for 10+ seconds, in 1.4.5 it was just a sec... Debugging was hard already, with this freezing the debugging on hw gets close to impossible! What can you do if log files are out?

    PythonScriptShell crashed again... Standard System error (-50) again.

    Another crash, traceback refers to script I ran before the current one! I did exit it nicely, pressed RSK and got no error notes. Now next script crashed for no obvious own reason and traceback points to a weird place... Or otherwise my timers from previous script really are still running == exit didn't happen as in 1.4.5.

    Some weirdness, most likely env got messed up. Have to exit and try again:
    NameError: global name 'True' is not defined
    Systematic error note, so there is something in code which used to work with 1.4.5 but won't ever with 1.9.3. What to do with this non-ASCII stuff? A umlaut causes a crash:

    SyntaxError: Non-ASCII character '\xe4' in file etc.
    loc_four = u'neljä'
    Well, I know my python shell is not signed and this should not work, but error note seems weird (below). Would be nice, if there was a simple note saying that I miss 'x' capability to do 'y' operation.

    apid = socket.select_access_point()
    AttributeError: 'module' object has no attribute 'select_access_point'
    Now this is more like it:
    capturer.start()
    File "ext\amaretto\keycapture\src\keycapture.py, line 84 in start
    SymbianError: [Errno -46]
    KErrPermissionDenied
    Summary: many things work, but it's not at the same level as 1.4.x branch. Getting there steady, though! Looking forward to next version! Now hesitating, but very tempted by the appuifw touch support... Would face a lot of weird crashes, some mine, some maybe not. Debugging on hw is too painful. Won't dare to say how painful. Still tempted by the appuifw touch...

    Cheers,

    --jouni
    Last edited by JOM; 2009-03-26 at 09:29. Reason: juoni --> jouni :)

  14. #14
    Super Contributor
    Join Date
    Dec 2004
    Posts
    643

    Re: Python for S60 1.9.3 released

    Quote Originally Posted by JOM View Post
    5800 XpressMusic, RM-356 v20.0.012:

    Summary: many things work, but it's not at the same level as 1.4.x branch. Getting there steady, though! Looking forward to next version! Now hesitating, but very tempted by the appuifw touch support... Would face a lot of weird crashes, some mine, some maybe not. Debugging on hw is too painful. Won't dare to say how painful. Still tempted by the appuifw touch...
    Hey, please, please, pretty please: If you find a replicatable crash or error, file a bug report in the bug tracker! That's the only way they will get fixed.

  15. #15
    Wiki Moderators
    Join Date
    May 2007
    Location
    21.46 N 72.11 E
    Posts
    3,779

    Smile Re: Python for S60 1.9.3 released

    Quote Originally Posted by JOM View Post
    <snip>
    ...and why, oh WHY, do you keep insisting on using reverse alphabetical order when listing files in python shell? Is this some cultural thing?

    <snip>
    --juoni
    juoni?

    Answered earlier, but I also vote that it should be fixed.

    Quote Originally Posted by mahesh.sayibabu View Post
    Yes, this is true. Note that the Python core in PyS60 1.9.0 talks to OpenC libraries whereas, PyS60 1.4.x calls Symbian API's directly.
    There might be such differences because of this.
    //Croozeus
    Pankaj Nathani
    www.croozeus.com

Similar Threads

  1. Python for Series 60 released on Forum Nokia!
    By eriksmartt in forum Symbian
    Replies: 5
    Last Post: 2009-07-14, 17:00
  2. Python for S60 1.9.2 released
    By tvijayan in forum Symbian
    Replies: 26
    Last Post: 2009-03-11, 09:28
  3. Python for S60 1.9.1 released
    By tvijayan in forum Symbian
    Replies: 30
    Last Post: 2009-02-26, 06:16
  4. Python for S60 1.9.0 released
    By tvijayan in forum Symbian
    Replies: 48
    Last Post: 2009-01-27, 15:39
  5. Replies: 6
    Last Post: 2008-08-11, 18:32

Posting Permissions

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