Skip Menu |

This queue is for tickets about the Perl-Tidy CPAN distribution.

Report information
The Basics
Id: 88588
Status: open
Priority: 0/
Queue: Perl-Tidy

People
Owner: Nobody in particular
Requestors: paul.a.liebert [...] hp.com
Cc:
AdminCc:

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



Subject: INDEX END tag change in pod2html breaks perltidy -html
Running perltidy to generate html now produces error messages like Did not find INDEX END in pod2html output print() on closed filehandle STDOUT at /apps/perl-5.16.3/2.6x86_64/lib/5.16.3/x86_64-linux/IO/Handle.pm line 417. I have tracked this down to a change in pod2html. pod2html no longer issues comment tags of <!-- INDEX BEGIN --> and <!-- INDEX END --> around the index section. perltidy depends on these tags being present. This should reproduce the problem for any 'my_script' that has pod: perltidy -html -nnn -st my_script > my_html Perl::Tidy 1.74 Pod::Html 1.15_02 This is perl 5, version 16, subversion 3 (v5.16.3) built for x86_64-linux
Subject: Re: [rt.cpan.org #88588] INDEX END tag change in pod2html breaks perltidy -html
Date: Tue, 10 Sep 2013 15:10:46 -0700
To: bug-Perl-Tidy [...] rt.cpan.org
From: Steven Hancock <s7078hancock [...] gmail.com>
Thanks, that's unfortunate. Pod::Html almost never changes. I haven't updated my Pod::Html yet to reproduce this, but do you think I could look for <div name="index"> instead if the <!-- INDEX BEGIN --> and the subsequent </div> instead of <!-- INDEX END --> as the termination? Steve On Tue, Sep 10, 2013 at 10:58 AM, Paul Liebert via RT < bug-Perl-Tidy@rt.cpan.org> wrote: Show quoted text
> Tue Sep 10 13:58:38 2013: Request 88588 was acted upon. > Transaction: Ticket created by paauull > Queue: Perl-Tidy > Subject: INDEX END tag change in pod2html breaks perltidy -html > Broken in: 20130806 > Severity: (no value) > Owner: Nobody > Requestors: paul.a.liebert@hp.com > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=88588 > > > > Running perltidy to generate html now produces error messages like > > Did not find INDEX END in pod2html output > print() on closed filehandle STDOUT at > /apps/perl-5.16.3/2.6x86_64/lib/5.16.3/x86_64-linux/IO/Handle.pm line 417. > > I have tracked this down to a change in pod2html. pod2html no longer > issues comment tags of <!-- INDEX BEGIN --> and <!-- INDEX END --> around > the index section. perltidy depends on these tags being present. > > This should reproduce the problem for any 'my_script' that has pod: > > perltidy -html -nnn -st my_script > my_html > > Perl::Tidy 1.74 > Pod::Html 1.15_02 > > This is perl 5, version 16, subversion 3 (v5.16.3) built for x86_64-linux > > >
Subject: RE: [rt.cpan.org #88588] INDEX END tag change in pod2html breaks perltidy -html
Date: Tue, 10 Sep 2013 22:24:26 +0000
To: "bug-Perl-Tidy [...] rt.cpan.org" <bug-Perl-Tidy [...] rt.cpan.org>
From: "Liebert, Paul A" <paul.a.liebert [...] hp.com>
There is no <div> tag, sorry. Here are the two snippets This version works with Perl::Tidy Pod::Html VERSION 1.0504 <body style="background-color: white"> <p><a name="__index__"></a></p> <!-- INDEX BEGIN --> <ul> <li><a href="#name">NAME</a></li> <li><a href="#synopsis">SYNOPSIS</a></li> <li><a href="#description">DESCRIPTION</a></li> <li><a href="#files">FILES</a></li> <li><a href="#options">OPTIONS</a></li> <li><a href="#pattern_capabilities">PATTERN CAPABILITIES</a></li> <li><a href="#function_capabilities">FUNCTION CAPABILITIES</a></li> <li><a href="#mda">MDA</a></li> <li><a href="#environment">ENVIRONMENT</a></li> <li><a href="#exit_status">EXIT STATUS</a></li> <li><a href="#see_also">SEE ALSO</a></li> <li><a href="#license_and_copyright">LICENSE AND COPYRIGHT</a></li> </ul> <!-- INDEX END --> <hr /> <p> </p> <hr /> <h1><a name="name">NAME</a></h1> ---------------------------------------------------------------------- This version is missing the INDEX comments and is broken Pod::Html VERSION 1.15_02 <body style="background-color: white"> <ul id="index"> <li><a href="#NAME">NAME</a></li> <li><a href="#SYNOPSIS">SYNOPSIS</a></li> <li><a href="#DESCRIPTION">DESCRIPTION</a></li> <li><a href="#FILES">FILES</a></li> <li><a href="#OPTIONS">OPTIONS</a></li> <li><a href="#PATTERN-CAPABILITIES">PATTERN CAPABILITIES</a></li> <li><a href="#FUNCTION-CAPABILITIES">FUNCTION CAPABILITIES</a></li> <li><a href="#MDA">MDA</a></li> <li><a href="#ENVIRONMENT">ENVIRONMENT</a></li> <li><a href="#EXIT-STATUS">EXIT STATUS</a></li> <li><a href="#SEE-ALSO">SEE ALSO</a></li> <li><a href="#LICENSE-AND-COPYRIGHT">LICENSE AND COPYRIGHT</a></li> </ul> <h1 id="NAME">NAME</h1> -Paul Show quoted text
-----Original Message----- From: Steven Hancock via RT [mailto:bug-Perl-Tidy@rt.cpan.org] Sent: Tuesday, September 10, 2013 3:11 PM To: Liebert, Paul A Subject: Re: [rt.cpan.org #88588] INDEX END tag change in pod2html breaks perltidy -html <URL: https://rt.cpan.org/Ticket/Display.html?id=88588 > Thanks, that's unfortunate. Pod::Html almost never changes. I haven't updated my Pod::Html yet to reproduce this, but do you think I could look for <div name="index"> instead if the <!-- INDEX BEGIN --> and the subsequent </div> instead of <!-- INDEX END --> as the termination? Steve On Tue, Sep 10, 2013 at 10:58 AM, Paul Liebert via RT < bug-Perl-Tidy@rt.cpan.org> wrote:
> Tue Sep 10 13:58:38 2013: Request 88588 was acted upon. > Transaction: Ticket created by paauull > Queue: Perl-Tidy > Subject: INDEX END tag change in pod2html breaks perltidy -html > Broken in: 20130806 > Severity: (no value) > Owner: Nobody > Requestors: paul.a.liebert@hp.com > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=88588 > > > > Running perltidy to generate html now produces error messages like > > Did not find INDEX END in pod2html output > print() on closed filehandle STDOUT at > /apps/perl-5.16.3/2.6x86_64/lib/5.16.3/x86_64-linux/IO/Handle.pm line 417. > > I have tracked this down to a change in pod2html. pod2html no longer > issues comment tags of <!-- INDEX BEGIN --> and <!-- INDEX END --> around > the index section. perltidy depends on these tags being present. > > This should reproduce the problem for any 'my_script' that has pod: > > perltidy -html -nnn -st my_script > my_html > > Perl::Tidy 1.74 > Pod::Html 1.15_02 > > This is perl 5, version 16, subversion 3 (v5.16.3) built for x86_64-linux > > >
Subject: Re: [rt.cpan.org #88588] INDEX END tag change in pod2html breaks perltidy -html
Date: Tue, 10 Sep 2013 15:59:07 -0700
To: bug-Perl-Tidy [...] rt.cpan.org
From: Steven Hancock <s7078hancock [...] gmail.com>
Thanks. It looks like I might be able to to check for <ul id="index"> and its closing </ul>. Steve On Tue, Sep 10, 2013 at 3:26 PM, Paul Liebert via RT < bug-Perl-Tidy@rt.cpan.org> wrote: Show quoted text
> Queue: Perl-Tidy > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=88588 > > > There is no <div> tag, sorry. Here are the two snippets > > > > This version works with Perl::Tidy > > Pod::Html VERSION 1.0504 > > > > <body style="background-color: white"> > > > > <p><a name="__index__"></a></p> > > <!-- INDEX BEGIN --> > > > > <ul> > > > > <li><a href="#name">NAME</a></li> > > <li><a href="#synopsis">SYNOPSIS</a></li> > > <li><a href="#description">DESCRIPTION</a></li> > > <li><a href="#files">FILES</a></li> > > <li><a href="#options">OPTIONS</a></li> > > <li><a href="#pattern_capabilities">PATTERN > CAPABILITIES</a></li> > > <li><a href="#function_capabilities">FUNCTION > CAPABILITIES</a></li> > > <li><a href="#mda">MDA</a></li> > > <li><a href="#environment">ENVIRONMENT</a></li> > > <li><a href="#exit_status">EXIT STATUS</a></li> > > <li><a href="#see_also">SEE ALSO</a></li> > > <li><a href="#license_and_copyright">LICENSE AND > COPYRIGHT</a></li> > > </ul> > > <!-- INDEX END --> > > > > <hr /> > > <p> > > </p> > > <hr /> > > <h1><a name="name">NAME</a></h1> > > > > ---------------------------------------------------------------------- > > > > This version is missing the INDEX comments and is broken > > Pod::Html VERSION 1.15_02 > > > > <body style="background-color: white"> > > > > > > > > <ul id="index"> > > <li><a href="#NAME">NAME</a></li> > > <li><a href="#SYNOPSIS">SYNOPSIS</a></li> > > <li><a href="#DESCRIPTION">DESCRIPTION</a></li> > > <li><a href="#FILES">FILES</a></li> > > <li><a href="#OPTIONS">OPTIONS</a></li> > > <li><a href="#PATTERN-CAPABILITIES">PATTERN CAPABILITIES</a></li> > > <li><a href="#FUNCTION-CAPABILITIES">FUNCTION CAPABILITIES</a></li> > > <li><a href="#MDA">MDA</a></li> > > <li><a href="#ENVIRONMENT">ENVIRONMENT</a></li> > > <li><a href="#EXIT-STATUS">EXIT STATUS</a></li> > > <li><a href="#SEE-ALSO">SEE ALSO</a></li> > > <li><a href="#LICENSE-AND-COPYRIGHT">LICENSE AND COPYRIGHT</a></li> > > </ul> > > > > <h1 id="NAME">NAME</h1> > > > > > > -Paul > > > > -----Original Message----- > > From: Steven Hancock via RT [mailto:bug-Perl-Tidy@rt.cpan.org] > > Sent: Tuesday, September 10, 2013 3:11 PM > > To: Liebert, Paul A > > Subject: Re: [rt.cpan.org #88588] INDEX END tag change in pod2html breaks > perltidy -html > > > > <URL: https://rt.cpan.org/Ticket/Display.html?id=88588 > > > > > Thanks, that's unfortunate. Pod::Html almost never changes. I haven't > > updated my Pod::Html yet to reproduce this, but do you think I could look > > for > > > > <div name="index"> instead if the <!-- INDEX BEGIN --> and the subsequent > > > > </div> instead of <!-- INDEX END --> > > > > as the termination? > > > > Steve > > > > > > On Tue, Sep 10, 2013 at 10:58 AM, Paul Liebert via RT < > > bug-Perl-Tidy@rt.cpan.org> wrote: > > >
> > Tue Sep 10 13:58:38 2013: Request 88588 was acted upon.
>
> > Transaction: Ticket created by paauull
>
> > Queue: Perl-Tidy
>
> > Subject: INDEX END tag change in pod2html breaks perltidy -html
>
> > Broken in: 20130806
>
> > Severity: (no value)
>
> > Owner: Nobody
>
> > Requestors: paul.a.liebert@hp.com
>
> > Status: new
> >
> >
>
> >
>
> > Running perltidy to generate html now produces error messages like
>
> >
>
> > Did not find INDEX END in pod2html output
>
> > print() on closed filehandle STDOUT at
>
> > /apps/perl-5.16.3/2.6x86_64/lib/5.16.3/x86_64-linux/IO/Handle.pm line
> 417. >
> >
>
> > I have tracked this down to a change in pod2html. pod2html no longer
>
> > issues comment tags of <!-- INDEX BEGIN --> and <!-- INDEX END --> around
>
> > the index section. perltidy depends on these tags being present.
>
> >
>
> > This should reproduce the problem for any 'my_script' that has pod:
>
> >
>
> > perltidy -html -nnn -st my_script > my_html
>
> >
>
> > Perl::Tidy 1.74
>
> > Pod::Html 1.15_02
>
> >
>
> > This is perl 5, version 16, subversion 3 (v5.16.3) built for x86_64-linux
>
> >
>
> >
>
> >
> > > >
I put a patch to fix this problem in version 20130922. I believe that it will solve the problem but I don't yet have the ability to test it.
Subject: RE: [rt.cpan.org #88588] INDEX END tag change in pod2html breaks perltidy -html
Date: Mon, 23 Sep 2013 17:33:50 +0000
To: "bug-Perl-Tidy [...] rt.cpan.org" <bug-Perl-Tidy [...] rt.cpan.org>
From: "Liebert, Paul A" <paul.a.liebert [...] hp.com>
This works great for me. Thanks! -Paul Show quoted text
-----Original Message----- From: Steve Hancock via RT [mailto:bug-Perl-Tidy@rt.cpan.org] Sent: Sunday, September 22, 2013 8:26 AM To: Liebert, Paul A Subject: [rt.cpan.org #88588] INDEX END tag change in pod2html breaks perltidy -html <URL: https://rt.cpan.org/Ticket/Display.html?id=88588 > I put a patch to fix this problem in version 20130922. I believe that it will solve the problem but I don't yet have the ability to test it.
Subject: Re: [rt.cpan.org #88588] INDEX END tag change in pod2html breaks perltidy -html
Date: Mon, 23 Sep 2013 10:59:17 -0700
To: bug-Perl-Tidy [...] rt.cpan.org
From: Steven Hancock <s7078hancock [...] gmail.com>
Great, thanks for trying it, I'm glad it works. Let me know if you run into any trouble. Steve On Mon, Sep 23, 2013 at 10:34 AM, Paul Liebert via RT < bug-Perl-Tidy@rt.cpan.org> wrote: Show quoted text
> Queue: Perl-Tidy > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=88588 > > > This works great for me. Thanks! > > > > -Paul > > > > -----Original Message----- > > From: Steve Hancock via RT [mailto:bug-Perl-Tidy@rt.cpan.org] > > Sent: Sunday, September 22, 2013 8:26 AM > > To: Liebert, Paul A > > Subject: [rt.cpan.org #88588] INDEX END tag change in pod2html breaks > perltidy -html > > > > <URL: https://rt.cpan.org/Ticket/Display.html?id=88588 > > > > > I put a patch to fix this problem in version 20130922. I believe that it > will solve the problem but I don't yet have the ability to test it. > >