Hi, I have Mac OS X Lion 10.7 running. I'm trying to use bluetooth with
python. I've installed the lightblue library as it seems to be the only way to
have easy access to bluetooth through python. However, when I do: import
lighblueI get this:Traceback (most recent call last): File "<stdin>", line 1,
in <module> File "/Library/Python/2.7/site-packages/lightblue/__init__.py",
line 160, in <module> from _lightblue import * File
"/Library/Python/2.7/site-packages/lightblue/_lightblue.py", line 27, in
<module> import _IOBluetooth File
"/Library/Python/2.7/site-packages/lightblue/_IOBluetooth.py", line 47, in
<module> globals=globals()) File
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC/objc/_bridgesupport.py",
line 142, in initFrameworkWrapper _parseBridgeSupport(data, globals,
frameworkName) File
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC/objc/_bridgesupport.py",
line 42, in _parseBridgeSupport objc.parseBridgeSupport(data, globals,
frameworkName, *args, **kwds)ValueError: cftype for
'IOBluetoothDeviceInquiryRef' must include gettypeid_func, tollfree or
bothLooking at:
/System/Library/Frameworks/IOBluetooth.framework/Versions/A/Resources/BridgeSupport/IOBluetooth.bridgesupportNo
cftypes declared in it have a gettypeid function or a tollfree. Anybody knows
what's wrong? I've checked other bridgesupport files and they also have the
same pattern (cftypes without gettypeid or tollfree).Thx.
_______________________________________________
Pythonmac-SIG maillist - [email protected]
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG