Hi, I'm trying to do what the battery applet does when clicked but from a simple python program, mixing information from various places:
http://maemo.org/platform/docs/pymaemo/pyosso_context.html http://maemo.org/platform/docs/python-bora/python_maemo_howto.html http://maemo.org/pipermail/maemo-developers/2007-March/009300.html Looks like the documented system_bus is not available for rpc_run: $ python Python 2.5 (r25:10194M, Feb 23 2007, 15:35:52) [GCC 3.4.4 (release) (CodeSourcery ARM 2005q3-2)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import osso >>> osso_c = osso.Context("osso_test_sender", "0.0.1", False) >>> osso_rpc = osso.Rpc(osso_c) >>> osso_rpc.rpc_run("com.nokia.bme.request","/com/nokia/bme/request","com.nokia.bme.request","timeleft_info_req",wait_reply=True,system_bus=True) Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: 'system_bus' is an invalid keyword argument for this function (I've no knowledge of dbus and osso it may show :). Thanks in advance, Laurent On Wed, 2007-03-28 at 13:05 +0300, [EMAIL PROTECTED] wrote: > Hi, > > Maemo tutorial and how-to documention are in > http://maemo.org/platform/docs/how-to.html. There exists API > documentation as well on > http://maemo.org/platform/docs/api-index.html. So the question is are > they good enough, what could be improved, any bugs, two few examples > or specs, wrong format, or other things that are on your way to block > hacking on some area or on a particular topic? Thanks, already in > advance! > > Regards, > JP > > _______________________________________________ > maemo-developers mailing list > [email protected] > https://maemo.org/mailman/listinfo/maemo-developers _______________________________________________ maemo-developers mailing list [email protected] https://maemo.org/mailman/listinfo/maemo-developers
