Testing the Bittorrent CLI client I noticed an error “can’t load fastresume data”. This was forcing it to rescan the entire data before resuming the torrent – even if nothing had changed since the previous run.

A bit of searching found this solution:

change file /usr/lib/python2.5/site-packages/BitTorrent/Storage.py
modify line 216

str(os.path.getmtime(filename)) + '\n')

to

str(int(os.path.getmtime(filename))) + '\n')

remove the binaries

rm /usr/lib/python2.5/site-packages/BitTorrent/Storage.pyo
rm /usr/lib/python2.5/site-packages/BitTorrent/Storage.pyc