the forums at degreez.net Forum Index

the forums at degreez.net
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

BitTornado 0.3.9b is buggy.

 
Post new topic   Reply to topic    the forums at degreez.net Forum Index -> Major Problems
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Thu Dec 23, 2004 1:47 am    Post subject: BitTornado 0.3.9b is buggy. Reply with quote

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. Smile

Compass.
Back to top
volpol
Guest





PostPosted: Thu Dec 23, 2004 2:54 am    Post subject: Reply with quote

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

 
Back to top
Compass.
Guest





PostPosted: Thu Dec 30, 2004 1:17 am    Post subject: Reply with quote

Where do I put that text?

Compass.
Back to top
volpol_
Guest





PostPosted: Fri Dec 31, 2004 9:06 pm    Post subject: Reply with quote

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
Back to top
Compass
Guest





PostPosted: Wed Jan 05, 2005 9:21 am    Post subject: Reply with quote

Thanks volpol_. I'll try that.

Compass.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    the forums at degreez.net Forum Index -> Major Problems All times are GMT
Page 1 of 1

 
Jump to:  
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
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group