Report for WWW-Patent-Page-0.109.0

Back
From: Slaven Rezić
Subject: FAIL WWW-Patent-Page-0.109.0 v5.19.11 GNU/Linux
Date: 2014-05-14T19:06:28Z

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 Wanda B. Anon,

This is a computer-generated report for WWW-Patent-Page-0.109.0
on perl 5.19.11, created by CPAN-Reporter-1.2011.

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:

none provided

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

Output from './Build test':

# 
# perl version 5.019011 for linux
# Archive::Zip version 1.37
# Carp version 1.3301
# Data::Dumper version 2.151
# English version 1.09
# File::Temp version 0.2304
# File::Spec version 3.47
# HTML::Form version 6.03
# HTML::HeadParser version 3.71
# HTML::TokeParser version 3.69
# HTTP::Headers version 6.05
# HTTP::Request::Common version 6.04
# HTTP::Response version 6.04
# IO::Scalar version 2.110
# LWP::UserAgent version 6.06
# PDF::API2 version 2.021
# Test::More version 1.001002
# URI version 1.60
t/001_load.t .......... ok
t/014_pod.t ........... skipped: Author test only.  Set $ENV{TEST_AUTHOR} to "Wanda_B_Anon" to run.
t/015_pod_coverage.t .. skipped: Author test only.  Set $ENV{TEST_AUTHOR} to "Wanda_B_Anon" to run.
# Testing for network and proxy.  even passing this, a common reason for failing another test suite is network, network proxy, or network time out issues.  see http://cpantesters.perl.org/show/WWW-Patent-Page.html for failure credibility.
t/020_network.t ....... ok
t/035_defaults.t ...... ok
document id 'A100,002'
not parsed. at t/040_parse_doc_id.t line 192.
document id 'USA100,002'
not parsed. at t/040_parse_doc_id.t line 192.
Use of uninitialized value in uc at
	/tmpfs/.cpan-build/WWW-Patent-Page-0.109.0-ypopM9/blib/lib/WWW/Patent/Page.pm line 256 (#1)
    (W uninitialized) An undefined value was used as if it were already
    defined.  It was interpreted as a "" or a 0, but maybe it was a mistake.
    To suppress this warning assign a defined value to your variables.
    
    To help you figure out what was undefined, perl will try to tell you
    the name of the variable (if any) that was undefined.  In some cases
    it cannot do this, so it also tells you what operation you used the
    undefined value in.  Note, however, that perl optimizes your program
    and the operation displayed in the warning may not necessarily appear
    literally in your program.  For example, "that $foo" is usually
    optimized into "that " . $foo, and the warning will refer to the
    concatenation (.) operator, even though there is no . in
    your program.
    
t/040_parse_doc_id.t .. ok
t/100_uspto.t ......... ok
server responded with code 500, internal server error, trying again for you in case they got their act together in the last few seconds at /tmpfs/.cpan-build/WWW-Patent-Page-0.109.0-ypopM9/blib/lib/WWW/Patent/Page.pm line 421.
	WWW::Patent::Page::request(WWW::Patent::Page=HASH(0x28fbaf8), HTTP::Request=HASH(0x3bb3e10)) called at /tmpfs/.cpan-build/WWW-Patent-Page-0.109.0-ypopM9/blib/lib/WWW/Patent/Page/USPTO.pm line 420
	WWW::Patent::Page::USPTO::USPTO_pdf(WWW::Patent::Page=HASH(0x28fbaf8), WWW::Patent::Page::Response=HASH(0x3b73950)) called at /tmpfs/.cpan-build/WWW-Patent-Page-0.109.0-ypopM9/blib/lib/WWW/Patent/Page.pm line 390
	WWW::Patent::Page::get_page(WWW::Patent::Page=HASH(0x28fbaf8), "US6123456", "office", "USPTO", "format", "pdf", "page", 1) called at t/105_uspto_pdf.t line 13
server responded with code 500, internal server error, trying again for you in case they got their act together in the last few seconds at /tmpfs/.cpan-build/WWW-Patent-Page-0.109.0-ypopM9/blib/lib/WWW/Patent/Page.pm line 421.
	WWW::Patent::Page::request(WWW::Patent::Page=HASH(0x28fbaf8), HTTP::Request=HASH(0x3bb3e10)) called at /tmpfs/.cpan-build/WWW-Patent-Page-0.109.0-ypopM9/blib/lib/WWW/Patent/Page/USPTO.pm line 420
	WWW::Patent::Page::USPTO::USPTO_pdf(WWW::Patent::Page=HASH(0x28fbaf8), WWW::Patent::Page::Response=HASH(0x3b73950)) called at /tmpfs/.cpan-build/WWW-Patent-Page-0.109.0-ypopM9/blib/lib/WWW/Patent/Page.pm line 390
	WWW::Patent::Page::get_page(WWW::Patent::Page=HASH(0x28fbaf8), "US6123456", "office", "USPTO", "format", "pdf", "page", 1) called at t/105_uspto_pdf.t line 13
Uncaught exception from user code:
	original url = "GET http://patimg2.uspto.govhttp://pdfpiw.uspto.gov/56/234/061/1.pdf
	User-Agent: WWW::Patent::Page/0.109.0
	
	", request that caused this response = "GET http://patimg2.uspto.govhttp://pdfpiw.uspto.gov/56/234/061/1.pdf
	User-Agent: WWW::Patent::Page/0.109.0
	
	", response code = "500" = "Can't connect to patimg2.uspto.govhttp::80 (Bad hostname)", response as string = "500 Can't connect to patimg2.uspto.govhttp::80 (Bad hostname)
	Content-Type: text/plain
	Client-Date: Wed, 14 May 2014 18:22:36 GMT
	Client-Warning: Internal response
	
	Can't connect to patimg2.uspto.govhttp::80 (Bad hostname)
	
	LWP::Protocol::http::Socket: Bad hostname 'patimg2.uspto.govhttp:' at /opt/perl-5.19.11t/lib/site_perl/5.19.11/LWP/Protocol/http.pm line 41.
	" at /tmpfs/.cpan-build/WWW-Patent-Page-0.109.0-ypopM9/blib/lib/WWW/Patent/Page.pm line 424.
		WWW::Patent::Page::request(WWW::Patent::Page=HASH(0x28fbaf8), HTTP::Request=HASH(0x3bb3e10)) called at /tmpfs/.cpan-build/WWW-Patent-Page-0.109.0-ypopM9/blib/lib/WWW/Patent/Page/USPTO.pm line 420
		WWW::Patent::Page::USPTO::USPTO_pdf(WWW::Patent::Page=HASH(0x28fbaf8), WWW::Patent::Page::Response=HASH(0x3b73950)) called at /tmpfs/.cpan-build/WWW-Patent-Page-0.109.0-ypopM9/blib/lib/WWW/Patent/Page.pm line 390
		WWW::Patent::Page::get_page(WWW::Patent::Page=HASH(0x28fbaf8), "US6123456", "office", "USPTO", "format", "pdf", "page", 1) called at t/105_uspto_pdf.t line 13
	WWW::Patent::Page::request(WWW::Patent::Page=HASH(0x28fbaf8), HTTP::Request=HASH(0x3bb3e10)) called at /tmpfs/.cpan-build/WWW-Patent-Page-0.109.0-ypopM9/blib/lib/WWW/Patent/Page/USPTO.pm line 420
	WWW::Patent::Page::USPTO::USPTO_pdf(WWW::Patent::Page=HASH(0x28fbaf8), WWW::Patent::Page::Response=HASH(0x3b73950)) called at /tmpfs/.cpan-build/WWW-Patent-Page-0.109.0-ypopM9/blib/lib/WWW/Patent/Page.pm line 390
	WWW::Patent::Page::get_page(WWW::Patent::Page=HASH(0x28fbaf8), "US6123456", "office", "USPTO", "format", "pdf", "page", 1) called at t/105_uspto_pdf.t line 13
# Looks like you planned 21 tests but ran 2.
# Looks like your test exited with 22 just after 2.
t/105_uspto_pdf.t ..... 
Dubious, test returned 22 (wstat 5632, 0x1600)
Failed 19/21 subtests 

Test Summary Report
-------------------
t/105_uspto_pdf.t   (Wstat: 5632 Tests: 2 Failed: 0)
  Non-zero exit status: 22
  Parse errors: Bad plan.  You planned 21 tests but ran 2.
Files=8, Tests=245, 36 wallclock secs ( 0.07 usr  0.07 sys +  1.65 cusr  0.35 csys =  2.14 CPU)
Result: FAIL
Failed 1/8 test programs. 0/245 subtests failed.

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

Prerequisite modules loaded:

requires:

    Module                Need Have    
    --------------------- ---- --------
    Archive::Zip          0    1.37    
    base                  0    2.22    
    Carp                  0    1.3301  
    Data::Dumper          0    2.151   
    diagnostics           0    1.34    
    English               0    1.09    
    File::Spec            0    3.47    
    File::Temp            0.17 0.2304  
    HTML::Form            0    6.03    
    HTML::HeadParser      0    3.71    
    HTML::TokeParser      0    3.69    
    HTTP::Headers         0    6.05    
    HTTP::Request::Common 0    6.04    
    HTTP::Response        0    6.04    
    IO::Scalar            0    2.110   
    LWP::UserAgent        0    6.06    
    PDF::API2             0.53 2.021   
    strict                0    1.08    
    subs                  0    1.02    
    Test::More            0    1.001002
    URI                   0    1.60    
    vars                  0    1.03    
    version               0    0.9908  
    warnings              0    1.23    

configure_requires:

    Module                Need Have    
    --------------------- ---- --------
    ExtUtils::MakeMaker   0    6.94    


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

Environment variables:

    DBIC_NO_WARN_BAD_PERL = 1
    LANG = C
    PATH = /usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/eserte/bin/linux-gnu:/home/eserte/bin/sh:/home/eserte/bin:/usr/games:/home/eserte/devel:/home/eserte/src/srezic-misc/scripts
    PERL5LIB = 
    PERL5OPT = 
    PERL5_CPANPLUS_IS_RUNNING = 12911
    PERL5_CPAN_IS_RUNNING = 12911
    PERL5_CPAN_IS_RUNNING_IN_RECURSION = 7420,12911
    PERLDOC = -MPod::Perldoc::ToTextOverstrike
    PERL_BATCH = yes
    PERL_CPAN_REPORTER_CONFIG = /var/tmp/cpansmoker-1001/xpMiceWoBn_config.ini
    PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
    PERL_HTML_DISPLAY_CLASS = HTML::Display::Mozilla
    PERL_PARALLEL_SMOKER = yes
    SHELL = /bin/zsh
    TERM = screen
    TMPDIR = /var/tmp/cpansmoker-1001

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

    $^X = /bbbike/perl-5.19.11t/bin/perl5.19.11
    $UID/$EUID = 1001 / 1001
    $GID = 1001 109 1001
    $EGID = 1001 109 1001

Perl module toolchain versions installed:

    Module              Have    
    ------------------- --------
    CPAN                2.05    
    CPAN::Meta          2.140640
    Cwd                 3.47    
    ExtUtils::CBuilder  0.280216
    ExtUtils::Command   1.18    
    ExtUtils::Install   1.67    
    ExtUtils::MakeMaker 6.94    
    ExtUtils::Manifest  1.63    
    ExtUtils::ParseXS   3.24    
    File::Spec          3.47    
    JSON                2.90    
    JSON::PP            2.27203 
    Module::Build       0.4205  
    Module::Signature   0.73    
    Parse::CPAN::Meta   1.4414  
    Test::Harness       3.30    
    Test::More          1.001002
    YAML                0.90    
    YAML::Syck          1.27    
    version             0.9908  


--

Summary of my perl5 (revision 5 version 19 subversion 11) configuration:
   
  Platform:
    osname=linux, osvers=3.2.0-4-amd64, archname=x86_64-linux-thread-multi
    uname='linux eserte 3.2.0-4-amd64 #1 smp debian 3.2.57-3 x86_64 gnulinux '
    config_args='-ds -e -Dprefix=/opt/perl-5.19.11t -Dusedevel -Dusemallocwrap=no -Dusethreads'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=define, usemultiplicity=define
    use64bitint=define, use64bitall=define, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fwrapv -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 -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
    ccversion='', gccversion='4.7.2', 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 =' -fstack-protector -L/usr/local/lib'
    libpth=/usr/local/lib /usr/lib/gcc/x86_64-linux-gnu/4.7/include-fixed /usr/include/x86_64-linux-gnu /usr/lib /lib/x86_64-linux-gnu /lib/../lib /usr/lib/x86_64-linux-gnu /usr/lib/../lib /lib
    libs=-lnsl -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
    libc=libc-2.13.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.13'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector'


Characteristics of this binary (from libperl): 
  Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS
                        PERL_DONT_CREATE_GVSV
                        PERL_HASH_FUNC_ONE_AT_A_TIME_HARD
                        PERL_IMPLICIT_CONTEXT PERL_NEW_COPY_ON_WRITE
                        PERL_PRESERVE_IVUV PERL_USE_DEVEL USE_64_BIT_ALL
                        USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES
                        USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE
                        USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF
                        USE_REENTRANT_API
  Built under linux
  Compiled at May 14 2014 07:15:46
  %ENV:
    PERL5LIB=""
    PERL5OPT=""
    PERL5_CPANPLUS_IS_RUNNING="12911"
    PERL5_CPAN_IS_RUNNING="12911"
    PERL5_CPAN_IS_RUNNING_IN_RECURSION="7420,12911"
    PERLDOC="-MPod::Perldoc::ToTextOverstrike"
    PERL_BATCH="yes"
    PERL_CPAN_REPORTER_CONFIG="/var/tmp/cpansmoker-1001/xpMiceWoBn_config.ini"
    PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
    PERL_HTML_DISPLAY_CLASS="HTML::Display::Mozilla"
    PERL_PARALLEL_SMOKER="yes"
  @INC:
    /opt/perl-5.19.11t/lib/site_perl/5.19.11/x86_64-linux-thread-multi
    /opt/perl-5.19.11t/lib/site_perl/5.19.11
    /opt/perl-5.19.11t/lib/5.19.11/x86_64-linux-thread-multi
    /opt/perl-5.19.11t/lib/5.19.11
    .