[FIXED] eD2K dump broken?

already fixed bugs

Moderator: AniDB

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

[FIXED] eD2K dump broken?

Post by HiEv »

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.
Rar
AniDB Staff
Posts: 1471
Joined: Fri Mar 12, 2004 2:41 pm
Location: UK
Contact:

Post by Rar »


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
Rar
AniDB Staff
Posts: 1471
Joined: Fri Mar 12, 2004 2:41 pm
Location: UK
Contact:

Post by Rar »

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

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

Post by HiEv »

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