[Dancer-users] Crash after upgrade to 1.3001

Thomas Maier hayzer at gmail.com
Mon Jan 31 09:35:50 CET 2011


On 1/31/2011 10:22 AM, Eric Guirbal wrote:
> Thomas Maier a écrit :
>> get '/' => sub { template 'index.tt' };
>>
>> Request on http://localhost:3000/ gives now the follow error:
>> [1914] core @0.004733> [hit #1]request to / crashed:
>> '/path/to/dancer/myapp/views/' is not a regular file at
>> /usr/local/share/perl/5.10.1/Dancer/Helpers.pm line 39 in
>> /usr/local/share/perl/5.10.1/Dancer/Handler.pm l. 76
>>
>> Any idea why ?
>
> Delete the extension .tt. Dancer automagically add the extension based
> on the template you use.
>
> https://github.com/sukria/Dancer/blob/master/lib/Dancer/Template/Abstract.pm
> (line 129)
>
But 'tt' extension works fine with Dancer 1.2003?
Is it really the reason of this crash?
Thomas


More information about the Dancer-users mailing list