Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jan 15, 2007, 09: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, 8 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, 09:53 AM   #2
IscariotJ
macrumors 6502
 
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, 10: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, 09:22 AM   #4
IscariotJ
macrumors 6502
 
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, 09: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, 07: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, 07:48 AM   #7
IscariotJ
macrumors 6502
 
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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
Help with port forwarding for Security software? PPFee Mac Applications and Mac App Store 1 Dec 11, 2011 03:34 PM
Need some help with Python 2.6 (resolved) Forsaken Mac Programming 2 Dec 14, 2009 04:00 PM
Need help with Python CP123 Mac Programming 5 Aug 17, 2009 06:19 AM
need help with python jamesapp Mac Programming 6 Jun 22, 2008 10:13 PM
Help with Python code? macsrockmysocks Mac Programming 8 Jul 14, 2006 06:18 PM


All times are GMT -5. The time now is 09:03 PM.

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

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