Report for Scraper-3.05

Back
From: metabase:user:3198cbe2-2aae-11df-837a-5e0a49663a4f
Subject: FAIL Scraper-3.05 v5.12.1 GNU/Linux
Date: 2010-09-26T20:00:23Z

This distribution has been tested as part of the CPAN Testers
project, supporting the Perl programming language.  See
http://wiki.cpantesters.org/ for more information or email
questions to cpan-testers-discuss@perl.org


--
Dear Glenn Wood,

This is a computer-generated report for Scraper-3.05
on perl 5.12.1, created by CPAN-Reporter-1.1801.

Thank you for uploading your work to CPAN.  However, there was a problem
testing your distribution.

If you think this report is invalid, please consult the CPAN Testers Wiki
for suggestions on how to avoid getting FAIL reports for missing library
or binary dependencies, unsupported operating systems, and so on:

http://wiki.cpantesters.org/wiki/CPANAuthorNotes

Sections of this report:

    * Tester comments
    * Program output
    * Prerequisites
    * Environment and other context

------------------------------
TESTER COMMENTS
------------------------------

Additional comments from tester:

this report is from an automated smoke testing program
and was not reviewed by a human for accuracy

------------------------------
PROGRAM OUTPUT
------------------------------

Output from '/usr/bin/make test':

PERL_DL_NONLAZY=1 /home/graham/perltest/th_ld_perl5121/perl/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/t.t .. ok
All tests successful.
Files=1, Tests=1,  0 wallclock secs ( 0.05 usr +  0.02 sys =  0.07 CPU)
Result: PASS
PERL_DL_NONLAZY=1 /home/graham/perltest/th_ld_perl5121/perl/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
# VERSIONS OF MODULES ON WHICH SCRAPER DEPENDS
#     using HTML::Form(5.829);
#     using HTML::TreeBuilder(3.23_4);
#     using HTTP::Cookies(5.837);
#     using HTTP::Request(5.827);
#     using HTTP::Response(5.836);
#     using HTTP::Status(5.817);
#     using LWP(5.837);
#     using LWP::RobotUA(5.835);
#     using LWP::UserAgent(5.835);
#     using Storable(2.21);
#     using Text::ParseWords(3.27);
#     using Tie::Persistent(1.00);
#     using URI(1.55);
#     using URI::Escape(3.30);
#     using URI::URL(5.03);
#     using URI::http();
#     using User(1.9);
#     using WWW::Search(2.565);
#     using XML::XPath(1.13);
1..11
ok 1 - 9 Scraper modules listed in MANIFEST (4,0,5)
ok 2 - WWW::Scraper loaded
ok 3 # skip This Scraper engine requires 'HTML Tidy' to scrub HTML before parsing.
Get this program from 'http://tidy.sourceforge.net/docs/Overview.html#Download'
Make sure it is in your execution search path.

Use of uninitialized value in pattern match (m//) at /home/graham/perltest/th_ld_perl5121/perl/lib/site_perl/5.12.1/WWW/Search.pm line 1294.
Use of uninitialized value in pattern match (m//) at /home/graham/perltest/th_ld_perl5121/perl/lib/site_perl/5.12.1/WWW/Search.pm line 1294.
Use of uninitialized value in pattern match (m//) at /home/graham/perltest/th_ld_perl5121/perl/lib/site_perl/5.12.1/WWW/Search.pm line 1294.
Use of uninitialized value in pattern match (m//) at /home/graham/perltest/th_ld_perl5121/perl/lib/site_perl/5.12.1/WWW/Search.pm line 1294.
not ok 4 - CraigsList
#     Failed test (test.pl at line 129)
ok 5 # skip This Scraper engine requires 'HTML Tidy' to scrub HTML before parsing.
Get this program from 'http://tidy.sourceforge.net/docs/Overview.html#Download'
Make sure it is in your execution search path.

Use of uninitialized value $_ in substitution (s///) at /home/graham/perltest/th_ld_perl5121/perl/lib/site_perl/5.12.1/WWW/Search.pm line 915.
Use of uninitialized value $_ in substitution (s///) at /home/graham/perltest/th_ld_perl5121/perl/lib/site_perl/5.12.1/WWW/Search.pm line 916.
Argument "1,670,000" isn't numeric in numeric le (<=) at /home/graham/perltest/th_ld_perl5121/perl/lib/site_perl/5.12.1/WWW/Search.pm line 662.
Use of uninitialized value $_ in substitution (s///) at /home/graham/perltest/th_ld_perl5121/perl/lib/site_perl/5.12.1/WWW/Search.pm line 915.
Use of uninitialized value $_ in substitution (s///) at /home/graham/perltest/th_ld_perl5121/perl/lib/site_perl/5.12.1/WWW/Search.pm line 916.
Argument "1,670,000" isn't numeric in numeric le (<=) at /home/graham/perltest/th_ld_perl5121/perl/lib/site_perl/5.12.1/WWW/Search.pm line 662.
not ok 6 - Google
#     Failed test (test.pl at line 129)
Use of uninitialized value $_ in substitution (s///) at /home/graham/perltest/th_ld_perl5121/perl/lib/site_perl/5.12.1/WWW/Search.pm line 915.
Use of uninitialized value $_ in substitution (s///) at /home/graham/perltest/th_ld_perl5121/perl/lib/site_perl/5.12.1/WWW/Search.pm line 916.
Use of uninitialized value $_ in substitution (s///) at /home/graham/perltest/th_ld_perl5121/perl/lib/site_perl/5.12.1/WWW/Search.pm line 915.
Use of uninitialized value $_ in substitution (s///) at /home/graham/perltest/th_ld_perl5121/perl/lib/site_perl/5.12.1/WWW/Search.pm line 916.
not ok 7 - Lycos
#     Failed test (test.pl at line 129)
ok 8 # skip NorthernLight's search engine seems to be down these days!?
ok 9 # skip Sherlock.pm is not working today; many changes out on the frontier that I haven't caught up with yet
ok 10 # skip WSDL is still in a primitive experimental state.
Use of uninitialized value $_ in substitution (s///) at /home/graham/perltest/th_ld_perl5121/perl/lib/site_perl/5.12.1/WWW/Search.pm line 915.
Use of uninitialized value $_ in substitution (s///) at /home/graham/perltest/th_ld_perl5121/perl/lib/site_perl/5.12.1/WWW/Search.pm line 916.
Use of uninitialized value $_ in substitution (s///) at /home/graham/perltest/th_ld_perl5121/perl/lib/site_perl/5.12.1/WWW/Search.pm line 915.
Use of uninitialized value $_ in substitution (s///) at /home/graham/perltest/th_ld_perl5121/perl/lib/site_perl/5.12.1/WWW/Search.pm line 916.
not ok 11 - ZIPplus4
#     Failed test (test.pl at line 129)
# Can't locate object method "zipcode" via package "WWW::Scraper::Request::ZIPplus4_" at blib/lib/WWW/Scraper/Request.pm line 207.
# 4 tests had problems. See file 'test.trace' for details.
##_##_##_##_##_##_##_##_##_##_##_##_##_##_##
Operating system: linux
Perl version: 5.012001
VERSIONS OF MODULES ON WHICH SCRAPER DEPENDS
    using HTML::Form(5.829);
    using HTML::TreeBuilder(3.23_4);
    using HTTP::Cookies(5.837);
    using HTTP::Request(5.827);
    using HTTP::Response(5.836);
    using HTTP::Status(5.817);
    using LWP(5.837);
    using LWP::RobotUA(5.835);
    using LWP::UserAgent(5.835);
    using Storable(2.21);
    using Text::ParseWords(3.27);
    using Tie::Persistent(1.00);
    using URI(1.55);
    using URI::Escape(3.30);
    using URI::URL(5.03);
    using URI::http();
    using User(1.9);
    using WWW::Search(2.565);
    using XML::XPath(1.13);
##_##_##_##_##_##_##_##_##_##_##_##_##_##_##
LIST SCRAPER SUB-CLASSES, FROM THE MANIFEST
    + Beaucoup(1.07)
    + CraigsList(1.16)
    + Dogpile(1.11)
    - FieldTranslation will not be tested: it is not a Scraper sub-class.
    + Google(1.23)
    - Grub will not be tested: it is not a Scraper sub-class.
    + Lycos(1.00)
    + NorthernLight(1.00)
    + Sherlock(1.00)
    - Response will not be tested: it is not a Scraper sub-class.
    - Request will not be tested: it is not a Scraper sub-class.
    - TidyXML will not be tested: it is not a Scraper sub-class.
    + WSDL(1.00)
    + ZIPplus4(1.09)
    - Opcode will not be tested: it is not a Scraper sub-class.
    - ScraperDiscovery will not be tested: it is not a Scraper sub-class.
##_##_##_##_##_##_##_##_##_##_##_##_##_##_##
##_##_##_##_##_##_##_##_##_##_##_##_##_##_##
##_##_##_##_##_##_##_##_##_##_##_##_##_##_##
Test #0: CraigsList
Test #1: CraigsList 'bogus' search
Test #2: CraigsList one-page search
 + got 0 results for 'Honda'
 --- got 0 results for CraigsList 'Honda', but expected 50
 --- base URL: http://www.craigslist.org/cgi-bin/search?
 --- first URL: http://www.craigslist.org/cgi-bin/search?areaID=1&cat=all&catAbbreviation=car&group=J&max_ask=&min_ask=&new_cat=6&query=Honda&subAreaID=0&type_search=
 --- last URL: http://www.craigslist.org/cgi-bin/search?areaID=1&cat=all&catAbbreviation=car&group=J&max_ask=&min_ask=&new_cat=6&query=Honda&subAreaID=0&type_search=
 --- next URL: 
 --- response message: 200 OK
 --- content size (bytes): 2706
 --- ERRNO: 
 --- Extended OS error: 
Scraper engine CraigsList failed once: 
Test #0: CraigsList
Test #1: CraigsList 'bogus' search
Test #2: CraigsList one-page search
 + got 0 results for 'Honda'
 --- got 0 results for CraigsList 'Honda', but expected 50
 --- base URL: http://www.craigslist.org/cgi-bin/search?
 --- first URL: http://www.craigslist.org/cgi-bin/search?areaID=1&cat=all&catAbbreviation=car&group=J&max_ask=&min_ask=&new_cat=6&query=Honda&subAreaID=0&type_search=
 --- last URL: http://www.craigslist.org/cgi-bin/search?areaID=1&cat=all&catAbbreviation=car&group=J&max_ask=&min_ask=&new_cat=6&query=Honda&subAreaID=0&type_search=
 --- next URL: 
 --- response message: 200 OK
 --- content size (bytes): 2706
 --- ERRNO: 
 --- Extended OS error: 
Scraper engine CraigsList failed twice: 
##_##_##_##_##_##_##_##_##_##_##_##_##_##_##
##_##_##_##_##_##_##_##_##_##_##_##_##_##_##
Test #0: Google
Test #1: Google 'bogus' search
Test #2: Google one-page search
 + got 0 results for 'search scraper'
 --- got 0 results for Google 'search scraper', but expected 9
 --- base URL: http://www.google.com/search?
 --- first URL: http://www.google.com/search?btnG=Google+Search&hl=en&ie=UTF%2D8&lr=&q=search+scraper&safe=active
 --- last URL: http://www.google.com/search?btnG=Google+Search&hl=en&ie=UTF%2D8&lr=&q=search+scraper&safe=active
 --- next URL: http://www.google.com/search?hl=en&lr=&safe=active&ie=UTF-8&ei=TaafTMKQOZGUjAfukOCuDQ&q=search scraper&start=10&sa=N
 --- response message: 200 OK
 --- content size (bytes): 20220
 --- ERRNO: 
 --- Extended OS error: 
Scraper engine Google failed once: 
Test #0: Google
Test #1: Google 'bogus' search
Test #2: Google one-page search
 + got 0 results for 'search scraper'
 --- got 0 results for Google 'search scraper', but expected 9
 --- base URL: http://www.google.com/search?
 --- first URL: http://www.google.com/search?btnG=Google+Search&hl=en&ie=UTF%2D8&lr=&q=search+scraper&safe=active
 --- last URL: http://www.google.com/search?btnG=Google+Search&hl=en&ie=UTF%2D8&lr=&q=search+scraper&safe=active
 --- next URL: http://www.google.com/search?hl=en&lr=&safe=active&ie=UTF-8&ei=TqafTPWdN9O6jAejwMCADQ&q=search scraper&start=10&sa=N
 --- response message: 200 OK
 --- content size (bytes): 20220
 --- ERRNO: 
 --- Extended OS error: 
Scraper engine Google failed twice: 
##_##_##_##_##_##_##_##_##_##_##_##_##_##_##
Test #0: Lycos
Test #1: Lycos 'bogus' search
Test #2: Lycos one-page search
 + got 0 results for 'turntable'
 --- got 0 results for Lycos 'turntable', but expected 9
 --- base URL: http://search.lycos.com/default.asp?
 --- first URL: http://search.lycos.com/default.asp?loc=searchhp&lpv=1&query=turntable&tab=web
 --- last URL: http://search.lycos.com/default.asp?loc=searchhp&lpv=1&query=turntable&tab=web
 --- next URL: 
 --- response message: 200 OK
 --- content size (bytes): 62494
 --- ERRNO: 
 --- Extended OS error: 
Scraper engine Lycos failed once: 
Test #0: Lycos
Test #1: Lycos 'bogus' search
Test #2: Lycos one-page search
 + got 0 results for 'turntable'
 --- got 0 results for Lycos 'turntable', but expected 9
 --- base URL: http://search.lycos.com/default.asp?
 --- first URL: http://search.lycos.com/default.asp?loc=searchhp&lpv=1&query=turntable&tab=web
 --- last URL: http://search.lycos.com/default.asp?loc=searchhp&lpv=1&query=turntable&tab=web
 --- next URL: 
 --- response message: 200 OK
 --- content size (bytes): 61044
 --- ERRNO: 
 --- Extended OS error: 
Scraper engine Lycos failed twice: 
##_##_##_##_##_##_##_##_##_##_##_##_##_##_##
##_##_##_##_##_##_##_##_##_##_##_##_##_##_##
##_##_##_##_##_##_##_##_##_##_##_##_##_##_##
##_##_##_##_##_##_##_##_##_##_##_##_##_##_##
Test #0: ZIPplus4
Test #1: ZIPplus4 'bogus' search
Scraper engine ZIPplus4 failed once: Can't locate object method "zipcode" via package "WWW::Scraper::Request::ZIPplus4_" at blib/lib/WWW/Scraper/Request.pm line 207.

Test #0: ZIPplus4
Test #1: ZIPplus4 'bogus' search
Scraper engine ZIPplus4 failed twice: Can't locate object method "zipcode" via package "WWW::Scraper::Request::ZIPplus4_" at blib/lib/WWW/Scraper/Request.pm line 207.

# Looks like you failed 4 tests of 11.
make: *** [test_dynamic] Error 4

------------------------------
PREREQUISITES
------------------------------

Prerequisite modules loaded:

requires:

    Module            Need  Have  
    ----------------- ----- ------
    HTML::Form        0.02  5.829 
    HTML::TreeBuilder 0     3.23_4
    HTTP::Cookies     0     5.837 
    HTTP::Request     0     5.827 
    HTTP::Response    0     5.836 
    HTTP::Status      0     5.817 
    LWP               5.48  5.837 
    LWP::RobotUA      0     5.835 
    LWP::UserAgent    0     5.835 
    Storable          0.6   2.21  
    Text::ParseWords  3.2   3.27  
    Tie::Persistent   0.901 1.00  
    URI               0     1.55  
    URI::Escape       0     3.30  
    URI::http         0     0     
    URI::URL          0     5.03  
    User              1.05  1.9   
    WWW::Search       2.35  2.565 
    XML::XPath        0     1.13  


------------------------------
ENVIRONMENT AND OTHER CONTEXT
------------------------------

Environment variables:

    AUTOMATED_TESTING = 1
    LANG = C
    PATH = /home/graham/perltest/th_ld_perl5121/perl/bin:/bin:/usr/bin:/sbin:/usr/sbin:/opt/java/bin:/opt/java/jre/bin:/opt/kde/bin:/usr/bin/perlbin/site:/usr/bin/perlbin/vendor:/usr/bin/perlbin/core:/opt/qt/bin
    PERL5LIB = 
    PERL5OPT = 
    PERL5_CPANPLUS_IS_RUNNING = 19142
    PERL5_CPAN_IS_RUNNING = 19142
    PERL5_CPAN_IS_RUNNING_IN_RECURSION = 3677,19142
    PERL_CR_SMOKER_CURRENT = Scraper-3.05
    PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
    PERL_MM_USE_DEFAULT = 1
    SHELL = /bin/bash
    TERM = xterm

Perl special variables (and OS-specific diagnostics, for MSWin32):

    $^X = /home/graham/perltest/th_ld_perl5121/perl/bin/perl
    $UID/$EUID = 1000 / 1000
    $GID = 1000 7 10 91 92 93 95 98 100 108 1000 1001
    $EGID = 1000 7 10 91 92 93 95 98 100 108 1000 1001

Perl module toolchain versions installed:

    Module              Have   
    ------------------- -------
    CPAN                1.9304 
    Cwd                 3.33   
    ExtUtils::CBuilder  0.27_05
    ExtUtils::Command   1.16   
    ExtUtils::Install   1.52   
    ExtUtils::MakeMaker 6.57_05
    ExtUtils::Manifest  1.58   
    ExtUtils::ParseXS   2.2206 
    File::Spec          3.33   
    Module::Build       0.36_16
    Module::Signature   0.66   
    Test::Harness       3.22   
    Test::More          0.97_01
    YAML                0.72   
    YAML::Syck          1.15   
    version             0.82   


--

Summary of my perl5 (revision 5 version 12 subversion 1) configuration:
   
  Platform:
    osname=linux, osvers=2.6.33-arch, archname=i686-linux-thread-multi-64int-ld
    uname='linux lorant 2.6.33-arch #1 smp preempt thu may 13 12:06:25 cest 2010 i686 intel(r) pentium(r) 4 cpu 2.80ghz genuineintel gnulinux '
    config_args=''
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=define, usemultiplicity=define
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=define, use64bitall=undef, uselongdouble=define
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O2',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
    ccversion='', gccversion='4.5.0 20100520 (prerelease)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long long', ivsize=8, nvtype='long double', nvsize=12, Off_t='off_t', lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -fstack-protector -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc -lgdbm_compat
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
    libc=/lib/libc-2.12.so, so=so, useshrplib=true, libperl=libperl.so
    gnulibc_version='2.12'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/home/graham/perltest/th_ld_perl5121/perl/lib/5.12.1/i686-linux-thread-multi-64int-ld/CORE'
    cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector'


Characteristics of this binary (from libperl): 
  Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
                        PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP USE_64_BIT_INT
                        USE_FAST_STDIO USE_ITHREADS USE_LARGE_FILES
                        USE_LONG_DOUBLE USE_PERLIO USE_PERL_ATOF
                        USE_REENTRANT_API
  Built under linux
  Compiled at Aug  7 2010 12:43:27
  %ENV:
    PERL5LIB=""
    PERL5OPT=""
    PERL5_CPANPLUS_IS_RUNNING="19142"
    PERL5_CPAN_IS_RUNNING="19142"
    PERL5_CPAN_IS_RUNNING_IN_RECURSION="3677,19142"
    PERL_CR_SMOKER_CURRENT="Scraper-3.05"
    PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
    PERL_MM_USE_DEFAULT="1"
  @INC:
    /home/graham/perltest/th_ld_perl5121/perl/lib/site_perl/5.12.1/i686-linux-thread-multi-64int-ld
    /home/graham/perltest/th_ld_perl5121/perl/lib/site_perl/5.12.1
    /home/graham/perltest/th_ld_perl5121/perl/lib/5.12.1/i686-linux-thread-multi-64int-ld
    /home/graham/perltest/th_ld_perl5121/perl/lib/5.12.1
    .