Re: Problem Running Bluez Tests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Johan,

On Mon, Mar 25, 2013 at 12:23 PM, Johan Hedberg <johan.hedberg@xxxxxxxxx> wrote:
> Hi Brendan,
>
> On Mon, Mar 25, 2013, Brendan West wrote:
>  ./test-heartrate -i hci1 -b FC:4E:09:DC:68:44
>> Traceback (most recent call last):
>> File "./test-heartrate", line 62, in <module>
>> managed_objects = bluezutils.get_managed_objects()
>> File "/home/user/Downloads/bluez-5.2/test/bluezutils.py", line 11, in
>> get_managed_objects
>> return manager.GetManagedObjects()
>> File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 70, in __call__
>> return self._proxy_method(*args, **keywords)
>> File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__
>> **keywords)
>> File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651,
>> in call_blocking
>> message, timeout)
>> dbus.exceptions.DBusException:
>> org.freedesktop.DBus.Error.UnknownMethod: Method "GetManagedObjects"
>> with signature "" on interface "org.freedesktop.DBus.ObjectManager"
>> doesn't exist
>
> This sounds like you still have an old (4.x) bluetoothd running. You'll
> need to stop it and start the one you compiled from the 5.x tree. Also
> be sure to install a new D-Bus policy (src/bluetooth.conf to
> /etc/dbus-1.system.d/) since a lot of interface names have changed since
> 4.x.
>
> Johan

That sounds like it could be the problem.  However, shouldn't the old
bluetoothd stop and the new one start when I reboot the Raspberry Pi?
Or do I actually have to do it manually?  If the latter, can you
explain how to do so (I am not sure how two different versions can be
installed at the same time..I was under the impression that a normal
install of the new would overwrite the old).

As for the D-Bus policy, I'm afraid that I am still not sure how to do
that one either..  I have updated D-Bus using apt-get, but you seem to
be referring to something else..  Would you mind explaining further?

Thanks for your help, and I apologize for being  completely clueless
to what you are talking about..I've only been using Linux for a short
time haha.  Thanks again.

Brendan West
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux