MLDonkey Forum Index
Homepage •  Bugs •  Tasks •  Patches •  SF.net Project Page •  ChangeLog •  German forum •  Links •  Wiki •  Downloads
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
compute_torrent not working?

 
Post new topic   Reply to topic    MLDonkey Forum Index -> Problems with MLDonkey Client (Bittorrent, DirectConnect, Gnutella,...)
View previous topic :: View next topic  
Author Message
Markos
neophyte


Joined: 17 Aug 2005
Posts: 4
Location: Spain

PostPosted: Thu Oct 22, 2009 7:13 am    Post subject: compute_torrent not working? Reply with quote

Hi all,
i'm having trouble using compute_torrent, both for single file and for directories.
I'm using V2.9.5.

Situation:

* I issue "compute_torrent incoming/File1.txt Blahblah".
* The .torrent is generated and put into the .mldonkey/torrents/seeded directory (seems OK)
* I check if it's seeded with "seeded_torrents" and it says "File1.txt [0]" (Size 0??? Why?? File is accessible ok....)
* Nothing is logged at the mlnet.log file
* I copy the .torrent into the torrents/tracked dir, so tracker can announce it when requested.
* I copy the .torrent into another machine (another location, outside LAN), and run a win torrent client, but it can't download the file. (Clients: tested ABC, Vuzereus)
* Checking the mlnet log I see periodically: "[bTTrack] Tracker rejected announce request for torrent XXXX (torrent hash)"


**** What is going on here? ******
Why does it reject the announce?
Fact is I remember having created some time ago a .torrent correctly and downloaded it ok....

* The very same situation if I seed a directory....

===================================

Can anyone put some light on this please (my family is waiting for my holiday videos Sad )?

Thanks.
Back to top
View user's profile Send private message
Markos
neophyte


Joined: 17 Aug 2005
Posts: 4
Location: Spain

PostPosted: Wed Oct 28, 2009 8:47 am    Post subject: Into the source Reply with quote

Browsing a little bit the source code, I found the error string in reply_has_tracker (is that a function? sorry, I've never ocaml....) (File: "bttracker.ml")


Code:

let reply_has_tracker r info_hash peer_id peer_ip peer_port peer_key peer_left peer_event numwant no_peer_id  =

  let tracker_ok = ref true in
  if !verbose_msg_servers then
    lprintf_nl "tracker contacted for [%s]" (Sha1.to_hexa info_hash);
  let tracker = try
      Hashtbl.find tracked_files info_hash
    with Not_found ->
        if !!tracker_force_local_torrents then begin
            tracker_ok := false;
            lprintf_nl "Tracker rejected announce request for torrent [%s]\n" (Sha1.to_hexa info_hash);
            failwith "Unknown torrent"
          end;


So I understand that Hashtbl is not finding the file in the "tracked_files" list.
How can that happen? How does mlnet keep track of the .torrents?

Shouldn't compute_torrent automagically add the file to that list?

Regards. Marcos.
Back to top
View user's profile Send private message
Markos
neophyte


Joined: 17 Aug 2005
Posts: 4
Location: Spain

PostPosted: Thu Oct 29, 2009 8:56 am    Post subject: Update Reply with quote

* Update * - Compiled 3.0.1 , with same result.

Even worst, i've run a clean instance within another user's home (clean .mldonkey dir), with no luck at all!

Tracker still refuses to announce it.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    MLDonkey Forum Index -> Problems with MLDonkey Client (Bittorrent, DirectConnect, Gnutella,...) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Sourceforge.net Logo