using dbus to send messages

Dipankar Sarkar dipankarsarkar at
Thu Jun 5 10:31:16 EDT 2008


I have been trying to end messages via dbus using the following python code

 obj = bus.get_object("im.pidgin.purple.PurpleService",
purple = dbus.Interface(obj, "im.pidgin.purple.PurpleInterface")
acc = purple.PurpleAccountsFind('account at','prpl-jabber')**
conversation = purple.PurpleConversationNew(1,acc,"dipankarsarkar at")
im = purple.PurpleConversationGetImData(conversation)

I have an gmail account which is logged in through the nullclient, this
extract is from an which i found in an earlier mail of the
mailing list.

I am unable to figure out why this piece of code refuses to send an IM ...
the ccount object is empty when i run it  ... dbus is working (i get an

Dipankar Sarkar

Cell: +91-981-145-2098 | email: dipankarsarkar at
web: |blog:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Devel mailing list