[FIXED] eD2K dump broken?

already fixed bugs

Moderator: AniDB

Locked
User avatar
HiEv
Posts: 82
Joined: Fri Sep 08, 2006 3:34 am

[FIXED] eD2K dump broken?

Post by HiEv » Sun May 13, 2007 8:51 pm

Is anyone else having trouble with the eD2K dump? I tried to dump this:
ed2k://|file|[yesy]_Magical_Girl_Lyrical_Nanoha_StrikerS_-_06_[xvid_mp3][0ADCEC9D].avi|230286496|D4663612380090A14CBBCCFD4D8563F3|/
and got this:
ERROR:

Bad index while coercing array into hash at /var/www/anidb/perl-bin/subs/adbs_ed2kdump.pm line 128.
If it matters, the only other parameter I set was the State to "on hdd" and my browser is Opera 9.20 on WinXP.

User avatar
Rar
AniDB Staff
Posts: 1471
Joined: Fri Mar 12, 2004 2:41 pm
Location: UK
Contact:

Post by Rar » Sun May 13, 2007 9:28 pm


http://anidb.info/perl-bin/animedb.pl?s ... identify=1

Confirmed.

Blame:

Code: Select all

Author: epox

READY:
- 643: CRC value on mouse over 'valid crc' icon

+++ mod_perl/subs/adbs_ed2kdump.pm	13 May 2007 13:09:28 -0000	1.16
@@ -125,7 +125,7 @@
 		$list->{'id'}  = '';
 
 		#check crc status

-		my $icon  = &adbs_all::get_file_crcicon( $file->[0]->{'status'} );
+		my $icon  = &adbs_all::get_file_crcicon( $file->[0]->{'status'}, $file->{'crc'} );
 
 		if ($color)
Rar

User avatar
Rar
AniDB Staff
Posts: 1471
Joined: Fri Mar 12, 2004 2:41 pm
Location: UK
Contact:

Post by Rar » Sun May 13, 2007 9:52 pm

And fix checked out onto live server. Cookie for anyone who guesses the diff. :)

Rar

User avatar
HiEv
Posts: 82
Joined: Fri Sep 08, 2006 3:34 am

Post by HiEv » Sun May 13, 2007 10:36 pm

Thanks for the quick fix. That did the trick. :)

Locked