[MacPorts] #38666: Unable to successfully import lightblue after installation

MacPorts noreply at macports.org
Thu Apr 4 01:47:00 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  |
-----------------------------+--------------------------------
Description changed by ryandesign@…:

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

New 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:
 }}}

--

-- 
Ticket URL: <https://trac.macports.org/ticket/38666#comment:3>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list