Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

select() exception

By: a guest on Nov 3rd, 2011  |  syntax: None  |  size: 0.63 KB  |  hits: 38  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Traceback (most recent call last):
  2.   File "./main.py", line 149, in <module>
  3.     run_client_pool(123, clients)
  4.   File "./main.py", line 47, in run_client_pool
  5.     client_connection.spin_once(thread_id)
  6.   File "/home/pavel/client-emulator/client_emulator/client_connection.py", line 124, in spin_once
  7.     asyncore.loop(timeout=1, use_poll=USE_POLL, map=clients_pool[thread_id], count=1)
  8.   File "/usr/lib/python2.7/asyncore.py", line 220, in loop
  9.     poll_fun(timeout, map)
  10.   File "/usr/lib/python2.7/asyncore.py", line 145, in poll
  11.     r, w, e = select.select(r, w, e, timeout)
  12. ValueError: filedescriptor out of range in select()
  13.  
  14.