1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

Help with Python

Discussion in 'Mac Programming' started by oober_freak, Jan 15, 2007.

  1. macrumors regular

    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:

    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.

    Attached Files:

  2. macrumors 6502a

    Basically, you need to remove the - lines, and add in the + lines.
  3. macrumors regular

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

    Sure, PM me with the problem you've run in to, and I'll see what I can do.
  5. macrumors newbie

    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
  6. macrumors newbie

    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..
  7. macrumors 6502a

    I downloaded the latest BitTornado, and it ran OK. Hence, I asked the OP to PM me so I could verify version, etc.

Share This Page