Tuesday, May 24, 2005

BitTorrent 4.1.0


Version 4.1.0 of the official BitTorrent client has been released.  This version has support for trackerless torrents.  This allows you to download files, even when the centralized tracker is not available.  Also this is helpful for people publishing content, when they are not able to run a tracker.


After I upgraded the rpm, I neede to make two changes in order to get this to work for me.




First I was getting the following error:


  File "/usr/bin/btdownloadcurses.py", line 337

    saveas = config['save_as']

        ^

SyntaxError: invalid syntax



I found the solution in the comments of this post.  The btdownloadcurses.py was missing a closing bracket.


Then I was getting the following error:


Traceback (most recent call last):

File "/usr/bin/btdownloadcurses.py", line 28, in ?

from BitTorrent.download import Feedback, Multitorrent

File "/usr/lib/python2.2/site-packages/BitTorrent/download.py", line 53, in ?

from khashmir.utkhashmir import UTKhashmir

ImportError: No module named khashmir.utkhashmir


It looks like the rpm installs the python modules in my python 2.3 installation.  But by default I was running python 2.2.  I change /usr/bin/python to be a symbolic link to /usr/bin/python2.3.


Now everything is working correctly.