bugmldonkey, a multi-networks file-sharing client - Bugs: bug #27781, Reassigned to another tracker...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #27781: Reassigned to another tracker [was: BT: Fix torrent parsing when announce-list is empty]

Submitted by:  Hose Bag <user>
Submitted on:  Thu 22 Oct 2009 03:13:00 PM UTC  
Votes:  40  
 
Category: Bittorrent-PluginSeverity: 4 - Important
Item Group: Program malfunctionStatus: Ready For Test
Assigned to: NoneOpen/Closed: Closed
Release: Release: 2.9.5
Operating System: LinuxBinaries Origin: Debian package
CPU type: None

Fri 23 Oct 2009 05:24:28 AM UTC, comment #3:

THIS ITEM WAS REASSIGNED TO PATCH #6961


Please, do not post any new comments to this item.

spiralvoice <spiralvoice>
Project Administrator
Fri 23 Oct 2009 04:45:41 AM UTC, comment #2:

Your patch works fine, too.

Hose Bag <user>
Thu 22 Oct 2009 08:13:45 PM UTC, comment #1:

Please try the attached patch instead.

It uses Ocaml exception handling in case
of an error and saves the handling of the
if-then code in your patch.

(file #18929)

spiralvoice <spiralvoice>
Project Administrator
Thu 22 Oct 2009 03:13:00 PM UTC, original submission:

THIS ITEM WAS REASSIGNED TO PATCH #6961
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

Hose Bag <user>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by spiralvoice (Updated the item)
  • -unavailable- added by user
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 40 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 8 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 23 Oct 2009 05:24:28 AM UTCspiralvoiceReassign Itemmldonkey, a multi-networks file-sharing client, bug #27781=>mldonkey, a multi-networks file-sharing client, patch #6961
    Fri 23 Oct 2009 05:24:27 AM UTCspiralvoiceSummary\'Error Failure("hd"), moved to torrents/old\' for some torrent files=>BT: Fix torrent parsing when announce-list is empty
    Thu 22 Oct 2009 08:13:45 PM UTCspiralvoiceStatusNone=>Ready For Test
      Attached File-=>Added bt_announce.diff, #18929
      Severity3 - Normal=>4 - Important
    Thu 22 Oct 2009 03:13:26 PM UTCuserCarbon-Copy-=>Added user
    Thu 22 Oct 2009 03:13:01 PM UTCuserAttached File-=>Added check_next_urls.diff, #18924
      Carbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1