please help me to debud my local chat network program

Chris Angelico rosuav at gmail.com
Wed Nov 28 09:21:14 EST 2012


On Thu, Nov 29, 2012 at 1:10 AM, Minh Dang <dangbaminh.it at gmail.com> wrote:
>   File "C:\Users\MINH_IT\workspace\project\src\project\client.py", line 60, in main
>     rQueue, wQueue, xQueue = select.select(inputs, [], [])
> OSError: [WinError 10038] An operation was attempted on something that is not a socket

Have a look at that line of code - specifically, look at what's in
inputs. One of them perhaps isn't a socket. Tip: The print function is
your friend.

ChrisA



More information about the Python-list mailing list