While working on the Woodchuck support in gPodder , I decided to profile the code. Reading the Python manual , I thought it would be as easy as: import cProfile cProfile.run(‘foo()’) On both Debian and Maemo, this results in an import error: Traceback (most recent call last): File ” “, line 1, in File “/usr/lib/python2.6/cProfile.py”, line 36, in run result = prof.print_stats(sort) File “/usr/lib/python2.6/cProfile.py”, line 80, in print_stats import pstats ImportError: No module named pstats To my eyes, this looks like I need to install some package. This is indeed the case: the python-profiler package provides the pstats module.
The following text is from the introduction of the HOWTO I’ve written explaining how to modify a program to use Woodchuck. The focus is on the Python interface, but it should be helpful to anyone who wants to modify an application to use Woodchuck. This document, unlike the detailed documentation , should be a bit easier to digest if you are just getting started with Woodchuck.
A couple of weeks ago, I was chatting with Michael Banck about DebConf. He told me that one of the sponsors provided everyone a SIM card with 5 units of credit, and that the first time he established a data connection was also his last: he got bit by Maemo’s automatic repository update misfeature ; because, he had gone more than 24 hours without checking for software updates, Maemo checked even though he was using a cellular data connection and only had a few megabytes worth of data transfer credit. A simple workaround for this bug is to disable updates .
Tracker writes back certain metadata to your files. It for example writes back in XMP the title of a JPeg file, among other fields that XMP supports
In harmattan, if you want to access certain resources (E.G. Tracker) you need to ask for permission to the Security FW.