URL:
  <http://savannah.nongnu.org/bugs/?27781>

                 Summary: 'Error Failure("hd"), moved to torrents/old' for
some torrent files
                 Project: mldonkey, a multi-networks file-sharing client
            Submitted by: user
            Submitted on: Thu 22 Oct 2009 03:13:00 PM GMT
                Category: Bittorrent-Plugin
                Severity: 3 - Normal
              Item Group: Program malfunction
                  Status: None
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 
                 Release: 2.9.5
        Operating System: Linux
         Binaries Origin: Debian package
                CPU type: None

    _______________________________________________________

Details:

Some torrent files are discarded by mldonkey with this message in log:
[BT] Error Failure("hd") in scan_new_torrents_directory for file.torrent,
moved to torrents/old ...
3.0.0-3 from squeeze is also affected.

I tried to fix this, and it turns out that some internal list is empty
when program tries to get it's first element.
This patch checks list length before using it. Works fine for me.

Sample torrent:
http://www.mininova.org/tor/3070173




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Thu 22 Oct 2009 03:13:01 PM GMT  Name: check_next_urls.diff  Size: 653B
  By: user

<http://savannah.nongnu.org/bugs/download.php?file_id=18924>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?27781>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/



_______________________________________________
Mldonkey-bugs mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/mldonkey-bugs

Reply via email to