This queue is for tickets about the IMDB-Film CPAN distribution.

Report information
The Basics
Id:
47422
Status:
resolved
Priority:
Low/Low
Queue:

People
Owner:
STEPANOV [...] cpan.org
Requestors:
simon [...] duanedibley.com
Cc:
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
(no value)
Fixed in:
(no value)



CC: simon@duanedibley.com
Subject: Possible bug in IMDB::FIlm
Date: Sun, 28 Jun 2009 15:53:59 -0700
To: bug-IMDB-Film@rt.cpan.org
From: simon burke <simon@duanedibley.com>


OS:   Ubuntu 8.04
PV:   Linux version 2.6.24-23-generic (buildd@crested) (gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)) #1 SMP Mon Jan 26 01:04:16 UTC 2009
PERL:  v5.8.8 built for x86_64-linux-gnu-thread-multi
OSV: Linux htpc2 2.6.24-23-generic #1 SMP Mon Jan 26 01:04:16 UTC 2009 x86_64 GNU/Linux
IMDB::FIlm 0.37 updated cpan Jun 28 2009 15:47pm PST (also failed on 0.36)




IMDB:Film fails on specific imdb code value


code sample (cut  from custom module IMDBinfo.pm lines 207-218

  my $imdb2 = "XXXXX"  # set to value before execution
  my $imdbObj = undef;
  eval {
    $imdbObj = new IMDB::Film(crit => $imdb2);
  };

  if ($@) {
    print "IMDBinfo::GetInfo($uid,$imdb) failed to get URL for imdb $imdb2\n";
    print "IMDBinfo::GetInfo() $@\n";
  } else {
    print "IMDBinfo::GetInfo() for $imdb2\n";
  }



Works

$imdb2 = "993918"

std out

NI(3) (17898) HTPC2::HTPCinfo/IMDBinfo::GetInfo(da01b11d054960c1ac17f966832d4461,0993918)
NI(3) (17898) HTPC2::HTPCinfo/IMDBinfo::GetInfo() for 993918
NI(3) (17898) HTPC2::HTPCinfo/IMDBinfo::GetInfo() done in 1950 mS (1912 mS web access)


Fails

$imdb2 = "993917"

std out

Use of uninitialized value in concatenation (.) or string at /usr/local/share/perl/5.8.8/IMDB/Film.pm line 417.
NI(3) (18421) HTPC2::HTPCinfo/IMDBinfo::GetInfo(861d23b76bf741418924327434610e1e,0993917)
NI(3) (18421) HTPC2::HTPCinfo/IMDBinfo::GetInfo(861d23b76bf741418924327434610e1e,0993917) failed to get URL for imdb 993917
NI(3) (18421) HTPC2::HTPCinfo/IMDBinfo::GetInfo() [CRITICAL] Cannot retrieve url [http://www.imdb.com/title/tt/episodes] at /opt/devel/htpc/htpc2/modules/HTPC2/IMDBinfo.pm line 210


Not sure what doing wrong,  seems very reproducable . There are many other cases that fail
(try following in BSG season 4  993928,993911,993917)

any questions or additional data required, feel free to mail me at simon@duanedibley.com

Cheers

Simon

Subject: Re: [rt.cpan.org #47422] Possible bug in IMDB::FIlm
Date: Mon, 29 Jun 2009 20:38:54 +0300
To: bug-IMDB-Film@rt.cpan.org
From: Michael Stepanov <stepanov.michael@gmail.com>
Hi Simon,

Thanks for bug-report. There is a problem with code you sent me. Will investigate it and fix soon.

On Mon, Jun 29, 2009 at 1:54 AM, simon burke via RT <bug-IMDB-Film@rt.cpan.org> wrote:
Show quoted text
Sun Jun 28 18:54:50 2009: Request 47422 was acted upon.
Transaction: Ticket created by simon@duanedibley.com
      Queue: IMDB-Film
    Subject: Possible bug in IMDB::FIlm
  Broken in: (no value)
   Severity: (no value)
      Owner: Nobody
 Requestors: simon@duanedibley.com
     Status: new
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=47422 >


OS: Ubuntu 8.04
PV: Linux version 2.6.24-23-generic (buildd@crested) (gcc version 4.2.3 (Ubuntu
4.2.3-2ubuntu7)) #1 SMP Mon Jan 26 01:04:16 UTC 2009
PERL: v5.8.8 built for x86_64-linux-gnu-thread-multi
OSV: Linux htpc2 2.6.24-23-generic #1 SMP Mon Jan 26 01:04:16 UTC 2009 x86_64
GNU/Linux
IMDB::FIlm 0.37 updated cpan Jun 28 2009 15:47pm PST (also failed on 0.36)




IMDB:Film fails on specific imdb code value


code sample (cut from custom module IMDBinfo.pm lines 207-218

my $imdb2 = "XXXXX" # set to value before execution
my $imdbObj = undef;
eval {
$imdbObj = new IMDB::Film(crit => $imdb2);
};

if ($@) {
print "IMDBinfo::GetInfo($uid,$imdb) failed to get URL for imdb $imdb2\n";
print "IMDBinfo::GetInfo() $@\n";
} else {
print "IMDBinfo::GetInfo() for $imdb2\n";
}



Works

$imdb2 = "993918"

std out

NI(3) (17898)
HTPC2::HTPCinfo/IMDBinfo::GetInfo(da01b11d054960c1ac17f966832d4461,0993918)
NI(3) (17898) HTPC2::HTPCinfo/IMDBinfo::GetInfo() for 993918
NI(3) (17898) HTPC2::HTPCinfo/IMDBinfo::GetInfo() done in 1950 mS (1912 mS web
access)


Fails

$imdb2 = "993917"

std out

Use of uninitialized value in concatenation (.) or string at
/usr/local/share/perl/5.8.8/IMDB/Film.pm line 417.
NI(3) (18421)
HTPC2::HTPCinfo/IMDBinfo::GetInfo(861d23b76bf741418924327434610e1e,0993917)
NI(3) (18421)
HTPC2::HTPCinfo/IMDBinfo::GetInfo(861d23b76bf741418924327434610e1e,0993917)
failed to get URL for imdb 993917
NI(3) (18421) HTPC2::HTPCinfo/IMDBinfo::GetInfo() [CRITICAL] Cannot retrieve
url [http://www.imdb.com/title/tt/episodes] at
/opt/devel/htpc/htpc2/modules/HTPC2/IMDBinfo.pm line 210


Not sure what doing wrong, seems very reproducable . There are many other cases
that fail
(try following in BSG season 4 993928,993911,993917)

any questions or additional data required, feel free to mail me at
simon@duanedibley.com

Cheers

Simon




OS:   Ubuntu 8.04
PV:   Linux version 2.6.24-23-generic (buildd@crested) (gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)) #1 SMP Mon Jan 26 01:04:16 UTC 2009
PERL:  v5.8.8 built for x86_64-linux-gnu-thread-multi
OSV: Linux htpc2 2.6.24-23-generic #1 SMP Mon Jan 26 01:04:16 UTC 2009 x86_64 GNU/Linux
IMDB::FIlm 0.37 updated cpan Jun 28 2009 15:47pm PST (also failed on 0.36)




IMDB:Film fails on specific imdb code value


code sample (cut  from custom module IMDBinfo.pm lines 207-218

  my $imdb2 = "XXXXX"  # set to value before execution
  my $imdbObj = undef;
  eval {
    $imdbObj = new IMDB::Film(crit => $imdb2);
  };

  if ($@) {
    print "IMDBinfo::GetInfo($uid,$imdb) failed to get URL for imdb $imdb2\n";
    print "IMDBinfo::GetInfo() $@\n";
  } else {
    print "IMDBinfo::GetInfo() for $imdb2\n";
  }



Works

$imdb2 = "993918"

std out

NI(3) (17898) HTPC2::HTPCinfo/IMDBinfo::GetInfo(da01b11d054960c1ac17f966832d4461,0993918)
NI(3) (17898) HTPC2::HTPCinfo/IMDBinfo::GetInfo() for 993918
NI(3) (17898) HTPC2::HTPCinfo/IMDBinfo::GetInfo() done in 1950 mS (1912 mS web access)


Fails

$imdb2 = "993917"

std out

Use of uninitialized value in concatenation (.) or string at /usr/local/share/perl/5.8.8/IMDB/Film.pm line 417.
NI(3) (18421) HTPC2::HTPCinfo/IMDBinfo::GetInfo(861d23b76bf741418924327434610e1e,0993917)
NI(3) (18421) HTPC2::HTPCinfo/IMDBinfo::GetInfo(861d23b76bf741418924327434610e1e,0993917) failed to get URL for imdb 993917
NI(3) (18421) HTPC2::HTPCinfo/IMDBinfo::GetInfo() [CRITICAL] Cannot retrieve url [http://www.imdb.com/title/tt/episodes] at /opt/devel/htpc/htpc2/modules/HTPC2/IMDBinfo.pm line 210


Not sure what doing wrong,  seems very reproducable . There are many other cases that fail
(try following in BSG season 4  993928,993911,993917)

any questions or additional data required, feel free to mail me at simon@duanedibley.com

Cheers

Simon





--
Best regards,
Michael
http://linuxmce.ru

Show quoted text
--
Best regards,
Michael Stepanov,
http://linuxmce.ru
Fixed in version 0.38 -- Best Regards, Michael Stepanov, Senior Software Developer


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.