Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Web-Scraper CPAN distribution.

Report information
The Basics
Id: 29733
Status: open
Priority: 0/
Queue: Web-Scraper

People
Owner: Nobody in particular
Requestors: jmason [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: 0.21



Subject: "make test" failures in t/12_html.t
Download (untitled) / with headers
text/plain 2.1k
hi -- quick bug report. this is for Web::Scraper 0.20, btw. CPAN.pm: Going to build M/MI/MIYAGAWA/Web-Scraper-0.20.tar.gz Cannot determine perl version info from lib/Web/Scraper.pm Checking if your kit is complete... Looks good Writing Makefile for Web::Scraper CPAN: YAML loaded ok cp lib/Web/Scraper.pm blib/lib/Web/Scraper.pm cp bin/scraper blib/script/scraper /usr/bin/perl "-Iinc" "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/scraper Manifying blib/man3/Web::Scraper.3pm /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t t/00_compile............ok t/01_process............ok t/02_process_multi......ok t/03_scraper_nest.......ok t/04_callback...........ok t/05_process_first......ok t/06_define.............ok t/07-live...............skipped all skipped: LIVE_TEST not enabled t/08-leak...............skipped all skipped: LEAK_TEST is not defined t/09-process_hash.......ok t/10_invalid_xpath......ok t/11_absolute...........ok t/12_html............... # Failed test 'script # @@ -1,3 +1 @@ # -function foo() { # +function foo() {&\#10; return bar;&\#10;}&\#10;- return bar; # -}' # at t/12_html.t line 20. # Failed test 'non-ascii' # at t/12_html.t line 20. Wide character in print at /home/jm/.cpan/build/Web-Scraper-0.20/inc/Test/Builder.pm line 1191, <DATA> line 1. # got: '&#12486;&#12473;&#12488;' # expected: 'ãã¹ã' # Looks like you failed 2 tests of 4. t/12_html...............dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 1, 4 Failed 2/4 tests, 50.00% okay t/13_textnode...........ok t/14_absolute_nested....ok t/15_absolute_hash......ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/12_html.t 2 512 4 2 50.00% 1 4 2 tests skipped. Failed 1/16 test scripts, 93.75% okay. 2/28 subtests failed, 92.86% okay. make: *** [test_dynamic] Error 255 /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force this is with Ubuntu Dapper's built-in perl 5.8.7.
CC: JMASON [...] cpan.org
Subject: Re: [rt.cpan.org #29733] "make test" failures in t/12_html.t
Date: Wed, 3 Oct 2007 10:06:51 -0700
To: bug-Web-Scraper [...] rt.cpan.org
From: "Tatsuhiko Miyagawa" <miyagawa [...] gmail.com>
Download (untitled) / with headers
text/plain 2.8k
Tell me the version # of HTML::TreeBuilder you're using? If it's not latest, upgrade to the latest and try. I'll bump up the dependency if needed. On 10/3/07, via RT <bug-Web-Scraper@rt.cpan.org> wrote: Show quoted text
> > Wed Oct 03 07:35:30 2007: Request 29733 was acted upon. > Transaction: Ticket created by JMASON > Queue: Web-Scraper > Subject: "make test" failures in t/12_html.t > Broken in: (no value) > Severity: Important > Owner: Nobody > Requestors: JMASON@cpan.org > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=29733 > > > > hi -- quick bug report. this is for Web::Scraper 0.20, btw. > > > > CPAN.pm: Going to build M/MI/MIYAGAWA/Web-Scraper-0.20.tar.gz > > Cannot determine perl version info from lib/Web/Scraper.pm > Checking if your kit is complete... > Looks good > Writing Makefile for Web::Scraper > CPAN: YAML loaded ok > cp lib/Web/Scraper.pm blib/lib/Web/Scraper.pm > cp bin/scraper blib/script/scraper > /usr/bin/perl "-Iinc" "-MExtUtils::MY" -e "MY->fixin(shift)" > blib/script/scraper > Manifying blib/man3/Web::Scraper.3pm > /usr/bin/make -- OK > Running make test > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t > t/00_compile............ok > t/01_process............ok > t/02_process_multi......ok > t/03_scraper_nest.......ok > t/04_callback...........ok > t/05_process_first......ok > t/06_define.............ok > t/07-live...............skipped > all skipped: LIVE_TEST not enabled > t/08-leak...............skipped > all skipped: LEAK_TEST is not defined > t/09-process_hash.......ok > t/10_invalid_xpath......ok > t/11_absolute...........ok > t/12_html............... > # Failed test 'script > # @@ -1,3 +1 @@ > # -function foo() { > # +function foo() {&\#10; return bar;&\#10;}&\#10;- return bar; > # -}' > # at t/12_html.t line 20. > > # Failed test 'non-ascii' > # at t/12_html.t line 20. > Wide character in print at > /home/jm/.cpan/build/Web-Scraper-0.20/inc/Test/Builder.pm line 1191, > <DATA> line 1. > # got: '&#12486;&#12473;&#12488;' > # expected: 'ãã¹ã' > # Looks like you failed 2 tests of 4. > t/12_html...............dubious > Test returned status 2 (wstat 512, 0x200) > DIED. FAILED tests 1, 4 > Failed 2/4 tests, 50.00% okay > t/13_textnode...........ok > t/14_absolute_nested....ok > t/15_absolute_hash......ok > Failed Test Stat Wstat Total Fail Failed List of Failed > ------------------------------------------------------------------------------- > t/12_html.t 2 512 4 2 50.00% 1 4 > 2 tests skipped. > Failed 1/16 test scripts, 93.75% okay. 2/28 subtests failed, 92.86% okay. > make: *** [test_dynamic] Error 255 > /usr/bin/make test -- NOT OK > Running make install > make test had returned bad status, won't install without force > > > > this is with Ubuntu Dapper's built-in perl 5.8.7. >
-- Tatsuhiko Miyagawa
From: JMASON [...] cpan.org
Download (untitled) / with headers
text/plain 309b
On Wed Oct 03 13:07:19 2007, miyagawa@gmail.com wrote: Show quoted text
> Tell me the version # of HTML::TreeBuilder you're using? If it's not > latest, upgrade to the latest and try. I'll bump up the dependency if > needed.
hi -- it was 3.13. Once I upgraded to 3.23, the test failures disappear, so that's the fix alright!
Subject: Re: [rt.cpan.org #29733] "make test" failures in t/12_html.t
Date: Wed, 3 Oct 2007 12:43:25 -0700
To: bug-Web-Scraper [...] rt.cpan.org
From: "Tatsuhiko Miyagawa" <miyagawa [...] gmail.com>
Download (untitled) / with headers
text/plain 527b
Fixed in 0.21. Thanks! On 10/3/07, via RT <bug-Web-Scraper@rt.cpan.org> wrote: Show quoted text
> > Queue: Web-Scraper > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=29733 > > > On Wed Oct 03 13:07:19 2007, miyagawa@gmail.com wrote:
> > Tell me the version # of HTML::TreeBuilder you're using? If it's not > > latest, upgrade to the latest and try. I'll bump up the dependency if > > needed.
> > hi -- it was 3.13. Once I upgraded to 3.23, the test failures > disappear, so that's the fix alright! >
-- Tatsuhiko Miyagawa


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

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