View Full Version : Help with Python

Jan 15, 2007, 09:29 AM
Hey guys..

I was compiling BitTornado for OS X, when I ran into a problem.


I used this guide to install BitTornado.

In the guide, the guy has mentioned this:

6. Make the changes listed in this site in the btdownloadgui.py file http://lists.wxwidgets.org/cgi-bin/ezmlm-cgi?10:mss:1193:hedpdngcjjlbfjgaehom

Now, I couldn't make head or tail of what he wants me to change. I understood that I need to make changes in lines 177, 492 and 505. But, I couldn't understand what all those + and - signs meant. So, can some one please edit this file for me. I am attaching the file with this post.

Jan 15, 2007, 09:53 AM
Basically, you need to remove the - lines, and add in the + lines.

Jan 15, 2007, 10:23 AM
Basically, you need to remove the - lines, and add in the + lines.

I tried doing that, but I'm sure I'm doing something wrong somewhere. Can you please help me with it?

Jan 16, 2007, 09:22 AM
Sure, PM me with the problem you've run in to, and I'll see what I can do.

Feb 13, 2007, 09:00 AM
Since that is merely a diff file (from "--- BitTornado-CVS.orig/btdownloadgui.py"), you could just save it and then use patch, like so:
$ patch < the_file.diff

Feb 16, 2007, 07:09 AM
Python is dependent on indenting - perhaps the indenting in the stuff you added didn't match the indenting in the file? Being off by a space or a tab can screw things up..

Feb 16, 2007, 07:48 AM
I downloaded the latest BitTornado, and it ran OK. Hence, I asked the OP to PM me so I could verify version, etc.