After that it's very simple, just copy the .py family of btdownloadgui.py and company to /usr/bin

then if your using mozilla or firefox and click on a .torrent tell it to open it. and fill in the Open with field with "btdownloadgui.py" and it should work fine

I'm using suse 9.3 but thiis isn't working for me, i have installed both python and wxpython but when i open a torrent file in firefox and ask it to upen the file using btdownloadgui.py i get an hourglass for a few seconds, then nothing. Same happends if i just run btdownloadgui.py by itself

I'm a gentoo user and have emerged bittornado today. I would assume that portage like everything else emerges the dependencies as well automatically, such as wxpython. however this does not seem to be the case.

Also, I looked in /usr/bin and could not find any btdownloadgui.py but found these instead:

I have several partially downloaded torrents, but was looking for a good linux based bittorrent client, since I got tired of windoze and its horrible inefficiency in bandwidth. In addition to this, I also have a few torrents to seed as well, and heard a few good things about this client...anyways. Thanks for the help...

I'm a gentoo user and have emerged bittornado today. I would assume that portage like everything else emerges the dependencies as well automatically, such as wxpython. however this does not seem to be the case.

Make sure you have "gtk" in your USE-flags, look at /etc/make.conf or enable it once while emerging bittornado with
" USE="gtk" emerge bittornado "

Just updated to gcc-3.4.5 on my Gentoo install and recompiled <i>everything</i> (literally: took about 50 hours to compile 129 packages in system and 654 in world. <i>I</i> thought it was hilarious) Of course, like any 3.3* to 3.4* switch, I broke a few things....like BT. I had this problem before and the error message told me I had to compile wxPython without a certain flag. Now all I get is "wxPython is either not installed or has not been installed properly." Real bummer. Anyways, of the four flags it (wxPython) was compiled with, is it the gtk2, opengl, or unicode flag that's giving me grief?

Since people still seem to be having trouble with this, and since some instructions given so far seem kind of bogus (one link's installation instructions are "download this"), I thought I'd try to help...

(If you're just having problems getting torrents to launch from a browser, skip to the end and try that first.)

0. If you're using packages, just reinstalling them may take care of everything.

0.5. If you're copying files manually, just remember to copy the BitTornado directory too; it needs to be in the same directory as the bt*.py files, or in one of the python lib directories. (This bit seems to be missing from some suggestions. If this fixes things, great, you're done.)

1. It's possible that different bittorent clients and leftover files are conflicting with eachother. Uninstall any bittorrent / bittornado / etc packages, and delete any remaining bittorrent related files (bt*.py) and directories (BitTornado, Bittorent) from anywhere in your path and anywhere Python looks for them. If you don't know where those are, look in /usr/bin, /usr/local/bin, /usr/lib/python2.x and /usr/lib/python2.x/site-packages, and python2.x and python2.x/site-packages in /usr/local/lib. (Don't delete everything in /usr/lib/python2.x. That would be bad. Well, you'd just have to reinstall python and most things that use it. Also /usr/bin. That would be VERY bad.)

2. Download and untar bittornado.

3. If you don't care about launching torrents directly from a browser, the easiest way to run bittornado is to go to the directory and run it from there. Regardless, read docs/INSTALL.unix.txt, it has directions for getting torrents to launch from a web browser. It also gives the easy directions for installing, run: python setup.py install
(After running the setup script, the directory can be deleted.)
(It's probably best to just run the setup script than copying files manually - see 0.5.)

For completeness, and for the lazy, the contents of INSTALL.unix.txt:

Code:

install Python, version 2.0 or later - http://python.org/

install wxPython - http://wxpython.org/

(under debian, you can currently get the above using apt-get install libwxgtk2.2-python from testing and use python 2.1)

untar and run: python setup.py install

put a line in /etc/mailcap which is similar to the following, only replace the path to /usr/bin/btdownloadgui.py with the one it's actually in.

You may have to restart your web browser for it to start using BitTorrent.

If you're using a web browser which doesn't respect /etc/mailcap you can go into the mimetype configuration for your web browser and manually associate application/x-bittorrent with btdownloadgui.py (with the appropriate path, of course.)

"python: can't open file 'setup.py'" I give up. the hard drive is ging in the microwave (why not) and the rest of this thing is getting shot. Repeatedly. Guess I'm just not supposed to use linux. I'm going back to windows. Maybe I should just shoot myself instead. It would be less painful than windows...

well.
here's a dirty hack to get latest working in ubuntu/debian as i cant seem to find a guide that actually worx. the reason i had to figure this much out is because one of hte sites i go to requires latest stable bittornado.