Subject: | New TV.com fails to parse |
Date: | Tue, 30 Sep 2008 18:19:36 -0400 |
To: | bug-WWW-TV [...] rt.cpan.org |
From: | Jason Johnston-McLeod <anakin [...] sdf1.net> |
I think the layout of the data has changed on TV.com.
High failure rate on the 0.09 make test. I had an older version
installed, that was working when I last used it a couple months ago.
-Jason
Blog: http://jayslife.com
GPG Fingerprint:
anakin@sdf1.net - A6CC 40B4 99A4 1C08 55A7 BCFC ECDF ED68 115E 5993
Show quoted text
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> t/10_episode.........ok 1/23Use of uninitialized value in
> substitution (s///) at /src/WWW-TV-0.09/blib/lib/WWW/TV/Episode.pm
> line 147.
> Use of uninitialized value in pattern match (m//) at t/10_episode.t
> line 32.
>
> # Failed test 'summary includes: Fox River'
> # in t/10_episode.t at line 32.
> Use of uninitialized value in pattern match (m//) at t/10_episode.t
> line 33.
> t/10_episode.........NOK 6
> # Failed test 'title is: Pilot'
> t/10_episode.........ok 7/23# in t/10_episode.t at line 34.
> # got: undef
> # expected: 'Pilot'
> t/10_episode.........NOK 8Use of uninitialized value in string eq
> at /src/WWW-TV-0.09/blib/lib/WWW/TV/Episode.pm line 506.
> Use of uninitialized value in pattern match (m//) at /src/WWW-
> TV-0.09/blib/lib/WWW/TV/Episode.pm line 508.
> Use of uninitialized value in hash element at /src/WWW-TV-0.09/blib/
> lib/WWW/TV/Episode.pm line 513.
> Use of uninitialized value in sprintf at /src/WWW-TV-0.09/blib/lib/
> WWW/TV/Episode.pm line 527.
> Use of uninitialized value in sprintf at /src/WWW-TV-0.09/blib/lib/
> WWW/TV/Episode.pm line 527.
> Use of uninitialized value in sprintf at /src/WWW-TV-0.09/blib/lib/
> WWW/TV/Episode.pm line 527.
>
> # Failed test 'season number is 1'
> # in t/10_episode.t at line 35.
> t/10_episode.........NOK 9# got: undef
> # expected: '1'
>
> # Failed test 'episode_number is 1'
> # in t/10_episode.t at line 36.
> # got: undef
> t/10_episode.........NOK 10# expected: '1'
> Use of uninitialized value in pattern match (m//) at t/10_episode.t
> line 37.
>
> # Failed test 'stars include: Wentworth Miller'
> # in t/10_episode.t at line 37.
> t/10_episode.........NOK 11Use of uninitialized value in pattern
> match (m//) at t/10_episode.t line 38.
>
> # Failed test 'guest_stars include: Jeff Parker'
> # in t/10_episode.t at line 38.
> t/10_episode.........NOK 12Use of uninitialized value in pattern
> match (m//) at t/10_episode.t line 39.
>
> # Failed test 'recurring_roles include: Stacy Keach'
> # in t/10_episode.t at line 39.
> t/10_episode.........NOK 13
> # Failed test 'directors is: Brett Ratner'
> # in t/10_episode.t at line 40.
> # got: undef
> t/10_episode.........NOK 14# expected: 'Brett Ratner'
>
> # Failed test 'writers is: Paul T. Scheuring'
> # in t/10_episode.t at line 41.
> # got: undef
> t/10_episode.........NOK 15# expected: 'Paul T. Scheuring'
>
> # Failed test 'first_aired is: 2005-08-29'
> # in t/10_episode.t at line 42.
> # got: '0000-00-00'
> t/10_episode.........NOK 16# expected: '2005-08-29'
> Can't find series_id for this episode at t/10_episode.t line 44
> # Looks like you planned 23 tests but only ran 16.
> # Looks like you failed 10 tests of 16 run.
> # Looks like your test died just after 16.
> t/10_episode.........dubious
> Test returned status 255 (wstat 65280, 0xff00)
> DIED. FAILED tests 6, 8-23
> Failed 17/23 tests, 26.09% okay
> t/20_series..........ok 1/26
> # Failed test 'series name is: M*A*S*H'
> # in t/20_series.t at line 13.
> # got: undef
> # expected: 'M*A*S*H'
> Use of uninitialized value in split at /src/WWW-TV-0.09/blib/lib/WWW/
> TV/Series.pm line 163.
>
> # Failed test 'genres (scalar context) are: Comedy, Drama'
> # in t/20_series.t at line 19.
> # got: ''
> # expected: 'Comedy, Drama'
> t/20_series..........NOK 5
> # Failed test 'total episode count'
> # in t/20_series.t at line 26.
> # got: '1'
> # expected: '251'
>
> # Failed test 'total episode count (using season 0)'
> # in t/20_series.t at line 29.
> # got: '1'
> # expected: '251'
> t/20_series..........NOK 7
> # Failed test 'season 1 episode count'
> # in t/20_series.t at line 32.
> # got: '1'
> # expected: '24'
> t/20_series..........NOK 8
> # Failed test 'season 9 episode count'
> # in t/20_series.t at line 35.
> # got: '1'
> # expected: '20'
>
> # Failed test 'genres (array context)'
> # in t/20_series.t at line 38.
> # got: '0'
> # expected: '2'
> t/20_series..........NOK 10Unable to find a show in the search
> results. at t/20_series.t line 43
> # Looks like you planned 26 tests but only ran 10.
> # Looks like you failed 7 tests of 10 run.
> # Looks like your test died just after 10.
> t/20_series..........dubious
> Test returned status 255 (wstat 65280, 0xff00)
> DIED. FAILED tests 3, 5-26
> Failed 23/26 tests, 11.54% okay
> t/98_pod.............skipped
> all skipped: Skipping author tests
> t/99_pod_coverage....skipped
> all skipped: Skipping author tests
> Failed Test Stat Wstat Total Fail Failed List of Failed
> -------------------------------------------------------------------------------
> t/10_episode.t 255 65280 23 24 104.35% 6 8-23
> t/20_series.t 255 65280 26 39 150.00% 3 5-26
> 2 tests skipped.
> Failed 2/4 test scripts, 50.00% okay. 40/49 subtests failed, 18.37%
> okay.
> make: *** [test_dynamic] Error 255
>
Message body is not shown because it is too large.