[maemo-developers] [maemo-developers] PyMaemo and modules left out.

From: Luciano M. Wolf lucianomw at gmail.com
Date: Wed Jan 31 14:36:10 EET 2007
On 1/31/07, Simo Hosio <zion at ee.oulu.fi> wrote:
> Hi,
> I am starting to develop a middleware for Maemo with Python. However, there
> are numerous python modules I'd like to utilize in my work, e.g. xmlrpc
> server side. This is only available in the SDK, I realize. What is the
> reason for having some modules only there? I mean, I understand that they
> are heavy and generate overhead, but doesn't this only make developing with
> Python harder? Since the scripts / code one develops, won't work directly
> in the device? Couldn't find answer to this..and I am quite unexperienced
> with both, python and Maemo anyway..
> And furthermore, if the efficiency and efficiency of the software is not my
> greatest concern, is it a big sin just grabbing the libs / sources and just
> importing them to the device? Or will I have some other problems if I do
> that? Any opinions? (Or, knowledge even;)
> Br,
> Simo

Hi Simo,

The SDK and device use the same python packages. The problem seems to
be that you don't have python2.5-dev installed in your device, which
is the default configuration. This dev package provides xmlrpc
capabilities. To install it open a xterm session in your N800, gain
root access (sudo /usr/sbin/gainroot) and install the package (apt-get
install python2.5-dev). After this, remember to logout from gainroot
typing "exit". We will add these steps to the PyMaemo[1] website as
soon as possible. Hope to be usefull and welcome "new pymaemo user" :)



More information about the maemo-developers mailing list