develooper Front page | perl.cpan.testers | Postings from July 2008

FAIL Scraper-3.05 x86_64-linux-thread-multi 2.6.18-8.1.8.el5

From:
maximgrp
Date:
July 8, 2008 08:00
Subject:
FAIL Scraper-3.05 x86_64-linux-thread-multi 2.6.18-8.1.8.el5
This distribution has been tested as part of the cpan-testers
effort to test as many new uploads to CPAN as possible.  See
http://testers.cpan.org/


--
Dear Glenn Wood,
    
This is a computer-generated report for Scraper-3.05
on perl 5.10.0, created by CPAN-Reporter-1.15. 

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://cpantest.grango.org/wiki/CPANAuthorNotes

Sections of this report:

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

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

Additional comments from tester: 

none provided

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

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

PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/t....ok
All tests successful.
Files=1, Tests=1,  0 wallclock secs ( 0.00 cusr +  0.00 csys =  0.00 CPU)
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
# VERSIONS OF MODULES ON WHICH SCRAPER DEPENDS
#     using HTML::Form(5.813);
#     using HTML::TreeBuilder(3.23);
#     using HTTP::Cookies(5.810);
#     using HTTP::Request(5.811);
#     using HTTP::Response(5.813);
#     using HTTP::Status(5.811);
#     using LWP(5.813);
#     using LWP::RobotUA(5.813);
#     using LWP::UserAgent(5.813);
#     using Storable(2.18);
#     using Text::ParseWords(3.26);
#     using Tie::Persistent(1.00);
#     using URI(1.37);
#     using URI::Escape(3.29);
#     using URI::URL(5.03);
#     using URI::http();
#     using User(1.8);
#     using WWW::Search(2.557);
#     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 /usr/local/lib/perl5/site_perl/5.10.0/WWW/Search.pm line 1291.
Use of uninitialized value in pattern match (m//) at /usr/local/lib/perl5/site_perl/5.10.0/WWW/Search.pm line 1291.
Use of uninitialized value in pattern match (m//) at /usr/local/lib/perl5/site_perl/5.10.0/WWW/Search.pm line 1291.
Use of uninitialized value in pattern match (m//) at /usr/local/lib/perl5/site_perl/5.10.0/WWW/Search.pm line 1291.
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 /usr/local/lib/perl5/site_perl/5.10.0/WWW/Search.pm line 915.
Use of uninitialized value $_ in substitution (s///) at /usr/local/lib/perl5/site_perl/5.10.0/WWW/Search.pm line 916.
Argument "2,390,000" isn't numeric in numeric le (<=) at /usr/local/lib/perl5/site_perl/5.10.0/WWW/Search.pm line 662.
Use of uninitialized value $_ in substitution (s///) at /usr/local/lib/perl5/site_perl/5.10.0/WWW/Search.pm line 915.
Use of uninitialized value $_ in substitution (s///) at /usr/local/lib/perl5/site_perl/5.10.0/WWW/Search.pm line 916.
Argument "2,390,000" isn't numeric in numeric le (<=) at /usr/local/lib/perl5/site_perl/5.10.0/WWW/Search.pm line 662.
not ok 6 - Google
#     Failed test (test.pl at line 129)
Use of uninitialized value $_ in substitution (s///) at /usr/local/lib/perl5/site_perl/5.10.0/WWW/Search.pm line 915.
Use of uninitialized value $_ in substitution (s///) at /usr/local/lib/perl5/site_perl/5.10.0/WWW/Search.pm line 916.
Use of uninitialized value $_ in substitution (s///) at /usr/local/lib/perl5/site_perl/5.10.0/WWW/Search.pm line 915.
Use of uninitialized value $_ in substitution (s///) at /usr/local/lib/perl5/site_perl/5.10.0/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 /usr/local/lib/perl5/site_perl/5.10.0/WWW/Search.pm line 915.
Use of uninitialized value $_ in substitution (s///) at /usr/local/lib/perl5/site_perl/5.10.0/WWW/Search.pm line 916.
Use of uninitialized value $_ in substitution (s///) at /usr/local/lib/perl5/site_perl/5.10.0/WWW/Search.pm line 915.
Use of uninitialized value $_ in substitution (s///) at /usr/local/lib/perl5/site_perl/5.10.0/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.010000
VERSIONS OF MODULES ON WHICH SCRAPER DEPENDS
    using HTML::Form(5.813);
    using HTML::TreeBuilder(3.23);
    using HTTP::Cookies(5.810);
    using HTTP::Request(5.811);
    using HTTP::Response(5.813);
    using HTTP::Status(5.811);
    using LWP(5.813);
    using LWP::RobotUA(5.813);
    using LWP::UserAgent(5.813);
    using Storable(2.18);
    using Text::ParseWords(3.26);
    using Tie::Persistent(1.00);
    using URI(1.37);
    using URI::Escape(3.29);
    using URI::URL(5.03);
    using URI::http();
    using User(1.8);
    using WWW::Search(2.557);
    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): 2140
 --- 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): 2140
 --- 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&q=search scraper&start=10&sa=N
 --- response message: 200 OK
 --- content size (bytes): 25149
 --- 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&q=search scraper&start=10&sa=N
 --- response message: 200 OK
 --- content size (bytes): 26772
 --- 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): 24548
 --- 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): 24598
 --- 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.813
    HTML::TreeBuilder 0     3.23 
    HTTP::Cookies     0     5.810
    HTTP::Request     0     5.811
    HTTP::Response    0     5.813
    HTTP::Status      0     5.811
    LWP               5.48  5.813
    LWP::RobotUA      0     5.813
    LWP::UserAgent    0     5.813
    Storable          0.6   2.18 
    Text::ParseWords  3.2   3.26 
    Tie::Persistent   0.901 1.00 
    URI               0     1.37 
    URI::Escape       0     3.29 
    URI::http         0     0    
    URI::URL          0     5.03 
    User              1.05  1.8  
    WWW::Search       2.35  2.557
    XML::XPath        0     1.13 

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

Environment variables:

    LANG = en_US.UTF-8
    PATH = /usr/kerberos/sbin:/usr/kerberos/bin:/usr/bin:/bin:/home/maxim/bin:/home/maxim/bin
    PERL5LIB = 
    PERL5_CPANPLUS_IS_RUNNING = 11248
    PERL5_CPAN_IS_RUNNING = 11248
    SHELL = /bin/bash
    TERM = xterm

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

    $^X = /usr/local/bin/perl
    $UID/$EUID = 0 / 0
    $GID = 0 0 1 2 3 4 6 10 9541
    $EGID = 0 0 1 2 3 4 6 10 9541

Perl module toolchain versions installed:

    Module              Have     
    ------------------- ---------
    CPAN                1.9205   
    Cwd                 3.2701   
    ExtUtils::CBuilder  0.21     
    ExtUtils::Command   1.13     
    ExtUtils::Install   1.44     
    ExtUtils::MakeMaker 6.42     
    ExtUtils::Manifest  1.51_01  
    ExtUtils::ParseXS   2.18_02  
    File::Spec          3.2701   
    Module::Build       0.2808_01
    Module::Signature   n/a      
    Test::Harness       2.64     
    Test::More          0.72     
    YAML                0.66     
    YAML::Syck          1.05     
    version             0.74     


--

Summary of my perl5 (revision 5 version 10 subversion 0) configuration:
  Platform:
    osname=linux, osvers=2.6.18-8.1.8.el5, archname=x86_64-linux-thread-multi
    uname='linux tukki.fnal.gov 2.6.18-8.1.8.el5 #1 smp thu jul 12 15:15:31 edt 2007 x86_64 x86_64 x86_64 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=define, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
    optimize='-O2',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/include/gdbm'
    ccversion='', gccversion='4.1.2 20070626 (Red Hat 4.1.2-14)', gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib /lib64 /usr/lib64 /usr/local/lib64
    libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
    libc=/lib/libc-2.5.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.5'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib'



Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About