0-1-0 / lightblue-0.4

LightBlue python module that compiles successful on OS X 10.8 (Mountain Lion)
GNU General Public License v3.0
95 stars 92 forks source link

Import error #5

Open BognarB opened 11 years ago

BognarB commented 11 years ago

Hi Guys,

After install lightblue i got this:

Traceback (most recent call last): File "", line 1, in File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/lightblue/init.py", line 160, in from _lightblue import * File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/lightblue/_lightblue.py", line 297, in class _SDPQueryRunner(Foundation.NSObject): objc.error: _SDPQueryRunner is overriding existing Objective-C class

any ideia?

ghost commented 11 years ago

I had the same problem...

filloz commented 11 years ago

same here

victorfontes commented 10 years ago

Same here. Any ideas?

fthornton67 commented 10 years ago

+1 for those that follow I commented out the class.

Best Regards

aodock commented 9 years ago

i get different error,..

In [1]: import lightblue
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/objc/_bridgesupport.py:643: RuntimeWarning: Error parsing BridgeSupport data for IOBluetooth: PyObjCRT_SkipTypeSpec: Got '0x29' at end of union encoding, expecting '0x29'
  warnings.warn("Error parsing BridgeSupport data for %s: %s" % (frameworkName, e), RuntimeWarning)
gmsanchez commented 9 years ago

@aodock, I think the error you get has to do with this: https://bitbucket.org/ronaldoussoren/pyobjc/issue/111/cant-import-lightblue-with-macport-or

aodock commented 9 years ago

@gmsanchez , Thank you. Actually it took a while to figure out what was been said exactly in that link,.. Finally this did helped.