rubytorrent

W

William Morgan

Hi all,

Some time last month there was talk of a Ruby BitTorrent client. I don't
know whether anything materialized from that, but I've been playing
around with the idea of a pure-Ruby client, and it's finally reached a
state where it's usable.

If anyone is interested in playing around with it or using the code,
please check out
http://www.masanjin.net/~wmorgan/rubytorrent/rubytorrent-0.0.tar.gz.

It needs a lot of testing and tweaking, but it can successfully download
files (or at least the couple I've tried).
 
A

Andreas Habel

William said:
Hi all,

Some time last month there was talk of a Ruby BitTorrent client. I don't
know whether anything materialized from that, but I've been playing
around with the idea of a pure-Ruby client, and it's finally reached a
state where it's usable.

If anyone is interested in playing around with it or using the code,
please check out
http://www.masanjin.net/~wmorgan/rubytorrent/rubytorrent-0.0.tar.gz.

It needs a lot of testing and tweaking, but it can successfully download
files (or at least the couple I've tried).

Hi William,

I`d like to test your torrent client but had some problems with each of
the three scripts. Maybe my lovely Windows OS caused the following
problems? I`ve tried other .torrent files but with same result. Azureus
(V2.2.0.2) accepted these files without problems.

Andreas

----
running
* Windows 2003 SE [Version 5.2.3790]
* ruby 1.8.2 (2004-12-25) [i386-mswin32]
----


D:\rubytorrent-0.0>ruby -d rtpeer.rb KNOPPIX_V3.7-2004-12-08-EN[1].torrent
Exception `RubyTorrent::BEncodingError' at
../rubytorrent/bencoding.rb:156 - no dictionary terminator
error parsing metainfo file
KNOPPIX_V3.7-2004-12-08-EN[1].torrent---maybe not a .torrent?
 
W

William Morgan

Dear Andreas,

Excerpts from Andreas Habel's mail of 2 Jan 2005 (EST):
D:\rubytorrent-0.0>ruby -d rtpeer.rb KNOPPIX_V3.7-2004-12-08-EN[1].torrent
Exception `RubyTorrent::BEncodingError' at
../rubytorrent/bencoding.rb:156 - no dictionary terminator
error parsing metainfo file
KNOPPIX_V3.7-2004-12-08-EN[1].torrent---maybe not a .torrent?

Thanks for the feedback. Can you email me (privately) the .torrent file?
I'll take a look and see what I've done wrong. :)
 
A

Andreas Habel

William said:
Excerpts from William Morgan's mail of 2 Jan 2005 (EST):



Incidentally, I just tried

http://torrent.unix-ag.uni-kl.de/torrents/KNOPPIX_V3.7-2004-12-08-EN.torrent

and it worked. Can you try that one too?

Thanks,

The mail with my .torrent file is on it`s way to you. Here is another
output of dump-peers.rb with your mentioned file:

D:\rubytorrent-0.0>dump-peers.rb KNOPPIX_V3.7-2004-12-08-EN.torrent
error parsing metainfo file KNOPPIX_V3.7-2004-12-08-EN.torrent
---maybe not a .torrent?
D:/rubytorrent-0.0/dump-peers.rb:11:in `exit': cannot convert IO into
Integer (TypeError)
from D:/rubytorrent-0.0/dump-peers.rb:11
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,164
Messages
2,570,898
Members
47,439
Latest member
shasuze

Latest Threads

Top