[Dancer-users] Supplied view (...) was not found

Nick Knutov mail at knutov.com
Mon Dec 26 23:13:25 CET 2011


upd: everything is ok in 1.3072.

27.12.2011 4:01, Nick Knutov пишет:
> Hi all,
>
> I have strange bug and no ideas what to do with it.
>
> Template engine: ctpp
>
> my $mail = template 'mails/ticket_new.txt', $data, {layout=>undef};
>
> [3150] error @5.768842> [hit #1]Supplied view (mails/ticket_new.txt) was
> not found. in /usr/local/share/perl/5.10.1/Dancer/Template/Abstract.pm
> l. 167
> [3150] error @6.503130> [hit #1]request to /reg/ crashed:
> Dancer::Response=HASH(0xb3f0718) in
> /usr/local/share/perl/5.10.1/Dancer/Handler.pm l. 98
>
> kola at vbox:path/to/app/views$ ls -l mails/ticket_new.txt
> -rw-r--r-- 1 kola kola 339 2011-08-19 19:47 mails/ticket_new.txt
>
> $ dancer -v
> Dancer 1.3091
>
> What's wrong with it?
>

-- 
Best Regards,
Nick Knutov
http://knutov.com
ICQ: 272873706
Voice: +7-904-84-23-130


More information about the Dancer-users mailing list