I can confirm that even after installing python-pybluez and attempting
to import lightblue, I get the same error still. It's more than a
dependency problem at this point -- python-lightblue is actually
/broken/.

kryten:~$ dpkg --list |grep bluez
ii  bluez-audio                                3.26-0ubuntu6                    
                  Bluetooth audio support
ii  bluez-cups                                 3.26-0ubuntu6                    
                  Bluetooth printer driver for CUPS
ii  bluez-gnome                                0.25-0ubuntu1                    
                  Bluetooth utilities for GNOME
ii  bluez-utils                                3.26-0ubuntu6                    
                  Bluetooth tools and daemons
ii  python-bluez                               0.14-1ubuntu1                    
                  Python wrappers around BlueZ for rapid bluetooth
kryten:~$ python
Python 2.5.2 (r252:60911, Apr 21 2008, 11:12:42) 
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import lightblue
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/var/lib/python-support/python2.5/lightblue/__init__.py", line 163, in 
<module>
    from _lightblue import *
  File "/var/lib/python-support/python2.5/lightblue/_lightblue.py", line 29, in 
<module>
    "cannot find PyBluez 'bluetooth' module: " + str(e))
ImportError: LightBlue requires PyBluez to be installed, cannot find PyBluez 
'bluetooth' module: No module named _bluetooth

Ubuntu release:
kryten:~$ lsb_release -rd
Description:    Ubuntu 8.04
Release:        8.04

python-lightblue version:
kryten:~$ apt-cache policy python-lightblue
python-lightblue:
  Installed: 0.2-3
  Candidate: 0.2-3
  Version table:
 *** 0.2-3 0
        500 http://uk.archive.ubuntu.com hardy/universe Packages
        100 /var/lib/dpkg/status

python-bluez version:
kryten:~$ apt-cache policy python-bluez
python-bluez:
  Installed: 0.14-1ubuntu1
  Candidate: 0.14-1ubuntu1
  Version table:
 *** 0.14-1ubuntu1 0
        500 http://uk.archive.ubuntu.com hardy/main Packages
        100 /var/lib/dpkg/status

-- 
Error importing lightblue
https://bugs.launchpad.net/bugs/224003
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to