stuck with PyOBEX

alejandro aleksandar27 at brisiovonet.hr
Sat May 2 08:25:29 EDT 2009


I am having problems with connect() it says that it doesn't have sendall 
atribute.

Error:

Traceback (most recent call last):
  File "novi_pokusaj.py", line 25, in <module>
    client.connect()
  File "C:\Python25\lib\PyOBEX\client.py", line 356, in connect
    return Client.connect(self, header_list = [headers.Target(uuid)])
  File "C:\Python25\lib\PyOBEX\client.py", line 127, in connect
    response = self._send_headers(request, header_list, max_length)
  File "C:\Python25\lib\PyOBEX\client.py", line 81, in _send_headers
    self.socket.sendall(request.encode())
AttributeError: BluetoothSocket instance has no attribute 'sendall'>>> Exit 
Code: 1


Did you manage to run it under windows? 





More information about the Python-list mailing list