Aeva / slocky

Stupid simple json based communication system for python.
GNU General Public License v3.0
0 stars 0 forks source link

Traceback from server #10

Open tsyesika opened 10 years ago

tsyesika commented 10 years ago

Discovered earlier when me and @Aeva were chatting on it. I don't recall anything in particular which caused the error but I got a traceback and a server restart was required to be able to chat again. Traceback:

Traceback (most recent call last):
  File "server.py", line 59, in <module>
    s.loop_forever()
  File "server.py", line 45, in loop_forever
    self.process_events()
  File "/home/Jessica/slocky/slocky/server.py", line 307, in process_events
    client.cycle()
  File "/home/Jessica/slocky/slocky/server.py", line 68, in cycle
    new_data = self.sock.read()
  File "/usr/lib/python2.6/ssl.py", line 136, in read
    return self._sslobj.read(len)
AttributeError: 'NoneType' object has no attribute 'read'