I keep on getting this error when I run a tracker. And it crashes like every minute or two.
The tracker has about 4000 peers and is running on a machine with python 2.3.3 installed.
Code:
Traceback (most recent call last):
File "/root/BitTornado-CVS/BitTornado/RawServer.py", line 142, in listen_forever
self.sockethandler.handle_events(events)
File "/root/BitTornado-CVS/BitTornado/SocketHandler.py", line 319, in handle_events
s.handler.data_came_in(s, data)
File "/root/BitTornado-CVS/BitTornado/HTTPHandler.py", line 155, in data_came_in
if not c.data_came_in(data) and not c.closed:
File "/root/BitTornado-CVS/BitTornado/HTTPHandler.py", line 46, in data_came_in
self.next_func = self.next_func(val)
File "/root/BitTornado-CVS/BitTornado/HTTPHandler.py", line 78, in read_header
r = self.handler.getfunc(self, self.path, self.headers)
File "/root/BitTornado-CVS/BitTornado/BT1/track.py", line 917, in get
rsize = self.add_data(infohash, event, ip, paramslist)
File "/root/BitTornado-CVS/BitTornado/BT1/track.py", line 692, in add_data
bc[1][myid] = bc[0][myid]
KeyError: 'exbc\x01\x01LORDv\xc6\xea\xd7\xfc.\xc6\x7f\xe7\xe6'