Hi, I am using it on a Pi Zero W with the latest Stretch/Kernel versions. Everything was fine a year ago and now I am getting these error messages. Any idea where they come from and how to fix them?
Exception happened during processing of request from ('10.0.1.27', 58305)
Traceback (most recent call last):
File "/usr/lib/python2.7/SocketServer.py", line 596, in process_request_thread
self.finish_request(request, client_address)
File "/usr/lib/python2.7/SocketServer.py", line 331, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/home/pi/python-websocket-server-master/websocket_server/websocket_server.py", line 167, in init
StreamRequestHandler.init(self, socket, addr, server)
File "/usr/lib/python2.7/SocketServer.py", line 654, in init
self.finish()
File "/home/pi/python-websocket-server-master/websocket_server/websocket_server.py", line 328, in finish
self.server._clientleft(self)
File "/home/pi/python-websocket-server-master/websocket_server/websocket_server.py", line 146, in _clientleft
self.client_left(client, self)
File "server.py", line 11, in client_left
print("Client(%d) disconnected" % client['id'])
TypeError: 'NoneType' object has no attribute 'getitem'
Exception happened during processing of request from ('10.0.1.27', 58308)
Traceback (most recent call last):
File "/usr/lib/python2.7/SocketServer.py", line 596, in process_request_thread
self.finish_request(request, client_address)
File "/usr/lib/python2.7/SocketServer.py", line 331, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/home/pi/python-websocket-server-master/websocket_server/websocket_server.py", line 167, in init
StreamRequestHandler.init(self, socket, addr, server)
File "/usr/lib/python2.7/SocketServer.py", line 654, in init
self.finish()
File "/home/pi/python-websocket-server-master/websocket_server/websocket_server.py", line 328, in finish
self.server._clientleft(self)
File "/home/pi/python-websocket-server-master/websocket_server/websocket_server.py", line 146, in _clientleft
self.client_left(client, self)
File "server.py", line 11, in client_left
print("Client(%d) disconnected" % client['id'])
TypeError: 'NoneType' object has no attribute 'getitem'
Exception happened during processing of request from ('10.0.1.27', 58313)
Traceback (most recent call last):
File "/usr/lib/python2.7/SocketServer.py", line 596, in process_request_thread
self.finish_request(request, client_address)
File "/usr/lib/python2.7/SocketServer.py", line 331, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/home/pi/python-websocket-server-master/websocket_server/websocket_server.py", line 167, in init
StreamRequestHandler.init(self, socket, addr, server)
File "/usr/lib/python2.7/SocketServer.py", line 654, in init
self.finish()
File "/home/pi/python-websocket-server-master/websocket_server/websocket_server.py", line 328, in finish
self.server._clientleft(self)
File "/home/pi/python-websocket-server-master/websocket_server/websocket_server.py", line 146, in _clientleft
self.client_left(client, self)
File "server.py", line 11, in client_left
print("Client(%d) disconnected" % client['id'])
TypeError: 'NoneType' object has no attribute 'getitem'
Hi, I am using it on a Pi Zero W with the latest Stretch/Kernel versions. Everything was fine a year ago and now I am getting these error messages. Any idea where they come from and how to fix them?
Exception happened during processing of request from ('10.0.1.27', 58305) Traceback (most recent call last): File "/usr/lib/python2.7/SocketServer.py", line 596, in process_request_thread self.finish_request(request, client_address) File "/usr/lib/python2.7/SocketServer.py", line 331, in finish_request self.RequestHandlerClass(request, client_address, self) File "/home/pi/python-websocket-server-master/websocket_server/websocket_server.py", line 167, in init StreamRequestHandler.init(self, socket, addr, server) File "/usr/lib/python2.7/SocketServer.py", line 654, in init self.finish() File "/home/pi/python-websocket-server-master/websocket_server/websocket_server.py", line 328, in finish self.server._clientleft(self) File "/home/pi/python-websocket-server-master/websocket_server/websocket_server.py", line 146, in _clientleft self.client_left(client, self) File "server.py", line 11, in client_left print("Client(%d) disconnected" % client['id']) TypeError: 'NoneType' object has no attribute 'getitem'
Exception happened during processing of request from ('10.0.1.27', 58308) Traceback (most recent call last): File "/usr/lib/python2.7/SocketServer.py", line 596, in process_request_thread self.finish_request(request, client_address) File "/usr/lib/python2.7/SocketServer.py", line 331, in finish_request self.RequestHandlerClass(request, client_address, self) File "/home/pi/python-websocket-server-master/websocket_server/websocket_server.py", line 167, in init StreamRequestHandler.init(self, socket, addr, server) File "/usr/lib/python2.7/SocketServer.py", line 654, in init self.finish() File "/home/pi/python-websocket-server-master/websocket_server/websocket_server.py", line 328, in finish self.server._clientleft(self) File "/home/pi/python-websocket-server-master/websocket_server/websocket_server.py", line 146, in _clientleft self.client_left(client, self) File "server.py", line 11, in client_left print("Client(%d) disconnected" % client['id']) TypeError: 'NoneType' object has no attribute 'getitem'
Exception happened during processing of request from ('10.0.1.27', 58313) Traceback (most recent call last): File "/usr/lib/python2.7/SocketServer.py", line 596, in process_request_thread self.finish_request(request, client_address) File "/usr/lib/python2.7/SocketServer.py", line 331, in finish_request self.RequestHandlerClass(request, client_address, self) File "/home/pi/python-websocket-server-master/websocket_server/websocket_server.py", line 167, in init StreamRequestHandler.init(self, socket, addr, server) File "/usr/lib/python2.7/SocketServer.py", line 654, in init self.finish() File "/home/pi/python-websocket-server-master/websocket_server/websocket_server.py", line 328, in finish self.server._clientleft(self) File "/home/pi/python-websocket-server-master/websocket_server/websocket_server.py", line 146, in _clientleft self.client_left(client, self) File "server.py", line 11, in client_left print("Client(%d) disconnected" % client['id']) TypeError: 'NoneType' object has no attribute 'getitem'