Message get from terminal is below:
Traceback (most recent call last):
File "boobee.py", line 122, in <module>
File "boobee.py", line 59, in Broadcast
State = Send_File(client_bdaddr,file_path)
File "/home/boobee/Desktop/sigleFile/file_trans.py", line 46, in Send_File
File "/usr/lib/python2.5/site-packages/lightblue/_obex.py", line 253, in sendfile
resp = client.put(headers, fileobj)
File "/usr/lib/python2.5/site-packages/lightblue/_obex.py", line 93, in put
File "/usr/lib/python2.5/site-packages/lightblue/_obex.py", line 166, in __checkconnected
NameError: global name '_kOBEXSessionNotConnectedError' is not defined
this error is rarely occurs,but when it happened,the program is broken!
Thanks, this is a bug. It will be fixed in the next release.
Thanks,I'll take a try to fix it too.
The problem is that _kOBEXSessionNotConnectedError shouldn't be there. This exception is only being raised if connect() is failing for some reason.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.