stuck with PyOBEX
david at boddie.org.uk
Sat May 2 16:41:26 CEST 2009
On Saturday 02 May 2009 14:25, alejandro wrote:
> I am having problems with connect() it says that it doesn't have sendall
> Traceback (most recent call last):
> File "novi_pokusaj.py", line 25, in <module>
> 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
> AttributeError: BluetoothSocket instance has no attribute 'sendall'>>>
> Exit Code: 1
> Did you manage to run it under windows?
I haven't tried to run it under Windows. I just assumed that BluetoothSocket
would have the same API on both Linux and Windows.
Looking around, it seems that this is something we can work around:
I'll send you an updated version to try if you would like to test it.
More information about the Python-list