ttorrent
ttorrent copied to clipboard
Error while hashing a torrent piece
I can't seem to figure out why I am getting this error, does anyone have any idea?
47 [JavaFX Application Thread] INFO com.turn.ttorrent.common.Torrent - Single-file torrent information:
47 [JavaFX Application Thread] INFO com.turn.ttorrent.common.Torrent - Torrent name: ubuntu-15.04-desktop-amd64.iso
47 [JavaFX Application Thread] INFO com.turn.ttorrent.common.Torrent - Announced at:
49 [JavaFX Application Thread] INFO com.turn.ttorrent.common.Torrent - 1. http://torrent.ubuntu.com:6969/announce
49 [JavaFX Application Thread] INFO com.turn.ttorrent.common.Torrent - 2. http://ipv6.torrent.ubuntu.com:6969/announce
58 [JavaFX Application Thread] INFO com.turn.ttorrent.common.Torrent - Created on..: Thu Apr 23 04:50:37 MDT 2015
58 [JavaFX Application Thread] INFO com.turn.ttorrent.common.Torrent - Comment.....: Ubuntu CD releases.ubuntu.com
58 [JavaFX Application Thread] INFO com.turn.ttorrent.common.Torrent - Pieces......: 2196 piece(s) (524288 byte(s)/piece)
58 [JavaFX Application Thread] INFO com.turn.ttorrent.common.Torrent - Total size..: 1,150,844,928 byte(s)
63 [JavaFX Application Thread] INFO com.turn.ttorrent.client.storage.FileStorage - Initialized byte storage file at C:\Users\tad\Downloads\ubuntu-15.04-desktop-amd64.iso.part (0+1150844928 byte(s)).
63 [JavaFX Application Thread] INFO com.turn.ttorrent.client.storage.FileCollectionStorage - Initialized torrent byte storage on 1 file(s) (1150844928 total byte(s)).
128 [JavaFX Application Thread] INFO com.turn.ttorrent.client.ConnectionHandler - Listening for incoming connections on tad-laptop/192.168.1.15:6881.
135 [JavaFX Application Thread] INFO com.turn.ttorrent.client.announce.Announce - Initialized announce sub-system with 2 trackers on ubuntu-15.04-desktop-amd64.iso.
135 [JavaFX Application Thread] INFO com.turn.ttorrent.client.Client - BitTorrent client [..646537] for ubuntu-15.04-desktop-amd64.iso started and listening at 192.168.1.15:6881...
138 [bt-client(..646537)] INFO com.turn.ttorrent.client.SharedTorrent - Analyzing local data for ubuntu-15.04-desktop-amd64.iso with 4 threads (2196 pieces)...
150 [bt-client(..646537)] WARN com.turn.ttorrent.client.Client - Error while initializing torrent data: Error while hashing a torrent piece!!
dup of #91?
Nope, I don't see any resemblance at all between the two, his is when restarting, mine can't start at all, thanks for looking though.
I have noticed that this project doesn't say anywhere that it requires a few other libraries, maybe I'm using the wrong version?
I had to download commons codec 1.10, commons io 2.4 and slf4j simple 1.0
ByteBuffer buffer = this._read(0, this.length);
looks like the section that could fail here...
any chance of running the code in a debugger ?