Editing PyMaemo/FAQ

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 5: Line 5:
== What is PyMaemo? ==  
== What is PyMaemo? ==  
-
[[PyMaemo]] is the Python distribution for Nokia's Linux-based Maemo devices, providing a comprehensive set of platform bindings for rapid application development.
+
PyMaemo is the Python distribution for Nokia's Linux-based Maemo devices, providing a comprehensive set of platform bindings for rapid application development.
== What is Nokia's role in PyMaemo? ==
== What is Nokia's role in PyMaemo? ==
-
Development and maintenance of PyMaemo is partially funded by Nokia. The project is community-supported and not part of the official [[Documentation/Maemo 5 Developer Guide/Development Environment/Maemo SDK|Maemo SDK]], providing us openness and flexibility of being able to continuously improve the packages using the maemo.org infrastructure instead of relying on the periodic SDK releases.
+
Development and maintenance of PyMaemo is partially funded by Nokia. The project is community-supported and not part of the official Maemo SDK, providing us openness and flexibility of being able to continuously improve the packages using the maemo.org infrastructure instead of relying on the periodic SDK releases.
== Does PyMaemo come installed by default? ==
== Does PyMaemo come installed by default? ==
Line 19: Line 19:
In order to keep the platform small and easy to support, PyMaemo only comes with the most commonly used packages.
In order to keep the platform small and easy to support, PyMaemo only comes with the most commonly used packages.
-
== Why do I get errors like “ImportError: No module named xyz” even though module xyz is installed under /usr/lib/python2.5 in Scratchbox? ==
+
== Why do I get the error <put some error message here> in Scratchbox? ==
Inside Scratchbox, if you call just “python” it will run the internal Python interpreter used by Scratchbox (/scratchbox/tools/bin/python), which is at the moment version 2.3. This interpreter will not see any modules installed inside your target.
Inside Scratchbox, if you call just “python” it will run the internal Python interpreter used by Scratchbox (/scratchbox/tools/bin/python), which is at the moment version 2.3. This interpreter will not see any modules installed inside your target.
Line 27: Line 27:
== When I build my Python application on Scratchbox, files are installed in /scratchbox/... How do I modify Debian packaging so the correct Python interpreter is called? ==
== When I build my Python application on Scratchbox, files are installed in /scratchbox/... How do I modify Debian packaging so the correct Python interpreter is called? ==
-
You can try adding these lines to the beginning of your <code>debian/rules</code> (after the first “#!/usr/bin/make -f” line):
+
You can try adding these lines to the beginning of your debian/rules (after the first “#!/usr/bin/make -f” line):
-
<source lang="make">
+
PATH := /usr/bin:$(PATH)
-
PATH := /usr/bin:$(PATH)
+
export PATH
-
SBOX_REDIRECT_IGNORE := $(SBOX_REDIRECT_IGNORE):/usr/bin/python
+
SBOX_REDIRECT_IGNORE = /usr/bin/python
-
export PATH SBOX_REDIRECT_IGNORE
+
export SBOX_REDIRECT_IGNORE
-
</source>
+
If that still does not work, please post your error messages to our mailing list.
If that still does not work, please post your error messages to our mailing list.
-
 
-
[[Category:Python]]
 

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)