Skip Menu |

This queue is for tickets about the WWW-Google-Images CPAN distribution.

Report information
The Basics
Id: 12142
Status: resolved
Priority: 0/
Queue: WWW-Google-Images

People
Owner: Nobody in particular
Requestors: arthur [...] korn.ch
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.6.1
Fixed in: (no value)



Subject: prerequisites of test.pl
installing WWW-Google-Images-0.6.1 with the CPAN module fails since test.pl of WWW::Google::Images uses Image::Info which is not yet installed and not listed as requirement. Installing Image::Info manually fixed the problem for me. CPAN.pm: Going to build G/GR/GROUSSE/WWW-Google-Images-0.6.1.tar.gz cp lib/WWW/Google/Images/SearchResult.pm blib/lib/WWW/Google/Images/SearchResult.pm cp lib/WWW/Google/Images.pm blib/lib/WWW/Google/Images.pm cp lib/WWW/Google/Images/Image.pm blib/lib/WWW/Google/Images/Image.pm cp bin/fetch-google-images blib/script/fetch-google-images /usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/fetch-google-images Manifying blib/man3/WWW::Google::Images::SearchResult.3pm Manifying blib/man3/WWW::Google::Images.3pm Manifying blib/man3/WWW::Google::Images::Image.3pm /usr/bin/make -- OK Running make test make: Warning: File `pm_to_blib' has modification time 2 s in the future PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl 1..35 Can't locate Image/Info.pm in @INC (@INC contains: blib/lib blib/arch /etc/perl /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl /usr/local/lib/perl/5.8.0 /usr/local/share/perl/5.8.0 .) at test.pl line 7. BEGIN failed--compilation aborted at test.pl line 7. # Looks like your test died before it could output anything. make: *** [test_dynamic] Error 2 /usr/bin/make test -- NOT OK This is perl, v5.8.4 built for i386-linux-thread-multi Linux turing.prv.korn.ch 2.6.8-2-686 #1 Mon Jan 24 03:58:38 EST 2005 i686 GNU/Linux Debian unstable
From: arthur [...] korn.ch
Hmm, ok it just looked like it would work after installing Image::Info. Now the tests of WWW::Google::Images are run but fail. Show quoted text
cpan> install WWW::Google::Images
Running install for module WWW::Google::Images Running make for G/GR/GROUSSE/WWW-Google-Images-0.6.1.tar.gz Is already unwrapped into directory /home/twoflower/arthur/.cpan/build/WWW-Google-Images-0.6.1 Has already been processed within this session Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl 1..35 ok 1 - use WWW::Google::Images; ok 2 - constructor returns a WWW::Google::Images object isa WWW::Google::Images ok 3 - search returns a WWW::Google::Images::SearchResult object isa WWW::Google::Images::SearchResult ok 4 - iteration returns a WWW::Google::Images::Image object isa WWW::Google::Images::Image ok 5 - content URL exist ok 6 ok 7 - content URL is an image file URL ok 8 - context URL exist ok 9 ok 10 - context URL is an web page URL ok 11 - content file is saved correctly with imposed file name ok 12 - content file is saved correctly with imposed base name ok 13 - content file is saved correctly with original name ok 14 - context file is saved correctly with imposed file name ok 15 - context file is saved correctly with imposed base name ok 16 - context file is saved correctly with original name ok 17 - search limit < 20 works ok 18 - path is created on the fly ok 19 - summary is created ok 20 - file exists ok 21 ok 22 - summary has the correct lines number ok 23 - default search limit ok 24 - search limit > 20 works ok 25 - no search limit not ok 26 - minimum size works # Failed test (test.pl at line 104) ok 27 - maximum size works ok 28 - minimum width works ok 29 - maximum width works ok 30 - minimum height works ok 31 - maximum height works ok 32 - case-sensitive jpg regex works ok 33 - case-insensitive jpg regex works Can't call method "value" on an undefined value at /usr/local/share/perl/5.8.4/WWW/Mechanize.pm line 1151. Can't return to /tmp/XxWWTIogSW/min_size from /tmp/XxWWTIogSW (No such file or directory) at /usr/share/perl/5.8/File/Temp.pm line 858 END failed--call queue aborted. # Looks like you planned 35 tests but only ran 33. # Looks like your test died just after 33. 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
[guest - Tue Apr 5 04:52:17 2005]: Show quoted text
> Hmm, ok it just looked like it would work after installing Image::Info. > Now the tests of WWW::Google::Images are run but fail.
I just fixed both the missing dependency and the test failure in 0.6.2. Thanks for the report.