Skip Menu |

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

Report information
The Basics
Id: 94190
Status: resolved
Priority: 0/
Queue: Perl-Tidy

People
Owner: Nobody in particular
Requestors: hartzell.george [...] gene.com
Cc:
AdminCc:

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



Subject: perltidy leaves extraneous LOG file after run w/ mulitple input files.
Date: Tue, 25 Mar 2014 15:32:30 -0700
To: bug-Perl-Tidy [...] rt.cpan.org
From: George Hartzell <hartzell.george [...] gene.com>
Hi Tidy, I'm running perltidy via tidyall and was finding unexpected perltidy.LOG files. It only occured when tidyall was called with multiple files. I've found that specifying -nomem alleviates the problem. Give e.g. two input files, TidyAll makes two separate calls to Perl::Tidy::perltidy(). I believe that this issue is a bad interaction between the memoization stuff happening around line 2115 in Perl/Tidy.pm and the code at Perl/Tidy.pm:2520-2534, which forces logfile-gap to be set to a non-zero value after the first pass and on the second and later passes causes the logfile to be set. I've been debugging by calling tidyall file_a.pm file_b.pm and setting breakpoints in process_command_line and around lines 2520. I'm using Perl-Tidy-20130922 and Code-TidyAll-0.19 with perl-5.18.2. Thanks, g.
Subject: Re: [rt.cpan.org #94190] perltidy leaves extraneous LOG file after run w/ mulitple input files.
Date: Tue, 25 Mar 2014 15:52:45 -0700
To: bug-Perl-Tidy [...] rt.cpan.org
From: Steven Hancock <perltidy [...] users.sourceforge.net>
George, Thanks for the good description of the problem. I should have a fix soon. Steve On Tue, Mar 25, 2014 at 3:32 PM, George Hartzell via RT < bug-Perl-Tidy@rt.cpan.org> wrote: Show quoted text
> Tue Mar 25 18:32:42 2014: Request 94190 was acted upon. > Transaction: Ticket created by hartzell.george@gene.com > Queue: Perl-Tidy > Subject: perltidy leaves extraneous LOG file after run w/ mulitple > input files. > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: hartzell.george@gene.com > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=94190 > > > > Hi Tidy, > > I'm running perltidy via tidyall and was finding unexpected perltidy.LOG > files. > > It only occured when tidyall was called with multiple files. > > I've found that specifying -nomem alleviates the problem. > > Give e.g. two input files, TidyAll makes two separate calls to > Perl::Tidy::perltidy(). > > I believe that this issue is a bad interaction between the memoization > stuff happening around line 2115 in Perl/Tidy.pm and the code at > Perl/Tidy.pm:2520-2534, which forces logfile-gap to be set to a non-zero > value after the first pass and on the second and later passes causes the > logfile to be set. > > I've been debugging by calling > > tidyall file_a.pm file_b.pm > > and setting breakpoints in process_command_line and around lines 2520. > > I'm using Perl-Tidy-20130922 and Code-TidyAll-0.19 with perl-5.18.2. > > Thanks, > > g. > >
Subject: Re: [rt.cpan.org #94190] perltidy leaves extraneous LOG file after run w/ mulitple input files.
Date: Tue, 25 Mar 2014 15:54:09 -0700
To: bug-perl-tidy <bug-Perl-Tidy [...] rt.cpan.org>
From: George Hartzell <hartzell.george [...] gene.com>
My pleasure. Thanks for the *great* tool. g. On Tue, Mar 25, 2014 at 3:52 PM, Steve Hancock via RT < bug-Perl-Tidy@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=94190 > > > George, > Thanks for the good description of the problem. I should have a fix soon. > Steve > > > On Tue, Mar 25, 2014 at 3:32 PM, George Hartzell via RT < > bug-Perl-Tidy@rt.cpan.org> wrote: >
> > Tue Mar 25 18:32:42 2014: Request 94190 was acted upon. > > Transaction: Ticket created by hartzell.george@gene.com > > Queue: Perl-Tidy > > Subject: perltidy leaves extraneous LOG file after run w/ mulitple > > input files. > > Broken in: (no value) > > Severity: (no value) > > Owner: Nobody > > Requestors: hartzell.george@gene.com > > Status: new > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=94190 > > > > > > > Hi Tidy, > > > > I'm running perltidy via tidyall and was finding unexpected perltidy.LOG > > files. > > > > It only occured when tidyall was called with multiple files. > > > > I've found that specifying -nomem alleviates the problem. > > > > Give e.g. two input files, TidyAll makes two separate calls to > > Perl::Tidy::perltidy(). > > > > I believe that this issue is a bad interaction between the memoization > > stuff happening around line 2115 in Perl/Tidy.pm and the code at > > Perl/Tidy.pm:2520-2534, which forces logfile-gap to be set to a non-zero > > value after the first pass and on the second and later passes causes the > > logfile to be set. > > > > I've been debugging by calling > > > > tidyall file_a.pm file_b.pm > > > > and setting breakpoints in process_command_line and around lines 2520. > > > > I'm using Perl-Tidy-20130922 and Code-TidyAll-0.19 with perl-5.18.2. > > > > Thanks, > > > > g. > > > >
> >
Subject: Re: [rt.cpan.org #94190] perltidy leaves extraneous LOG file after run w/ mulitple input files.
Date: Tue, 25 Mar 2014 16:02:56 -0700
To: bug-perl-tidy <bug-Perl-Tidy [...] rt.cpan.org>
From: George Hartzell <hartzell.george [...] gene.com>
ps. specifying -nomem is an adequate work around for me. I just needed to know that the logfile wasn't trying to tell me something dire. g. On Tue, Mar 25, 2014 at 3:52 PM, Steve Hancock via RT < bug-Perl-Tidy@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=94190 > > > George, > Thanks for the good description of the problem. I should have a fix soon. > Steve > > > On Tue, Mar 25, 2014 at 3:32 PM, George Hartzell via RT < > bug-Perl-Tidy@rt.cpan.org> wrote: >
> > Tue Mar 25 18:32:42 2014: Request 94190 was acted upon. > > Transaction: Ticket created by hartzell.george@gene.com > > Queue: Perl-Tidy > > Subject: perltidy leaves extraneous LOG file after run w/ mulitple > > input files. > > Broken in: (no value) > > Severity: (no value) > > Owner: Nobody > > Requestors: hartzell.george@gene.com > > Status: new > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=94190 > > > > > > > Hi Tidy, > > > > I'm running perltidy via tidyall and was finding unexpected perltidy.LOG > > files. > > > > It only occured when tidyall was called with multiple files. > > > > I've found that specifying -nomem alleviates the problem. > > > > Give e.g. two input files, TidyAll makes two separate calls to > > Perl::Tidy::perltidy(). > > > > I believe that this issue is a bad interaction between the memoization > > stuff happening around line 2115 in Perl/Tidy.pm and the code at > > Perl/Tidy.pm:2520-2534, which forces logfile-gap to be set to a non-zero > > value after the first pass and on the second and later passes causes the > > logfile to be set. > > > > I've been debugging by calling > > > > tidyall file_a.pm file_b.pm > > > > and setting breakpoints in process_command_line and around lines 2520. > > > > I'm using Perl-Tidy-20130922 and Code-TidyAll-0.19 with perl-5.18.2. > > > > Thanks, > > > > g. > > > >
> >
Subject: Re: [rt.cpan.org #94190] perltidy leaves extraneous LOG file after run w/ mulitple input files.
Date: Tue, 25 Mar 2014 16:36:12 -0700
To: bug-Perl-Tidy [...] rt.cpan.org
From: Steven Hancock <perltidy [...] users.sourceforge.net>
George, Thanks. I still want to get it fixed soon though so that it doesn't cause others trouble. Again, thanks for the great job at debugging. Steve On Tue, Mar 25, 2014 at 4:03 PM, George Hartzell 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=94190 > > > ps. specifying -nomem is an adequate work around for me. I just needed to > know that the logfile wasn't trying to tell me something dire. > > g. > > > > On Tue, Mar 25, 2014 at 3:52 PM, Steve Hancock via RT < > bug-Perl-Tidy@rt.cpan.org> wrote: >
> > <URL: https://rt.cpan.org/Ticket/Display.html?id=94190 > > > > > George, > > Thanks for the good description of the problem. I should have a fix
> soon.
> > Steve > > > > > > On Tue, Mar 25, 2014 at 3:32 PM, George Hartzell via RT < > > bug-Perl-Tidy@rt.cpan.org> wrote: > >
> > > Tue Mar 25 18:32:42 2014: Request 94190 was acted upon. > > > Transaction: Ticket created by hartzell.george@gene.com > > > Queue: Perl-Tidy > > > Subject: perltidy leaves extraneous LOG file after run w/ mulitple > > > input files. > > > Broken in: (no value) > > > Severity: (no value) > > > Owner: Nobody > > > Requestors: hartzell.george@gene.com > > > Status: new > > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=94190 > > > > > > > > > > Hi Tidy, > > > > > > I'm running perltidy via tidyall and was finding unexpected
> perltidy.LOG
> > > files. > > > > > > It only occured when tidyall was called with multiple files. > > > > > > I've found that specifying -nomem alleviates the problem. > > > > > > Give e.g. two input files, TidyAll makes two separate calls to > > > Perl::Tidy::perltidy(). > > > > > > I believe that this issue is a bad interaction between the memoization > > > stuff happening around line 2115 in Perl/Tidy.pm and the code at > > > Perl/Tidy.pm:2520-2534, which forces logfile-gap to be set to a
> non-zero
> > > value after the first pass and on the second and later passes causes
> the
> > > logfile to be set. > > > > > > I've been debugging by calling > > > > > > tidyall file_a.pm file_b.pm > > > > > > and setting breakpoints in process_command_line and around lines 2520. > > > > > > I'm using Perl-Tidy-20130922 and Code-TidyAll-0.19 with perl-5.18.2. > > > > > > Thanks, > > > > > > g. > > > > > >
> > > >
> >
This is fixed in version 20140328.