When running "bttrack.py" (from bittornado 0.3.9b) in SuSE Linux 9.0 with Python 2.3 using the command line options: "--port 55555 --dfile dstate.dat --log_nat_checks 1 --allowed_dir ." and then trying to seed a torrent on the same tracker locally, I get this error from the tracker's logs:
Code:
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/BitTornado/RawServer.py", line 142, in listen_forever
self.sockethandler.handle_events(events)
File "/usr/lib/python2.3/site-packages/BitTornado/SocketHandler.py", line 318, in handle_events
s.handler.data_came_in(s, data)
File "/usr/lib/python2.3/site-packages/BitTornado/HTTPHandler.py", line 155, in data_came_in
if not c.data_came_in(data) and not c.closed:
File "/usr/lib/python2.3/site-packages/BitTornado/HTTPHandler.py", line 46, in data_came_in
self.next_func = self.next_func(val)
File "/usr/lib/python2.3/site-packages/BitTornado/HTTPHandler.py", line 78, in read_header
r = self.handler.getfunc(self, self.path, self.headers)
File "/usr/lib/python2.3/site-packages/BitTornado/BT1/track.py", line 760, in get
nip = get_forwarded_ip(headers)
File "/usr/lib/python2.3/site-packages/BitTornado/BT1/track.py", line 174, in get_forwarded_ip
if not is_valid_ip(x) or local_IPs.includes(x):
File "/usr/lib/python2.3/site-packages/BitTornado/subnetparse.py", line 212, in is_valid_ip
if is_ipv4(ip):
File "/usr/lib/python2.3/site-packages/BitTornado/subnetparse.py", line 201, in is_ipv4
return ip.find(':') < 0
AttributeError: 'NoneType' object has no attribute 'find'
During this error, I have a black light in the btdownloadgui.py instance that is seeding and it outputs the error "Problem connecting to tracker." Repeated announce attempts generate the above error each time the announce is attempted.