Skip Menu |
 
rt.cpan.org will be shut down on March 1st, 2021.

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
MIME-Version: 1.0
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Type: text/plain; charset="utf8"
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 2238
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
MIME-Version: 1.0
X-Spam-Status: No, hits=-2.6 required=8.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VERIFIED,DK_SIGNED,SPF_PASS
In-Reply-To: <rt-3.6.HEAD-12831-1191411344-190.29733-4-0 [...] rt.cpan.org>
Content-Disposition: inline
References: <RT-Ticket-29733 [...] rt.cpan.org> <rt-3.6.HEAD-12831-1191411344-190.29733-4-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
X-RT-Original-Encoding: ISO-8859-1
Received: from la.mx.develooper.com (x1.develooper.com [63.251.223.170]) by diesel.bestpractical.com (Postfix) with SMTP id 6ADEF4D819A for <bug-Web-Scraper [...] rt.cpan.org>; Wed, 3 Oct 2007 13:07:12 -0400 (EDT)
Received: (qmail 2116 invoked by alias); 3 Oct 2007 17:07:11 -0000
Received: from nz-out-0506.google.com (HELO nz-out-0506.google.com) (64.233.162.229) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Wed, 03 Oct 2007 10:06:59 -0700
Received: by nz-out-0506.google.com with SMTP id x7so3114660nzc for <bug-Web-Scraper [...] rt.cpan.org>; Wed, 03 Oct 2007 10:06:55 -0700 (PDT)
Received: by 10.64.201.7 with SMTP id y7mr8581254qbf.1191431211678; Wed, 03 Oct 2007 10:06:51 -0700 (PDT)
Received: by 10.90.32.20 with HTTP; Wed, 3 Oct 2007 10:06:51 -0700 (PDT)
Delivered-To: cpan-bug+web-scraper [...] diesel.bestpractical.com
Subject: Re: [rt.cpan.org #29733] "make test" failures in t/12_html.t
Domainkey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Q2COD5NOM4KOjFnKYSXshjSOcXReB5U12hEOL9AVo4m0rvSciqwGxd/SEC1E8HUXD6gErXyvu8jVlwxMsgDjGxCcJwMG5dEVh3L8NvNL6uuU0i+acEyNMpMf1cY9kaVucxGGPkfMXgK3jMR541a3yOU+qjEseD7Emiel3TOKjwc=
Return-Path: <miyagawa [...] gmail.com>
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=gQWD/TYg2b9/Hv/pkrsmC/+7rWcu98d+NdyonVxOlQI=; b=KOaBl+OkeHNhfak0nlGulNvzFYomKXokdGOMLQvY4IjlcjRy2IGv8QBkBSX3Ku2gkOT/kIs5mhkLM5JI/2Oe4Ld+BpJlPsiIdgPDSh+b1Qj8oj8+Pi/3DeWPA6/j1vMUjGKO9/doA1zQW/dz+m7/ar2sQHCUGJjNo8138iNzt8I=
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: bug-Web-Scraper [...] rt.cpan.org
Date: Wed, 3 Oct 2007 10:06:51 -0700
Message-Id: <693254b90710031006q7674f828mbcc4acf5ff9dcf0c [...] mail.gmail.com>
To: bug-Web-Scraper [...] rt.cpan.org
Content-Transfer-Encoding: quoted-printable
From: "Tatsuhiko Miyagawa" <miyagawa [...] gmail.com>
X-RT-Original-Encoding: utf-8
RT-Message-ID: <rt-3.6.HEAD-12790-1191431238-1900.29733-0-0 [...] rt.cpan.org>
Content-Length: 2965
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
MIME-Version: 1.0
In-Reply-To: <rt-3.6.HEAD-12790-1191431238-1900.29733-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Disposition: inline
References: <RT-Ticket-29733 [...] rt.cpan.org> <rt-3.6.HEAD-12831-1191411344-190.29733-4-0 [...] rt.cpan.org> <693254b90710031006q7674f828mbcc4acf5ff9dcf0c [...] mail.gmail.com> <rt-3.6.HEAD-12790-1191431238-1900.29733-0-0 [...] rt.cpan.org>
Message-Id: <rt-3.6.HEAD-12825-1191432590-1048.29733-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf8"
Content-Transfer-Encoding: binary
From: JMASON [...] cpan.org
X-RT-Original-Encoding: utf-8
X-RT-Original-Encoding: utf-8
Content-Length: 309
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!
MIME-Version: 1.0
X-Spam-Status: No, hits=-2.6 required=8.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VERIFIED,DK_SIGNED,SPF_PASS
In-Reply-To: <rt-3.6.HEAD-12825-1191432590-1048.29733-5-0 [...] rt.cpan.org>
Content-Disposition: inline
References: <RT-Ticket-29733 [...] rt.cpan.org> <rt-3.6.HEAD-12831-1191411344-190.29733-4-0 [...] rt.cpan.org> <693254b90710031006q7674f828mbcc4acf5ff9dcf0c [...] mail.gmail.com> <rt-3.6.HEAD-12790-1191431238-1900.29733-5-0 [...] rt.cpan.org> <rt-3.6.HEAD-12825-1191432590-1048.29733-5-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
X-RT-Original-Encoding: ISO-8859-1
Received: from la.mx.develooper.com (x1.develooper.com [63.251.223.170]) by diesel.bestpractical.com (Postfix) with SMTP id 6FA7D4D80A5 for <bug-Web-Scraper [...] rt.cpan.org>; Wed, 3 Oct 2007 15:43:38 -0400 (EDT)
Received: (qmail 3455 invoked by alias); 3 Oct 2007 19:43:38 -0000
Received: from wx-out-0506.google.com (HELO wx-out-0506.google.com) (66.249.82.237) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Wed, 03 Oct 2007 12:43:29 -0700
Received: by wx-out-0506.google.com with SMTP id h29so3754886wxd for <bug-Web-Scraper [...] rt.cpan.org>; Wed, 03 Oct 2007 12:43:25 -0700 (PDT)
Received: by 10.90.52.18 with SMTP id z18mr105060agz.1191440605700; Wed, 03 Oct 2007 12:43:25 -0700 (PDT)
Received: by 10.90.32.20 with HTTP; Wed, 3 Oct 2007 12:43:25 -0700 (PDT)
Delivered-To: cpan-bug+web-scraper [...] diesel.bestpractical.com
Subject: Re: [rt.cpan.org #29733] "make test" failures in t/12_html.t
Domainkey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=dC3ncudmz8So1RfF/gthtYdTMGbfLLWSnyZUPOV/LDZBamNJz5Jdt1dOT8hDXbOjvs81ONhzcUE/yVY7KQWTSB4w/tAom4mUnVMhgDDBWPRksxRyozxVXUZe3hr2BSBwGeCB0D7pYsiGRYBlxh7ZurOBsVti7zj/xy4ipf5aijU=
Return-Path: <miyagawa [...] gmail.com>
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=HoLcHr+WErdvDSD6MegQnl5L5YM6EtoQ5wJfmlZh7wA=; b=VelJSLKPTP7OU4qoZygV3mn3i75F+lOxnMd4+xIVMaGvMVO4ViJXiTmLhhWshyfL2NujSJdv7jW2CcslTDzvSEvNPi9eZottJgXhPLryPfdRMtAhGG4uPzWSxc7wSvRiKHgCm9wjqPk7qalJov0ggf2rX3BhGLjkypy7tSxAY+0=
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: bug-Web-Scraper [...] rt.cpan.org
Date: Wed, 3 Oct 2007 12:43:25 -0700
Message-Id: <693254b90710031243q52f0058ci5c55049fc22871f2 [...] mail.gmail.com>
To: bug-Web-Scraper [...] rt.cpan.org
Content-Transfer-Encoding: 7bit
From: "Tatsuhiko Miyagawa" <miyagawa [...] gmail.com>
X-RT-Original-Encoding: utf-8
RT-Message-ID: <rt-3.6.HEAD-12832-1191440645-1398.29733-0-0 [...] rt.cpan.org>
Content-Length: 527
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.