Re: Could not find org.bluez interface

Peter Wurmsdobler <[email protected]>
Newsgroups gmane.linux.bluez.user
Message-ID <[email protected]>
Hello Marcel,

> might be, but I don't have enough information to tell you. Can you get  
> the full error message. Or test it with a simple Python script.
Unfortunately I cannot really provide that much information, as the 
single error message comes from QTopia. So it is not a bluez issue, but 
I hope to get some hints.

Digging into the Qtopia 4.3 code, I see that the private part of the 
constructor of QBluetoothLocalDeviceManager contains a new 
QDBusInterface with the parameters mentioned before. Adding some log 
messages reveals:

Bluetooth : new QDBusInterface("org.bluez", "/org/bluez", 
"org.bluez.Manager", dbc);

Bluetooth : QDBusAbstractInterfacePrivate::QDBusAbstractInterfacePrivate 
dynamic

Bluetooth : QDBusAbstractInterfacePrivate::QDBusAbstractInterfacePrivate 
service =  "org.bluez"

Bluetooth : QDBusConnectionPrivate::getNameOwner:  service = "org.bluez"

Bluetooth : QDBusConnectionPrivate::getNameOwner:  message = 
QDBusMessage(type=MethodCall, service="org.freedesktop.DBus", 
path="/org/freedesktop/DBus", interface="org.freedesktop.DBus", 
member="GetNameOwner", signature="", contents=(QString("org.bluez")) )

Bluetooth : QDBusAbstractInterfacePrivate::QDBusAbstractInterfacePrivate 
currentOwner isEmpty, error = 
"org.freedesktop.DBus.Error.NameHasNoOwner"
Could not find org.bluez interface

Maybe you have an idea what is going wrong, and I will continue to dig 
deeper.

Regards,
peter


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.