Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jan 15, 2007, 10:29 AM   #1
oober_freak
macrumors regular
 
Join Date: Apr 2005
Location: London, UK
Send a message via AIM to oober_freak Send a message via MSN to oober_freak Send a message via Yahoo to oober_freak
Help with Python

Hey guys..

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

http://forums.degreez.net/viewtopic.php?p=21875#21875

I used this guide to install BitTornado.


In the guide, the guy has mentioned this:

Quote:
6. Make the changes listed in this site in the btdownloadgui.py file http://lists.wxwidgets.org/cgi-bin/e...gcjjlbfjgaehom
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
File Type: zip btdownloadgui.py.zip (19.0 KB, 11 views)
__________________
MSc in Accounting and Finance - The London School of Economics

When in Rome, do the Romans.
oober_freak is offline   0 Reply With Quote
Old Jan 15, 2007, 10:53 AM   #2
IscariotJ
macrumors 6502a
 
Join Date: Jan 2004
Location: UK
Basically, you need to remove the - lines, and add in the + lines.
__________________
32GB iPhone, 64GB iPad
IscariotJ is offline   0 Reply With Quote
Old Jan 15, 2007, 11:23 AM   #3
oober_freak
Thread Starter
macrumors regular
 
Join Date: Apr 2005
Location: London, UK
Send a message via AIM to oober_freak Send a message via MSN to oober_freak Send a message via Yahoo to oober_freak
Quote:
Originally Posted by IscariotJ View Post
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?
__________________
MSc in Accounting and Finance - The London School of Economics

When in Rome, do the Romans.
oober_freak is offline   0 Reply With Quote
Old Jan 16, 2007, 10:22 AM   #4
IscariotJ
macrumors 6502a
 
Join Date: Jan 2004
Location: UK
Sure, PM me with the problem you've run in to, and I'll see what I can do.
__________________
32GB iPhone, 64GB iPad
IscariotJ is offline   0 Reply With Quote
Old Feb 13, 2007, 10:00 AM   #5
Veracon
macrumors newbie
 
Join Date: Jan 2007
Since that is merely a diff file (from "--- BitTornado-CVS.orig/btdownloadgui.py"), you could just save it and then use patch, like so:
Code:
$ patch < the_file.diff
Veracon is offline   0 Reply With Quote
Old Feb 16, 2007, 08:09 AM   #6
chooki
macrumors newbie
 
Join Date: Jan 2006
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..
chooki is offline   0 Reply With Quote
Old Feb 16, 2007, 08:48 AM   #7
IscariotJ
macrumors 6502a
 
Join Date: Jan 2004
Location: UK
I downloaded the latest BitTornado, and it ran OK. Hence, I asked the OP to PM me so I could verify version, etc.
__________________
32GB iPhone, 64GB iPad
IscariotJ is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Python Programming FDomin16 Mac Programming 3 Apr 8, 2013 11:59 AM
Good Python 3.3 course vmachiel Mac Programming 2 Mar 11, 2013 04:42 AM
Python to X Code taptic Mac Programming 12 Mar 8, 2013 12:15 PM
Printing with Python lpeedin Mac Programming 1 Oct 20, 2012 04:44 PM
Python 3.2.3 dboxall123 Mac Programming 4 Sep 27, 2012 11:53 AM

Forum Jump

All times are GMT -5. The time now is 01:23 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC