Skip Menu |
 

This queue is for tickets about the HTML-WikiConverter CPAN distribution.

Report information
The Basics
Id: 92554
Status: new
Priority: 0/
Queue: HTML-WikiConverter

People
Owner: Nobody in particular
Requestors: hans [...] matfyz.cz
lxp [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.68
Fixed in: (no value)



Subject: t/01-wikiconverter.t failed on Strawberry perl v5.18.2
Date: Wed, 29 Jan 2014 11:28:40 +0100
To: <bug-HTML-WikiConverter [...] rt.cpan.org>
From: Hans Ginzel <hans [...] matfyz.cz>
Download (untitled) / with headers
text/plain 8.2k
Hello, this is the log file: cpanm (App::cpanminus) 1.7001 on perl 5.018002 built for MSWin32-x86-multi-thread-64int Work directory is D:\bin\STRAWB~1\data/.cpanm/work/1390990517.5520 You have make D:\bin\Strawberry\c\bin\dmake.exe You have LWP 6.05 Falling back to Archive::Tar 1.96 You have D:\bin\texlive\2013\bin\win32\unzip.exe Searching HTML::WikiConverter on cpanmetadb ... --> Working on HTML::WikiConverter Fetching http://www.cpan.org/authors/id/D/DI/DIBERRI/HTML-WikiConverter-0.68.tar.gz -> OK Unpacking HTML-WikiConverter-0.68.tar.gz Entering HTML-WikiConverter-0.68 Checking configure dependencies from META.yml Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.84) Configuring HTML-WikiConverter-0.68 Running Makefile.PL Warning: prerequisite CSS 1.07 not found. Warning: prerequisite Class::Data::Inheritable 0.02 not found. Checking if your kit is complete... Looks good Generating a dmake-style Makefile Writing Makefile for HTML::WikiConverter Writing MYMETA.yml and MYMETA.json -> OK Checking dependencies from MYMETA.json ... Checking if you have HTML::Tagset 3.04 ... Yes (3.20) Checking if you have Params::Validate 0.77 ... Yes (1.08) Checking if you have Exporter 0 ... Yes (5.68) Checking if you have Class::Data::Inheritable 0.02 ... No Checking if you have URI::Escape 0 ... Yes (3.31) Checking if you have HTML::Tree 3.18 ... Yes (5.03) Checking if you have Carp 0 ... Yes (1.32) Checking if you have HTML::Entities 1.27 ... Yes (3.69) Checking if you have URI 1.35 ... Yes (1.60) Checking if you have HTML::Element 0 ... Yes (5.03) Checking if you have Pod::Usage 1.16 ... Yes (1.63) Checking if you have CSS 1.07 ... No Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.84) Checking if you have Test::More 0 ... Yes (1.001002) ==> Found dependencies: Class::Data::Inheritable, CSS Searching Class::Data::Inheritable on cpanmetadb ... --> Working on Class::Data::Inheritable Fetching http://www.cpan.org/authors/id/T/TM/TMTM/Class-Data-Inheritable-0.08.tar.gz -> OK Unpacking Class-Data-Inheritable-0.08.tar.gz Entering Class-Data-Inheritable-0.08 Checking configure dependencies from META.yml Configuring Class-Data-Inheritable-0.08 Running Makefile.PL Checking if your kit is complete... Looks good Generating a dmake-style Makefile Writing Makefile for Class::Data::Inheritable Writing MYMETA.yml and MYMETA.json -> OK Checking dependencies from MYMETA.json ... Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.84) Building and testing Class-Data-Inheritable-0.08 cp lib/Class/Data/Inheritable.pm blib\lib\Class\Data\Inheritable.pm D:\bin\Strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\lib', 'blib\arch')" t/*.t t/Inheritable.t ... ok t/pod-coverage.t .. skipped: Test::Pod::Coverage 1.00 required for testing POD coverage t/pod.t ........... skipped: Test::Pod 1.00 required for testing POD All tests successful. Files=3, Tests=15, 1 wallclock secs ( 0.08 usr + 0.05 sys = 0.13 CPU) Result: PASS Installing D:\bin\Strawberry\perl\site\lib\Class\Data\Inheritable.pm Appending installation info to D:\bin\Strawberry\perl\lib/perllocal.pod -> OK Successfully installed Class-Data-Inheritable-0.08 Installing D:\bin\Strawberry\perl\site\lib\MSWin32-x86-multi-thread-64int\.meta\Class-Data-Inheritable-0.08\install.json Installing D:\bin\Strawberry\perl\site\lib\MSWin32-x86-multi-thread-64int\.meta\Class-Data-Inheritable-0.08\MYMETA.json Searching CSS on cpanmetadb ... --> Working on CSS Fetching http://www.cpan.org/authors/id/I/IA/IAMCAL/CSS-1.09.tar.gz -> OK Unpacking CSS-1.09.tar.gz Entering CSS-1.09 Checking configure dependencies from META.yml Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.84) Configuring CSS-1.09 Running Makefile.PL Checking if your kit is complete... Looks good Generating a dmake-style Makefile Writing Makefile for CSS Writing MYMETA.yml and MYMETA.json -> OK Checking dependencies from MYMETA.json ... Checking if you have Parse::RecDescent 1 ... Yes (1.967009) Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.84) Checking if you have Test::Simple 0 ... Yes (1.001002) Building and testing CSS-1.09 cp CSS/Parse.pm blib\lib\CSS\Parse.pm cp CSS/Adaptor/Pretty.pm blib\lib\CSS\Adaptor\Pretty.pm cp CSS/Property.pm blib\lib\CSS\Property.pm cp CSS/Adaptor.pm blib\lib\CSS\Adaptor.pm cp CSS/Parse/PRDGrammar.pm blib\lib\CSS\Parse\PRDGrammar.pm cp CSS/Parse/CompiledGrammar.pm blib\lib\CSS\Parse\CompiledGrammar.pm cp CSS/Selector.pm blib\lib\CSS\Selector.pm cp CSS/Parse/Heavy.pm blib\lib\CSS\Parse\Heavy.pm cp CSS/Adaptor/Debug.pm blib\lib\CSS\Adaptor\Debug.pm cp CSS/Style.pm blib\lib\CSS\Style.pm cp CSS/Value.pm blib\lib\CSS\Value.pm cp CSS/Parse/Compiled.pm blib\lib\CSS\Parse\Compiled.pm cp CSS.pm blib\lib\CSS.pm cp CSS/Parse/Lite.pm blib\lib\CSS\Parse\Lite.pm D:\bin\Strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\lib', 'blib\arch')" t/*.t t/01_basic.t ........... ok t/02_parse_lite.t ...... ok t/03_parse_heavy.t ..... ok t/04_parse_compiled.t .. ok t/05_search.t .......... ok t/06_adaptor_simple.t .. ok t/07_adaptor_pretty.t .. ok t/08_adaptor_debug.t ... ok All tests successful. Files=8, Tests=42, 4 wallclock secs ( 0.08 usr + 0.06 sys = 0.14 CPU) Result: PASS Installing D:\bin\Strawberry\perl\site\lib\CSS.pm Installing D:\bin\Strawberry\perl\site\lib\CSS\Adaptor.pm Installing D:\bin\Strawberry\perl\site\lib\CSS\Parse.pm Installing D:\bin\Strawberry\perl\site\lib\CSS\Property.pm Installing D:\bin\Strawberry\perl\site\lib\CSS\Selector.pm Installing D:\bin\Strawberry\perl\site\lib\CSS\Style.pm Installing D:\bin\Strawberry\perl\site\lib\CSS\Value.pm Installing D:\bin\Strawberry\perl\site\lib\CSS\Adaptor\Debug.pm Installing D:\bin\Strawberry\perl\site\lib\CSS\Adaptor\Pretty.pm Installing D:\bin\Strawberry\perl\site\lib\CSS\Parse\Compiled.pm Installing D:\bin\Strawberry\perl\site\lib\CSS\Parse\CompiledGrammar.pm Installing D:\bin\Strawberry\perl\site\lib\CSS\Parse\Heavy.pm Installing D:\bin\Strawberry\perl\site\lib\CSS\Parse\Lite.pm Installing D:\bin\Strawberry\perl\site\lib\CSS\Parse\PRDGrammar.pm Appending installation info to D:\bin\Strawberry\perl\lib/perllocal.pod -> OK Successfully installed CSS-1.09 Installing D:\bin\Strawberry\perl\site\lib\MSWin32-x86-multi-thread-64int\.meta\CSS-1.09\install.json Installing D:\bin\Strawberry\perl\site\lib\MSWin32-x86-multi-thread-64int\.meta\CSS-1.09\MYMETA.json Building and testing HTML-WikiConverter-0.68 cp lib/HTML/WikiConverter/WebApp.pm blib\lib\HTML\WikiConverter\WebApp.pm cp lib/HTML/WikiConverter/Dialects.pod blib\lib\HTML\WikiConverter\Dialects.pod cp lib/HTML/WikiConverter.pm blib\lib\HTML\WikiConverter.pm cp lib/HTML/WikiConverter/Normalizer.pm blib\lib\HTML\WikiConverter\Normalizer.pm D:\bin\Strawberry\perl\bin\perl.exe -MExtUtils::Command -e cp -- bin/html2wiki blib\script\html2wiki pl2bat.bat blib\script\html2wiki D:\bin\Strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\lib', 'blib\arch')" t/*.t # Testing HTML::WikiConverter 0.68, Perl 5.018002, D:\bin\Strawberry\perl\bin\perl.exe t/00-load.t ........... ok t/01-normalizer.t ..... ok Invalid or unexpected property ' class= ' in style 'this' at D:/bin/Strawberry/perl/site/lib/CSS.pm line 76. # Looks like you planned 53 tests but ran 35. # Looks like your test exited with 255 just after 35. t/01-wikiconverter.t .. Dubious, test returned 255 (wstat 65280, 0xff00) Failed 18/53 subtests t/boilerplate.t ....... ok t/pod-coverage.t ...... skipped: Test::Pod::Coverage 1.04 required for testing POD coverage t/pod.t ............... skipped: Test::Pod 1.14 required for testing POD Test Summary Report ------------------- t/01-wikiconverter.t (Wstat: 65280 Tests: 35 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 53 tests but ran 35. Files=6, Tests=45, 4 wallclock secs ( 0.06 usr + 0.06 sys = 0.12 CPU) Result: FAIL Failed 1/6 test programs. 0/45 subtests failed. dmake.exe: Error code 255, while making 'test_dynamic' -> FAIL Installing HTML::WikiConverter failed. See D:\bin\STRAWB~1\data\.cpanm\work\1390990517.5520\build.log for details. Retry with --force to force install it. Expiring 10 work directories. 2 distributions installed
Download (untitled) / with headers
text/plain 232b
This issue also occurs on an Ubuntu Linux system running Perl v5.18.2, so it's not unique to Strawberry Perl. I've updated the title of this bug report accordingly, and I've added myself as a requestor as I'm facing the same issue.
Download (untitled) / with headers
text/plain 824b
The failing test in this file is: is( $wc4->html2wiki( uri => 'http://diberri.dyndns.org/wikipedia/html2wiki-old/test.html', strip_tags => ['head'] ), '**test**', 'fetch uri, no ua' ); If I go to that URI with my browser, I'm presented with an adf.ly page followed by a domain parking page. Therefore, it seems unlikely that this test will ever succeed again in its current form. If we knew what that page was meant to contain, the test could be rewritten to retrieve that page through a file:// URI and bundle the file with the tests. I took a quick look on the Internet Archive to see whether this page might have been archived. Unfortunately, it wasn't. In my copy of this distribution, I commented out the above test and the two tests following it. The test file then passed without any problems.


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.