Whenever I try to use NAT check logging via bttrack.py's "--log_nat_checks 1" option and a peer connects, I get this error output in BitTornado 0.1.4:
Code:
Traceback (most recent call last):
File "/home/bt/BitTornado-CVS/BitTornado/RawServer.py", line 130, in listen_forever
self.sockethandler.handle_events(events)
File "/home/bt/BitTornado-CVS/BitTornado/SocketHandler.py", line 263, in handle_events
s.handler.data_came_in(s, data)
File "/home/bt/BitTornado-CVS/BitTornado/BT1/NatCheck.py", line 82, in data_came_in
x = self.next_func(m)
File "/home/bt/BitTornado-CVS/BitTornado/BT1/NatCheck.py", line 66, in read_peer_id
self.answer(True)
File "/home/bt/BitTornado-CVS/BitTornado/BT1/NatCheck.py", line 43, in answer
self.resultfunc(result, self.downloadid, self.peerid, self.ip, self.port)
File "/home/bt/BitTornado-CVS/BitTornado/BT1/track.py", line 824, in connectback_result
self.natchecklog(peerid, ip, port, x)
File "/home/bt/BitTornado-CVS/BitTornado/BT1/track.py", line 809, in natchecklog
print '%s - %s [%02d/%3s/%04d:%02d:%02d:%02d] "!natcheck-%s:%i" %i 0 - -' % (
NameError: global name 'months' is not defined
I have Python 2.3, wxGTK 2.4.1.2, and wxPython 2.4.1.2 installed.