the forums at degreez.net

It is currently Sun Apr 14, 2024 7:46 am

All times are UTC - 7 hours [ DST ]




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 
Author Message
PostPosted: Wed Dec 22, 2004 7:47 pm 
Hi there.

I've tried upgrading my tracker from BitTornado 0.3.9a to 0.3.9b, but 0.3.9b doesn't work.

I haven't got the error message, but if you try to use it you'll see the output.

I can later paste the error if necessary. Though I'll have to decompress it again. :)

Compass.


Top
  
 
 Post subject:
PostPosted: Wed Dec 22, 2004 8:54 pm 
apply this patch:
Code:
--- track.py    2004-12-20 12:01:22.000000000 +0100
+++ track.py.fixed      2004-12-23 02:58:00.000000000 +0100
@@ -171,7 +171,7 @@
 
 def get_forwarded_ip(headers):
     x = _get_forwarded_ip(headers)
-    if not is_valid_ip(x) or local_IPs.includes(x):
+    if x is None or not is_valid_ip(x) or local_IPs.includes(x):
         return None
     return x

 


Top
  
 
 Post subject:
PostPosted: Wed Dec 29, 2004 7:17 pm 
Where do I put that text?

Compass.


Top
  
 
 Post subject:
PostPosted: Fri Dec 31, 2004 3:06 pm 
if you don't know how to use patch do the following:
1) go to line 174 in track.py
2) put "x is None or" (without quotes) before "not is_valid_ip(x)"
3) save changes


Top
  
 
 Post subject:
PostPosted: Wed Jan 05, 2005 3:21 am 
Thanks volpol_. I'll try that.

Compass.


Top
  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 

All times are UTC - 7 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group