When running one of the examples I run into the following error:
$pythonsimple_server.py/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/lightblue/_bluetoothsockets.py:42:DeprecationWarning:thesetsmoduleisdeprecatedimportsets# python 2.3Traceback(mostrecentcalllast):File"simple_server.py",line8,in<module>sock.bind(("",0))# bind to 0 to bind to a dynamically assigned channelFile"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/lightblue/_bluetoothsockets.py",line297,inbindaddress=(address[0],_getavailableport(self.__conn.proto))File"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/lightblue/_bluetoothsockets.py",line62,in_getavailableportresult,channelID,servicerecordhandle=BBServiceAdvertiser.addRFCOMMServiceDictionary_withName_UUID_channelID_serviceRecordHandle_(BBServiceAdvertiser.serialPortProfileDictionary(),"DummyService",None)TypeError:Need5arguments,got3
It seems like the call to BBServiceAdvertiser.addRFCOMMServiceDictionary_<snip> does not return a tuple but the int value "-536870199" which causes the exception "'int' object is not iterable" to be thrown.
Any ideas on how to fix this?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2011-02-06
Are there any news or updates related to this topic - i am having the same error!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2011-06-06
I also have the same error. Is this project dead?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When running one of the examples I run into the following error:
It seems like the call to BBServiceAdvertiser.addRFCOMMServiceDictionary_<snip> does not return a tuple but the int value "-536870199" which causes the exception "'int' object is not iterable" to be thrown.
Any ideas on how to fix this?
Are there any news or updates related to this topic - i am having the same error!
I also have the same error. Is this project dead?