Skip Menu |
 

This queue is for tickets about the XML-Twig CPAN distribution.

Report information
The Basics
Id: 71084
Status: resolved
Priority: 0/
Queue: XML-Twig

People
Owner: Nobody in particular
Requestors: bohica [...] ntlworld.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 3.38
Fixed in: 3.39



Subject: t/test_autoencoding_conversion.t fails
Linux Ubuntu 9.10 Karmic using Perl 5.14.0 via perlbrew. prove -vb t/test_autoencoding_conversion.t t/test_autoencoding_conversion.t .. 1..2 testing auto transcoding of latin1 output: expected 'é', got 'é' testing auto transcoding of latin1 output: expected 'é', got 'é' not ok 1 not ok 2 Failed 2/2 subtests perl: 5.014000 OS: linux - i686-linux required XML::Parser : 2.41 Can't exec "xmlwf": No such file or directory at t/zz_dump_config.t line 34. Use of uninitialized value $xmlwf_v in pattern match (m//) at t/zz_dump_config.t line 35. Missing argument in sprintf at t/zz_dump_config.t line 113. expat : <no version information found> Strongly Recommended Scalar::Util : 1.23 (for improved memory management) Encode : 2.42 (for encoding conversions) Modules providing additional features XML::XPathEngine : <not available> (to use XML::Twig::XPath) XML::XPath : 1.13 (to use XML::Twig::XPath if Tree::XPathEngine not available) LWP : 6.02 (for the parseurl method) HTML::TreeBuilder : <not available> (to use parse_html and parsefile_html) HTML::Entities::Numbered : <not available> (to allow parsing of HTML containing named entities) HTML::Tidy : <not available> (to use parse_html and parsefile_html with the use_tidy option) HTML::Entities : 3.68 (for the html_encode filter) Tie::IxHash : <not available> (for the keep_atts_order option) Text::Wrap : 2009.0305 (to use the "wrapped" option for pretty_print) Modules used only by the auto tests Test : 1.25_02 Test::Pod : 1.45 XML::Simple : 2.18 XML::Handler::YAWriter : <not available> XML::SAX::Writer : <not available> XML::Filter::BufferText : <not available> IO::Scalar : 2.110 Martin -- Martin J. Evans Wetherby, UK
Subject: Re: [rt.cpan.org #71084] t/test_autoencoding_conversion.t fails
Date: Tue, 20 Sep 2011 15:19:39 +0200
To: bug-XML-Twig [...] rt.cpan.org
From: mirod <xmltwig [...] gmail.com>
Download (untitled) / with headers
text/plain 4.5k
On 09/20/2011 12:40 PM, Martin J Evans via RT wrote: Show quoted text
> Tue Sep 20 06:40:02 2011: Request 71084 was acted upon. > Transaction: Ticket created by MJEVANS > Queue: XML-Twig > Subject: t/test_autoencoding_conversion.t fails > Broken in: 3.38 > Severity: Normal > Owner: Nobody > Requestors: bohica@ntlworld.com > Status: new > Ticket<URL: https://rt.cpan.org/Ticket/Display.html?id=71084> > > > Linux Ubuntu 9.10 Karmic using Perl 5.14.0 via perlbrew. > > prove -vb t/test_autoencoding_conversion.t > t/test_autoencoding_conversion.t .. > 1..2 > testing auto transcoding of latin1 output: expected 'é', got 'é' > testing auto transcoding of latin1 output: expected 'é', got 'é' > not ok 1 > not ok 2 > Failed 2/2 subtests > > perl: 5.014000 > OS: linux - i686-linux > required > XML::Parser : 2.41 > Can't exec "xmlwf": No such file or directory at t/zz_dump_config.t line > 34. > Use of uninitialized value $xmlwf_v in pattern match (m//) at > t/zz_dump_config.t line 35. > Missing argument in sprintf at t/zz_dump_config.t line 113. > expat :<no version information found> > Strongly Recommended > Scalar::Util : 1.23 (for improved memory > management) > Encode : 2.42 (for encoding conversions) > Modules providing additional features > XML::XPathEngine :<not available> (to use XML::Twig::XPath) > XML::XPath : 1.13 (to use XML::Twig::XPath > if Tree::XPathEngine not available) > LWP : 6.02 (for the parseurl method) > HTML::TreeBuilder :<not available> (to use parse_html and > parsefile_html) > HTML::Entities::Numbered :<not available> (to allow parsing of HTML > containing named entities) > HTML::Tidy :<not available> (to use parse_html and > parsefile_html with the use_tidy option) > HTML::Entities : 3.68 (for the html_encode > filter) > Tie::IxHash :<not available> (for the keep_atts_order > option) > Text::Wrap : 2009.0305 (to use the "wrapped" > option for pretty_print) > Modules used only by the auto tests > Test : 1.25_02 > Test::Pod : 1.45 > XML::Simple : 2.18 > XML::Handler::YAWriter :<not available> > XML::SAX::Writer :<not available> > XML::Filter::BufferText :<not available> > IO::Scalar : 2.110
That's weird, on Ubuntu 11.04, using perl 5.14.0 created with perlbrew I get all the tests to pass (see below). Do you have environment variables that could impact encoding set, like PERLIO, PERL5OPT or PERL_UNICODE? perl: 5.014000 OS: linux - i686-linux required XML::Parser : 2.41 expat : 2.0.1 (required) Strongly Recommended Scalar::Util : 1.23 (for improved memory management) Encode : 2.42 (for encoding conversions) Modules providing additional features XML::XPathEngine : 0.12 (to use XML::Twig::XPath) XML::XPath : 1.13 (to use XML::Twig::XPath if Tree::XPathEngine not available) LWP : 6.02 (for the parseurl method) HTML::TreeBuilder : 4.2 (to use parse_html and parsefile_html) HTML::Entities::Numbered : 0.04 (to allow parsing of HTML containing named entities) HTML::Tidy : 1.54 (to use parse_html and parsefile_html with the use_tidy option) HTML::Entities : 3.68 (for the html_encode filter) Tie::IxHash : 1.22 (for the keep_atts_order option) Text::Wrap : 2009.0305 (to use the "wrapped" option for pretty_print) Modules used only by the auto tests Test : 1.25_02 Test::Pod : 1.45 XML::Simple : 2.18 XML::Handler::YAWriter : 0.23 XML::SAX::Writer : 0.53 XML::Filter::BufferText : 1.01 IO::Scalar : 2.110 Please add this information to bug reports (you can run t/zz_dump_config.t to get it) if you are upgrading the module from a previous version, make sure you read the Changes file for bug fixes, new features and the occasional COMPATIBILITY WARNING t/zz_dump_config.t .................. ok All tests successful. -- mirod
Download (untitled) / with headers
text/plain 406b
On Tue Sep 20 09:21:35 2011, xmltwig@gmail.com wrote: Show quoted text
> That's weird, on Ubuntu 11.04, using perl 5.14.0 created with perlbrew
I Show quoted text
> get all the tests to pass (see below). > > Do you have environment variables that could impact encoding set, like > PERLIO, PERL5OPT or PERL_UNICODE?
OOPS, sorry, I seem to have had PERL_UNICODE=SAL set when the tests were run. Martin -- Martin J. Evans Wetherby, UK
Subject: Re: [rt.cpan.org #71084] t/test_autoencoding_conversion.t fails
Date: Tue, 20 Sep 2011 16:58:36 +0200
To: bug-XML-Twig [...] rt.cpan.org
From: mirod <xmltwig [...] gmail.com>
Download (untitled) / with headers
text/plain 684b
On 09/20/2011 03:43 PM, Martin J Evans via RT wrote: Show quoted text
> Queue: XML-Twig > Ticket<URL: https://rt.cpan.org/Ticket/Display.html?id=71084> > > On Tue Sep 20 09:21:35 2011, xmltwig@gmail.com wrote: >
>> That's weird, on Ubuntu 11.04, using perl 5.14.0 created with perlbrew
> I
>> get all the tests to pass (see below). >> >> Do you have environment variables that could impact encoding set, like >> PERLIO, PERL5OPT or PERL_UNICODE?
> > OOPS, sorry, I seem to have had PERL_UNICODE=SAL set when the tests were > run.
Well, I should skip the test in that case anyway. I added a condition to the test in the development version of the module. Thanks for the report. -- mirod


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.