[MacPorts] #38666: Unable to successfully import lightblue after installation
MacPorts
noreply at macports.org
Thu Apr 4 01:36:34 PDT 2013
#38666: Unable to successfully import lightblue after installation
-----------------------------+--------------------------------
Reporter: eroninjapan@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.3
Resolution: | Keywords:
Port: py27-lightblue |
-----------------------------+--------------------------------
Comment (by eroninjapan@…):
I ran the commands and the output is below. I'm now using MacPort's
Python27 but unfortunately I still encounter the same error when
attempting the import.
------------------------------
$ which python
/usr/bin/python
$ sudo port select python python27
Selecting 'python27' for 'python' succeeded. 'python27' is now active.
$ which python
/opt/local/bin/python
$ python
Python 2.7.3 (default, Nov 17 2012, 19:54:34)
[GCC 4.2.1 Compatible Apple Clang 4.1 ((tags/Apple/clang-421.11.66))] 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:
--
Ticket URL: <https://trac.macports.org/ticket/38666#comment:2>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list