patchmldonkey, a multi-networks file-sharing client - Patches: patch #4493, BT: Correctly parse .torrent files...

 
 

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

patch #4493: BT: Correctly parse .torrent files with an empty directory

Submitter:  Brin <brin>
Submitted:  Thu 06 Oct 2005 03:10:31 PM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  Done Assigned to:  None
Open/Closed:  Closed

Thu 06 Oct 2005 05:31:40 PM UTC, comment #4: 

Applied 2005/10/06

spiralvoice <spiralvoice>
Group administrator
Thu 06 Oct 2005 03:10:31 PM UTC, comment #3: 

This item has been reassigned from the project mldonkey, a multi-networks file-sharing client bugs tracker to your tracker.

The original report is still available at bugs #14711

Following are the information included in the original report:

[field #0]                  Item ID: 14711
[field #1]                 Group ID: 1409
[field #2]              Open/Closed: Open
[field #3]                 Severity: 3 - Normal
[field #4]                  Privacy: Public
[field #6]                 Category: Bittorrent-Plugin
[field #7]             Submitted by: brin
[field #8]              Assigned to: None
[field #9]             Submitted on: Wed 10/05/05 at 00:02
[field #10]                  Summary: torrent incorrectly parsed, probably because of  utf-8
[field #11]      Original Submission: The torrent http://www.torrentspy.com/download.asp?id=424794
works with Azureus, but mldonkey fails. The mldonkey downloads window shows the name as "download.asp" with 0 sources.

I think mldonkey has problems parsing the torrent because it seems to contain some utf-8.
[field #13]               Item Group: Program malfunction
[field #14]                   Status: None
[field #15]        Component Version: None
[field #16]         Platform Version: Linux
[field #17]          Reproducibility: None
[field #18]               Size (loc): None
[field #19]            Fixed Release: None
[field #20]          Planned Release: None
[field #21]                   Effort: 0.00
[field #25]                 Priority: 5 - Normal
[field #28]         Percent Complete: 0%
[field #30]                  Release: 2.6.4
[field #55]          Binaries Origin: CVS / Self compiled
[field #56]                 CPU type: Intel x86
[field #57]                      CPU: None
[field #58]     Custom Select Box #4: None
[field #59]     Custom Select Box #5: None
[field #60]     Custom Select Box #6: None
[field #61]     Custom Select Box #7: None
[field #62]     Custom Select Box #8: None
[field #63]     Custom Select Box #9: None
[field #64]    Custom Select Box #10: None

z <zet>
Group Member
Thu 06 Oct 2005 03:10:29 PM UTC, comment #2: 

The bug occurs because there is an empty directory in the list of files.  The original bittorrent doesn't like this torrent either, but it works in Azureus. Here is a patch that made the torrent load for me in mldonkey.

z <zet>
Group Member
Wed 05 Oct 2005 12:19:36 AM UTC, comment #1: 

[HTTPcl] Exception open failedon ./temp/BT-TGM2MD2LUZOSOIPYHPIENISOCG73HZRH/-[100%]--[All-files-CRC-OK]--[48-files]--[Pearl]-/: Is a directory in loading downloaded file /tmp/http_648229.asp


Or if you download the .torrent to disk and dllink from file:

[BT] Exception open failedon ./temp/BT-TGM2MD2LUZOSOIPYHPIENISOCG73HZRH/-[100%]--[All-files-CRC-OK]--[48-files]--[Pearl]-/: Is a directory while 2nd loading

Anonymous
Thu 06 Oct 2005 03:10:31 PM UTC, original submission:  

The torrent http://www.torrentspy.com/download.asp?id=424794
works with Azureus, but mldonkey fails. The mldonkey downloads window shows the name as "download.asp" with 0 sources.

I think mldonkey has problems parsing the torrent because it seems to contain some utf-8.

Brin <brin>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #8087:  multifile-empty-dirs.diff added by zet (1KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 4 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-10-06 spiralvoice StatusNone Done
    Open/ClosedOpen Closed
2005-10-06 spiralvoice SummaryReassigned item: torrent incorrectly parsed, probably because of utf-8 BT: Correctly parse .torrent files with an empty directory
2005-10-06 zet Reassign itemFrom group mldonkey, a multi-networks file-sharing client, bugs tracker To group mldonkey, a multi-networks file-sharing client, patch tracker

Back to the top

Powered by Savane 3.13-4b48.
Corresponding source code