[Pkg-bluetooth-maintainers] Bug#457990: lookup name fails (dbus api works)

Matthias Bläsing matthias.blaesing at rwth-aachen.de
Thu Dec 27 19:06:16 UTC 2007


Package: python-bluez
Version: 0.9.2-1
Severity: normal

--- Please enter the report below this line. ---

Hello,

I'm migrating away from the python-bluetooth api. One of the things that
were still directly using bluez via the python bindings were the lookup
of the device name:

mblaesing at prometheus:~$ python
Python 2.4.4 (#2, Aug 16 2007, 02:03:40) 
[GCC 4.1.3 20070812 (prerelease) (Debian 4.1.2-15)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import bluetooth
>>> bluetooth.lookup_name('00:1D:28:72:38:BC', 1)
>>> 

as you can see this does not work any longer.

The dbus api works as expected:

mblaesing at prometheus:~$ dbus-send --system --type=method_call
--print-reply --dest=org.bluez /org/bluez/hci0
org.bluez.Adapter.GetRemoteName string:'00:1D:28:72:38:BC'
method return sender=:1.4 -> dest=:1.167 reply_serial=2
   string "K810i"
mblaesing at prometheus:~$ 

Thanks

Matthias

--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.23

Debian Release: lenny/sid
  500 unstable        www.debian-multimedia.org 
  500 unstable        opensync.gforge.punktart.de 
  500 unstable        ftp.informatik.rwth-aachen.de 
  500 unstable        ftp.de.debian.org 
  500 testing         ftp.informatik.rwth-aachen.de 
  500 testing         ftp.de.debian.org 
  500 feisty          wine.budgetdedicated.com 
    1 experimental    ftp.de.debian.org 

--- Package information. ---
Depends             (Version) | Installed
=============================-+-===========
python-central     (>= 0.5.8) | 0.5.15
python               (<< 2.6) | 2.4.4-6
python               (>= 2.4) | 2.4.4-6
libbluetooth2        (>= 3.0) | 3.22-1
libc6              (>= 2.6-1) | 2.7-5

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://lists.alioth.debian.org/pipermail/pkg-bluetooth-maintainers/attachments/20071227/dd3141eb/attachment.pgp 


More information about the Pkg-bluetooth-maintainers mailing list