dpallot / simple-websocket-server

A python based websocket server that is simple and easy to use.
950 stars 320 forks source link

traceback on use #91

Closed kdschlosser closed 5 years ago

kdschlosser commented 5 years ago

I am getting this traceback when attempting to use this library,

System information

Windows: version: 7 build: 6.1.7601 revision: SP1 architecture: x64

Python: version: 3.5.4 revision: 40e5316803 compiler: MSC v.1900 64 bit (AMD64) build: v3.5.4-slp-1-g40e5316803:40e5316803 build date: Oct 1 2017 23:23:05 architecture: x64 flavor: Stackless (CPython)

Traceback

Traceback (most recent call last):
  File "C:\Stackless35\lib\threading.py", line 914, in _bootstrap_inner
    self.run()
  File "C:\Stackless35\lib\threading.py", line 862, in run
    self._target(*self._args, **self._kwargs)
  File "C:\Users\******\Desktop\New folder (25)\SimpleWebSocketServer\SimpleWebSocketServer.py", line 678, in serveforever
    self.serveonce()
  File "C:\Users\******\Desktop\New folder (25)\SimpleWebSocketServer\SimpleWebSocketServer.py", line 618, in serveonce
    rList, wList, xList = select(self.listeners, writers, self.listeners, self.selectInterval)
ValueError: file descriptor cannot be a negative integer (-1)
kdschlosser commented 5 years ago

never mind I got it sorted.