Re: [Templates] compiled template error in Perl 5.26.1

2018-02-10 Thread Randy J. Ray

On 2/10/18 3:29 AM, Shannon Mess wrote:
Why do you refuse to remove my email address from this? I have asked 
multiple times.


Interesting-- I have also recently unsubscribed (I still use Perl but 
haven't used TT in ages) and am still getting messages.


Randy
--
"""
Randy J. Ray  San Jose, CA  http://www.dereferenced.com
rj...@blackperl.com
twitter.com/rjray
Silicon Valley Scale Modelers: http://www.svsm.org

___
templates mailing list
templates@lists.ourshack.com
https://lists.ourshack.com/mailman/listinfo/templates


Re: [Templates] compiled template error in Perl 5.26.1

2018-02-10 Thread Shannon Mess
Why do you refuse to remove my email address from this? I have asked multiple 
times.


Sent from Yahoo Mail for iPhone


On Saturday, February 10, 2018, 12:25 AM, Todd Rinaldo  wrote:



On Feb 9, 2018, at 11:15 PM, Kiss Gabor (Bitman)  wrote:

Is there any TT patch to address that problem?  I am sitting on an older
version of perl and haven't updated for awhile for fear of breaking by
websites.


Add this line to the script:
use lib '.';


Doing so however, opens you back up to the original vulnerability that was 
closed.
See https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-1238
Instead do:
use lib '/path/to/where/dot/is';

___
templates mailing list
templates@lists.ourshack.com
https://lists.ourshack.com/mailman/listinfo/templates



___
templates mailing list
templates@lists.ourshack.com
https://lists.ourshack.com/mailman/listinfo/templates


Re: [Templates] compiled template error in Perl 5.26.1

2018-02-09 Thread Kiss Gabor (Bitman)
> I'm not sure what you mean.  I'm statically generating my HTML by running the

Sorry, I misunderstood the question.

Gabor

___
templates mailing list
templates@lists.ourshack.com
https://lists.ourshack.com/mailman/listinfo/templates


Re: [Templates] compiled template error in Perl 5.26.1

2018-02-09 Thread Jim Battle
I'm not sure what you mean.  I'm statically generating my HTML by 
running the ttree script; I'm not invoking TT from my own perl.


BTW, I'm running this on windows (using strawberry perl).

I manually edited Template.pm and added "BEGIN { push @INC, '.' }".  The 
generated HTML is the same as before and I don't see any warning 
messages. Then again, I should try removing my addition and regenerating 
the site to see if I get any problems as well (that is, I'm not sure if 
my change actually fixed anything)



Kiss Gabor (Bitman) 
Friday, February 09, 2018 11:15 PM

Is there any TT patch to address that problem?  I am sitting on an older
version of perl and haven't updated for awhile for fear of breaking by
websites.


Add this line to the script:
use lib '.';


There are many discussions and workaround, please use google.


Regards

Gabor

___
templates mailing list
templates@lists.ourshack.com
https://lists.ourshack.com/mailman/listinfo/templates
Jim Battle 
Friday, February 09, 2018 9:13 PM
Is there any TT patch to address that problem?  I am sitting on an 
older version of perl and haven't updated for awhile for fear of 
breaking by websites.


Thanks


Johan Vromans 
Sunday, October 29, 2017 1:09 PM
On Sun, 29 Oct 2017 19:21:48 +0700, "Chakkit Ngamsom" 

As of Perl 5.26, the current directory ( '.' ) is no longer in @INC. This
removal has caused many problems in many tools and programs.

There are many discussions and workaround, please use google.

-- Johan

___
templates mailing list
templates@lists.ourshack.com
https://lists.ourshack.com/mailman/listinfo/templates
Chakkit Ngamsom 
Sunday, October 29, 2017 7:21 AM

Hi,

In Perl 5.26.1 I’ve got the below warning:

[warn] Use of uninitialized value $compiled in concatenation (.) or 
string at 
/Users/lynx/perl5/perlbrew/perls/perl-5.26.1/lib/site_perl/5.26.1/darwin-thread-multi-2level/Template/Provider.pm 
line 572.


[warn] compiled template : Can't locate 
tmp/ttc/view/dist/layouts/main.tt.ttc in @INC (@INC contains: 
/Users/lynx/perl5/perlbrew/perls/perl-5.26.1/lib/site_perl/5.26.1/darwin-thread-multi-2level 
/Users/lynx/perl5/perlbrew/perls/perl-5.26.1/lib/site_perl/5.26.1 
/Users/lynx/perl5/perlbrew/perls/perl-5.26.1/lib/5.26.1/darwin-thread-multi-2level 
/Users/lynx/perl5/perlbrew/perls/perl-5.26.1/lib/5.26.1) at 
/Users/lynx/perl5/perlbrew/perls/perl-5.26.1/lib/site_perl/5.26.1/darwin-thread-multi-2level/Template/Provider.pm 
line 571.


My app is running with Catalyst 5.90115 and Template Tookit 2.27 on 
macOS 10.12.6.


I switched to Perl 5.24.3 and same Template Toolkit version via 
perlbrew and no errors there.


Note that the app can render as usual but just the warning messages in 
log.


It logged every time each file is rendered.

Regards,

--

Chakkit Ngamsom

___
templates mailing list
templates@lists.ourshack.com
https://lists.ourshack.com/mailman/listinfo/templates


___
templates mailing list
templates@lists.ourshack.com
https://lists.ourshack.com/mailman/listinfo/templates


Re: [Templates] compiled template error in Perl 5.26.1

2018-02-09 Thread Todd Rinaldo

> On Feb 9, 2018, at 11:15 PM, Kiss Gabor (Bitman)  wrote:
> 
>> Is there any TT patch to address that problem?  I am sitting on an older
>> version of perl and haven't updated for awhile for fear of breaking by
>> websites.
> 
> Add this line to the script:
> use lib '.';

Doing so however, opens you back up to the original vulnerability that was 
closed.

See https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-1238 


Instead do:

use lib '/path/to/where/dot/is';




smime.p7s
Description: S/MIME cryptographic signature
___
templates mailing list
templates@lists.ourshack.com
https://lists.ourshack.com/mailman/listinfo/templates


Re: [Templates] compiled template error in Perl 5.26.1

2018-02-09 Thread Kiss Gabor (Bitman)
> Is there any TT patch to address that problem?  I am sitting on an older
> version of perl and haven't updated for awhile for fear of breaking by
> websites.

Add this line to the script:
use lib '.';

> > There are many discussions and workaround, please use google.

Regards

Gabor

___
templates mailing list
templates@lists.ourshack.com
https://lists.ourshack.com/mailman/listinfo/templates


Re: [Templates] compiled template error in Perl 5.26.1

2018-02-09 Thread Jim Battle
Is there any TT patch to address that problem?  I am sitting on an older 
version of perl and haven't updated for awhile for fear of breaking by 
websites.


Thanks


Johan Vromans 
Sunday, October 29, 2017 1:09 PM
On Sun, 29 Oct 2017 19:21:48 +0700, "Chakkit Ngamsom" 

As of Perl 5.26, the current directory ( '.' ) is no longer in @INC. This
removal has caused many problems in many tools and programs.

There are many discussions and workaround, please use google.

-- Johan

___
templates mailing list
templates@lists.ourshack.com
https://lists.ourshack.com/mailman/listinfo/templates
Chakkit Ngamsom 
Sunday, October 29, 2017 7:21 AM

Hi,

In Perl 5.26.1 I’ve got the below warning:

[warn] Use of uninitialized value $compiled in concatenation (.) or 
string at 
/Users/lynx/perl5/perlbrew/perls/perl-5.26.1/lib/site_perl/5.26.1/darwin-thread-multi-2level/Template/Provider.pm 
line 572.


[warn] compiled template : Can't locate 
tmp/ttc/view/dist/layouts/main.tt.ttc in @INC (@INC contains: 
/Users/lynx/perl5/perlbrew/perls/perl-5.26.1/lib/site_perl/5.26.1/darwin-thread-multi-2level 
/Users/lynx/perl5/perlbrew/perls/perl-5.26.1/lib/site_perl/5.26.1 
/Users/lynx/perl5/perlbrew/perls/perl-5.26.1/lib/5.26.1/darwin-thread-multi-2level 
/Users/lynx/perl5/perlbrew/perls/perl-5.26.1/lib/5.26.1) at 
/Users/lynx/perl5/perlbrew/perls/perl-5.26.1/lib/site_perl/5.26.1/darwin-thread-multi-2level/Template/Provider.pm 
line 571.


My app is running with Catalyst 5.90115 and Template Tookit 2.27 on 
macOS 10.12.6.


I switched to Perl 5.24.3 and same Template Toolkit version via 
perlbrew and no errors there.


Note that the app can render as usual but just the warning messages in 
log.


It logged every time each file is rendered.

Regards,

--

Chakkit Ngamsom

___
templates mailing list
templates@lists.ourshack.com
https://lists.ourshack.com/mailman/listinfo/templates


___
templates mailing list
templates@lists.ourshack.com
https://lists.ourshack.com/mailman/listinfo/templates


Re: [Templates] compiled template error in Perl 5.26.1

2017-10-29 Thread Johan Vromans
On Sun, 29 Oct 2017 19:21:48 +0700, "Chakkit Ngamsom" 
wrote:

> [warn] compiled template : Can't locate
> tmp/ttc/view/dist/layouts/main.tt.ttc in @INC (@INC contains:
> /Users/lynx/perl5/perlbrew/perls/perl-5.26.1/lib/site_perl/5.26.1/darwin-thr
> ead-multi-2level
> /Users/lynx/perl5/perlbrew/perls/perl-5.26.1/lib/site_perl/5.26.1
> /Users/lynx/perl5/perlbrew/perls/perl-5.26.1/lib/5.26.1/darwin-thread-multi-
> 2level /Users/lynx/perl5/perlbrew/perls/perl-5.26.1/lib/5.26.1) at
> /Users/lynx/perl5/perlbrew/perls/perl-5.26.1/lib/site_perl/5.26.1/darwin-thr
> ead-multi-2level/Template/Provider.pm line 571.
> 
>  
> 
> My app is running with Catalyst 5.90115 and Template Tookit 2.27 on macOS
> 10.12.6.
> 
> I switched to Perl 5.24.3 and same Template Toolkit version via perlbrew
> and no errors there.

As of Perl 5.26, the current directory ( '.' ) is no longer in @INC. This
removal has caused many problems in many tools and programs.

There are many discussions and workaround, please use google.

-- Johan

___
templates mailing list
templates@lists.ourshack.com
https://lists.ourshack.com/mailman/listinfo/templates