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
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 2133
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
From xmltwig [...] gmail.com Tue Sep 20 09: 21:33 2011
MIME-Version: 1.0
X-Spam-Status: No, score=-6.95 tagged_above=-99.9 required=10 tests=[AWL=-0.741, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HK_RANDOM_ENVFROM=0.001, RCVD_IN_DNSWL_HI=-5, SPF_NEUTRAL=0.779, T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=ham
In-Reply-To: <rt-3.8.HEAD-20566-1316515203-1869.71084-4-0 [...] rt.cpan.org>
X-Spam-Flag: NO
References: <RT-Ticket-71084 [...] rt.cpan.org> <rt-3.8.HEAD-20566-1316515203-1869.71084-4-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <4E7892EB.5030802 [...] gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
X-RT-Original-Encoding: utf-8
X-Spam-Score: -6.95
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] gmail.com
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id B5D7A2409B8 for <cpan-bug+XML-Twig [...] hipster.bestpractical.com>; Tue, 20 Sep 2011 09:21:33 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VdjoXW5d-QQM for <cpan-bug+XML-Twig [...] hipster.bestpractical.com>; Tue, 20 Sep 2011 09:21:32 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id BF0222409B7 for <bug-XML-Twig [...] rt.cpan.org>; Tue, 20 Sep 2011 09:21:31 -0400 (EDT)
Received: (qmail 21788 invoked by uid 103); 20 Sep 2011 13:21:31 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 20 Sep 2011 13:21:31 -0000
Received: from mail-ww0-f42.google.com (HELO mail-ww0-f42.google.com) (74.125.82.42) by 16.mx.develooper.com (qpsmtpd/0.80/v0.80-19-gf52d165) with ESMTP; Tue, 20 Sep 2011 06:21:28 -0700
Received: by wwn22 with SMTP id 22so5478328wwn.3 for <bug-XML-Twig [...] rt.cpan.org>; Tue, 20 Sep 2011 06:21:24 -0700 (PDT)
Received: by 10.227.55.5 with SMTP id s5mr875504wbg.92.1316524884706; Tue, 20 Sep 2011 06:21:24 -0700 (PDT)
Received: from [192.168.2.200] (static-217-133-18-84.clienti.tiscali.it. [217.133.18.84]) by mx.google.com with ESMTPS id p2sm2269483wbo.17.2011.09.20.06.21.21 (version=SSLv3 cipher=OTHER); Tue, 20 Sep 2011 06:21:23 -0700 (PDT)
Delivered-To: cpan-bug+XML-Twig [...] hipster.bestpractical.com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.18) Gecko/20110617 Thunderbird/3.1.11
Subject: Re: [rt.cpan.org #71084] t/test_autoencoding_conversion.t fails
Return-Path: <xmltwig [...] gmail.com>
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=NGffecBX6JuKLp2aoCLxeJTs0Sk+Tghyz5BLZRQavsk=; b=Uzy61RcHWUngIe5jbqqqgd/GdtFUkuSPkxDjxbCCMeovPAAw0XrtR47CrrF8nCKMLW n6Wk/1BL2idcpnFmKF5Tvz9QuCpb2GWvtQ8pTTyqIK2WDjtf4bP8Ty6Hjiyga0PIxzrq KKZrPiMHdz1RugpqNG4C6o77273vaxT3qI2fY=
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: cpan-bug+XML-Twig [...] hipster.bestpractical.com
X-RT-Mail-Extension: xml-twig
Date: Tue, 20 Sep 2011 15:19:39 +0200
X-Spam-Level:
To: bug-XML-Twig [...] rt.cpan.org
Content-Transfer-Encoding: 8bit
From: mirod <xmltwig [...] gmail.com>
RT-Message-ID: <rt-3.8.HEAD-20563-1316524895-857.71084-0-0 [...] rt.cpan.org>
Content-Length: 4700
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
MIME-Version: 1.0
In-Reply-To: <rt-3.8.HEAD-20563-1316524895-857.71084-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
References: <RT-Ticket-71084 [...] rt.cpan.org> <rt-3.8.HEAD-20566-1316515203-1869.71084-4-0 [...] rt.cpan.org> <4E7892EB.5030802 [...] gmail.com> <rt-3.8.HEAD-20563-1316524895-857.71084-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-20562-1316526183-902.71084-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 406
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
From xmltwig [...] gmail.com Tue Sep 20 11: 01:47 2011
MIME-Version: 1.0
X-Spam-Status: No, score=-6.882 tagged_above=-99.9 required=10 tests=[AWL=-0.673, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HK_RANDOM_ENVFROM=0.001, RCVD_IN_DNSWL_HI=-5, SPF_NEUTRAL=0.779, T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=ham
In-Reply-To: <rt-3.8.HEAD-20562-1316526184-1695.71084-5-0 [...] rt.cpan.org>
X-Spam-Flag: NO
References: <RT-Ticket-71084 [...] rt.cpan.org> <rt-3.8.HEAD-20566-1316515203-1869.71084-4-0 [...] rt.cpan.org> <4E7892EB.5030802 [...] gmail.com> <rt-3.8.HEAD-20563-1316524895-857.71084-5-0 [...] rt.cpan.org> <rt-3.8.HEAD-20562-1316526184-1695.71084-5-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <4E78AA1C.6040206 [...] gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
X-RT-Original-Encoding: utf-8
X-Spam-Score: -6.882
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] gmail.com
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 736582409B0 for <cpan-bug+XML-Twig [...] hipster.bestpractical.com>; Tue, 20 Sep 2011 11:01:47 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id I8m4PV2SME+O for <cpan-bug+XML-Twig [...] hipster.bestpractical.com>; Tue, 20 Sep 2011 11:01:46 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id C925A2407F6 for <bug-XML-Twig [...] rt.cpan.org>; Tue, 20 Sep 2011 11:01:45 -0400 (EDT)
Received: (qmail 30372 invoked by uid 103); 20 Sep 2011 15:01:45 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 20 Sep 2011 15:01:45 -0000
Received: from mail-ww0-f52.google.com (HELO mail-ww0-f52.google.com) (74.125.82.52) by 16.mx.develooper.com (qpsmtpd/0.80/v0.80-19-gf52d165) with ESMTP; Tue, 20 Sep 2011 08:01:43 -0700
Received: by wwj40 with SMTP id 40so967578wwj.21 for <bug-XML-Twig [...] rt.cpan.org>; Tue, 20 Sep 2011 08:01:39 -0700 (PDT)
Received: by 10.227.41.198 with SMTP id p6mr1033577wbe.67.1316530868607; Tue, 20 Sep 2011 08:01:08 -0700 (PDT)
Received: from [192.168.2.200] (static-217-133-18-84.clienti.tiscali.it. [217.133.18.84]) by mx.google.com with ESMTPS id o31sm2182213wbm.16.2011.09.20.08.01.06 (version=SSLv3 cipher=OTHER); Tue, 20 Sep 2011 08:01:08 -0700 (PDT)
Delivered-To: cpan-bug+XML-Twig [...] hipster.bestpractical.com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.21) Gecko/20110831 Thunderbird/3.1.13
Subject: Re: [rt.cpan.org #71084] t/test_autoencoding_conversion.t fails
Return-Path: <xmltwig [...] gmail.com>
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=Zeg1eUrGVgcFar3tpVFbNwuHjxD8JVg0seonY+qHp5c=; b=D6+SQf9v4fHp6dArOey/+q6S5g5xwM/9vraLk2FJunJ67ZERenkcQqJzAtKmKTLyRG D6kJq3n/6ytMBmVk24QYjoXJIz81INxDmKD9wxKzZPyIg42PfTMHOSVLzbddzvdO4gHG EG8pInlmWJ1bbPoGUa2d/wAY38AbTsL7xeLfk=
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: cpan-bug+XML-Twig [...] hipster.bestpractical.com
X-RT-Mail-Extension: xml-twig
Date: Tue, 20 Sep 2011 16:58:36 +0200
X-Spam-Level:
To: bug-XML-Twig [...] rt.cpan.org
Content-Transfer-Encoding: 7bit
From: mirod <xmltwig [...] gmail.com>
RT-Message-ID: <rt-3.8.HEAD-20562-1316530908-218.71084-0-0 [...] rt.cpan.org>
Content-Length: 684
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.