Opened 11 years ago

Last modified 10 years ago

#38666 closed defect

Unable to successfully import lightblue after installation — at Initial Version

Reported by: eroninjapan@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc:
Port: py-lightblue

Description

I'm running OSX 10.8.3 and have included the error message as well as steps to reproduce below.


sudo port selfupdate

sudo port install py27-lightblue

$ python

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:

Change History (0)

Note: See TracTickets for help on using tickets.