Is it a Bug?

xu long
  • xu long

    xu long - 2008-06-21

    Message get from terminal is below:

    Traceback (most recent call last):
      File "", line 122, in <module>
      File "", line 59, in Broadcast
        State = Send_File(client_bdaddr,file_path)
      File "/home/boobee/Desktop/sigleFile/", line 46, in Send_File
      File "/usr/lib/python2.5/site-packages/lightblue/", line 253, in sendfile
        resp = client.put(headers, fileobj)
      File "/usr/lib/python2.5/site-packages/lightblue/", line 93, in put
      File "/usr/lib/python2.5/site-packages/lightblue/", line 166, in __checkconnected
        raise OBEXError(_kOBEXSessionNotConnectedError,
    NameError: global name '_kOBEXSessionNotConnectedError' is not defined

    this error is rarely occurs,but when it happened,the program is broken!

    • blam

      blam - 2008-06-22

      Thanks, this is a bug. It will be fixed in the next release.

    • xu long

      xu long - 2008-06-23

      Thanks,I'll take a try to fix it too.

      • blam

        blam - 2008-06-27

        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.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks