(Redirected from PyS60 FAQs)

Archived:PySymbian FAQs

From Nokia Developer Wiki
Jump to: navigation, search

Archived.pngAquivado: Este artigo foi arquivado, pois o conteúdo não é mais considerado relevante para se criar soluções comerciais atuais. Se você achar que este artigo ainda é importante, inclua o template {{ForArchiveReview|escreva a sua justificativa}}.

All PySymbian articles have been archived. PySymbian is no longer maintained by Nokia and is not guaranteed to work on more recent Symbian devices. It is not possible to submit apps to Nokia Store.

Article Metadata
Created: croozeus (18 Oct 2008)
Last edited: hamishwillee (08 May 2013)

  • This page lists the FAQs for PySymbian. Please feel free to edit the page and add more FAQs where needed. Apparently, these FAQs would be moved to the Discussion boards, FAQ thread.


Where can I download the most recent PySymbian installation package?

From SourceForge.net. Other places (forum.nokia.com, opensource.nokia.com) have outdated versions.

I installed Python on my phone but there is no icon.

The Python runtime itself has no icon, so that you can have Python installed along with your application without confusing a casual user with superfluous icons. There's a separate package called Script Shell which provides the familiar text console Python has on other platforms. You can find the script shell package in the same place where you downloaded the Python runtime.

Where do I find some Code Examples and other Pys60 Extensions?

Code Examples and Archived:PySymbian C++ Extensions

How can I make a regular application out of a Python script (i.e. icon on the phone menu)?

A1: (2nd Edition devices, on Windows) py2sis in the PySymbian source package

A2: (2nd Edition devices, on Linux, Mac OS X) py2sisng

A3: (3rd Edition devices) Ensymble

NOTE: For all these, you still need the Python runtime installed on the phone for the PySymbian application to work.

I installed my application (packaged as SIS) but all it does is flash briefly and close.

PySymbian has some issues when a Python application is installed on a different drive (memory card or internal memory) than the Python runtime. It is suggested that both the PySymbian runtime and all Python application are installed in the internal memory. Ensymble has an option to force the installation drive of applications (--drive=C).

My program works wonderfully under the PySymbian Script Shell, but when I try to make a SIS file out of it using py2sis/py2sisng/Ensymble, it fails without warning. What gives?

A1: Stand-alone programs do not print Python exception backtraces, because there is no console by default. You can wrap your application in an exception harness to get a similar backtrace to the one from Script Shell. See a Nokia Developer PySymbian Wiki article for details.

A2: (3rd Edition devices only) The Script Shell has one set of capabilities and your SIS file has its own set. Capabilities set with Ensymble determine which features are available to your application. Try the --caps option after reading Ensymble README.txt.

(3rd Edition devices only) I used Open Signed Online to sign my application which uses capabilities that are not available to self signed applications. It still crashes when I try to use those features

You also need to set the capabilities when creating the package using Ensymble. For some reason, Open Signed Online does not auto-detect the set capabilities and requires you to re-enter them.

I heard about free developer certificates. Where can I get one?

Symbian used to give out IMEI-restricted developer certificates for free, but it no longer does that. To get a developer certificate, you need to register to get an ACS Publisher ID, which costs about $200 a year. See Symbian Signed for up-to-date information.

I get a certificate error while installing an extension. What do I do ?

Read this article : Archived:How to update an old PySymbian extension

I seem to have found a Bug / I have a feature request ! Where should I report it or add it ?

Bug reports, patches and feature requests:

Bugs: http://sourceforge.net/tracker/?group_id=154155&atid=790646

Patches: http://sourceforge.net/tracker/?group_id=154155&atid=790648

Feature requests: http://sourceforge.net/tracker/?group_id=154155&atid=790649

If you find a clear bug file it in SourceForge. That's where Bugs are tracked regularly, not every thread in the discussion board. If you post a bug report only in the DiBo, it might be missed.

When filing bugs, do include the device you used, its firmware version (you can see this by entering *#0000# in the idle screen), the PySymbian version and a minimal test case (if applicable).

Happy Pythoning !

This page was last modified on 8 May 2013, at 09:14.
49 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.


Thank you!

We appreciate your feedback.