This problem can be fixed by simply fixing all references to
"_bluetooth" with "bluetooth._bluetooth". I've attached a patch that
solves the problem (the offending file is simply the _lightblue.py
file).

Please note, that the version of python-lightblue included in Ubuntu
8.04 is very old at this point, and too old for the python-bluez module
included in Hardy. Current version in Hardy is 0.2-3 while upstream is
at 0.3.2. I've confirmed that the upstream version fixes the problem by
pulling down the source from their site, recompiling, and testing an
OBEX connection.

it would be preferable to simply update the package with the upstream
version if at all possible, rather than applying the attached patch, as
much functionality is missing between the existing version and upstream.


** Attachment added: "Fix the imports in _lightblue.py"
   http://launchpadlibrarian.net/14504230/fix-import-error.patch

-- 
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