Disconnected in DBusConnection.getConnection

Janne Kario janne.kario at gmail.com
Tue Sep 9 13:19:37 PDT 2008


On Tue, Sep 9, 2008 at 5:18 PM, Colin Walters <walters at verbum.org> wrote:

> The "Hello" message is a special part of the protocol handshake; I
> don't think it's permitted to call it after a connection has been
> established.  At least this program fails:
> python -c "import dbus;
> bus=dbus.SystemBus().get_object('org.freedesktop.DBus',
> '/org/freedesktop/DBus'); print dbus.Interface(bus,
> 'org.freedesktop.DBus').Hello()"

I'm not trying to call Hello. Hello call occurs when I try to
initialize DBusConnection (dbus-java handles the dbus protocol
handshake internally). The handshake fails with Disconnected signal.

Debug log

http://pastebin.com/m1e955951


More information about the dbus mailing list