Connection closed err in code. Dbus-send works fine though

Simon McVittie simon.mcvittie at
Tue Jul 26 09:34:57 PDT 2011

On Tue, 26 Jul 2011 at 09:02:48 -0700, PookieMonster wrote:
> reply is coming back NULL and err is set so I get this output:
> [Bluetooth] Can't get default adapter
> [Bluetooth] Connection is closed

Your DBusConnection has probably already closed (to confirm, you usually want
to print as well as err.message in debug output, to tell you which
machine-readable error code was produced).

Don't send method calls to a connection that has already been disconnected,
and you'll have more success :-)


More information about the dbus mailing list