Hi,
since i've problems to keep the connection on sending the command with
dbus-send (see the trhread above), i'm trying with a simple python
script. I've tried other icd commands and I had no problems, but the
connect method does not work:

osso_c.rpc_run("com.nokia.icd", "/com/nokia/icd", "com.nokia.icd",
"connect", rpc_args = ("myap", 0, 0), wait_reply = True,
use_system_bus=True)
Traceback (most recent call last):
 File "<stdin>", line 1, in ?
osso.OssoRPCException: Unsupported interface or method

I think this is due to the fact that the two 0s are signed, while the
interface of connect takes two uint32 params. Is there a way to force
the type of the parameters?

I don't want to directly use the dbus bindings of python since I've
found there are few memory leaks that make them unusable for long
running applications

--
Fabio Forno, PhD
Istituto Superiore Mario Boella
Jabber ID: xmpp:[EMAIL PROTECTED]
** Try Jabber http://www.jabber.org
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers

Reply via email to