openatx-archive / atx-webide

Deprecated
41 stars 22 forks source link

运行代码错误 #26

Open codeskyblue opened 7 years ago

codeskyblue commented 7 years ago
2017-03-29 13:17:34.495 INFO  [webide: 254] Save manual code
2017-03-29 13:17:36.031 INFO  [webide: 225] WebSocket closed
ERROR:tornado.application:Future exception was never retrieved: Traceback (most recent call last):
  File "C:\Python27\lib\site-packages\tornado\gen.py", line 1014, in run
    yielded = self.gen.throw(*exc_info)
  File "D:\Workdir\atx-webide\atxweb\server.py", line 220, in on_message
    yield self.run_python_code(code)
  File "C:\Python27\lib\site-packages\tornado\gen.py", line 1008, in run
    value = future.result()
  File "C:\Python27\lib\site-packages\concurrent\futures\_base.py", line 398, in result
    return self.__get_result()
  File "C:\Python27\lib\site-packages\concurrent\futures\thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "D:\Workdir\atx-webide\atxweb\server.py", line 164, in run_python_code
    self.write_lineno(line[10:])
  File "D:\Workdir\atx-webide\atxweb\server.py", line 138, in write_lineno
    self.write_message({'type': 'lineno', 'lineno': lineno})
  File "C:\Python27\lib\site-packages\tornado\websocket.py", line 215, in write_message
    raise WebSocketClosedError()
WebSocketClosedError