stuck with PyOBEX

alejandro aleksandar27 at brisiovonet.hr
Tue Apr 28 11:52:24 EDT 2009


So I installed the module and tryed to make it work but...
It gave me:

Traceback (most recent call last):
  File "first.py", line 24, in <module>
    client2.connect()
  File "C:\Python25\lib\PyOBEX\client.py", line 359, in connect
    return Client.connect(self, header_list = [headers.Target(uuid)])
  File "C:\Python25\lib\PyOBEX\client.py", line 119, in connect
    self.socket = socket.socket(socket.AF_BLUETOOTH, socket.SOCK_STREAM,
AttributeError: 'module' object has no attribute 'AF_BLUETOOTH'>>> Exit 
Code: 1


This module asks the socket module for AF_BLUETOOTH... in the socket module 
there is no such thing as AF_BLUETOOTH. Could it be that the person that 
made PyOBEX modified his socket module and forgot to give his socket module? 
Or am I missing something? Maybe AF_BLUETOOTH stands for something that a 
programmer would know but I am a beginner so...

Is there a OBEX module for Python on windows?





More information about the Python-list mailing list