Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to successfully import lightblue after installation #2

Open
eroninjapan opened this issue Apr 6, 2013 · 0 comments
Open

Unable to successfully import lightblue after installation #2

eroninjapan opened this issue Apr 6, 2013 · 0 comments

Comments

@eroninjapan
Copy link

I'm running OSX 10.8.3 and encounter an error when trying to import the library.

Python 2.7.2 (default, Oct 11 2012, 20:14:37) 
[GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)] on darwin
Type "help", "copyright", "credits" or "license" for more information.

import lightblue

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/lightblue/__init__.py", line 160, in <module>
    from _lightblue import *
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/lightblue/_lightblue.py", line 398, in <module>
    class _AsyncDeviceInquiry(Foundation.NSObject): 
TypeError: Error when calling the metaclass bases
    class _AsyncDeviceInquiry does not fully implement protocol IOBluetoothDeviceInquiryDelegate: no implementation for deviceInquiryDeviceNameUpdated:device:devicesRemaining:
bartoszkopinski pushed a commit to bartoszkopinski/lightblue-0.4 that referenced this issue Jan 13, 2014
fixed a missing statement that disallowed importing of unpair()
bartoszkopinski pushed a commit to bartoszkopinski/lightblue-0.4 that referenced this issue Jan 13, 2014
…lementations.

This patch is from: <pipt@601beb5>

I tested that it works with 10.8.2 and our current libpebble readme already states use with 10.8.3+ is required.

Without this patch 10.8.2 does not work either. This suggests that all versions of 10.8 might require the patch and given we only explicitly support 10.8 then I think we should just pull the patch into our master. (This would also mean we don't need to redirect people to <https://github.com/pipt/lightblue-0.4/>.)

Related issues/patches:

 * <0-1-0#2>

 * <0-1-0#3>

 * <0-1-0#4>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant