[Dancer-users] Crash after upgrade to 1.3001

Flavio Poletti polettix at gmail.com
Tue Feb 1 12:10:06 CET 2011


GitHub recently added http://gist.github.com/:

*Gist* is a simple way to *share snippets and pastes* with others. All gists
are git repositories, so they are automatically *versioned*, *forkable* and
usable as a *git repository*.
If you have a workable example you can put it there so that it's easy to
reproduce the problem.

Cheers,

    Flavio.



On Sun, Jan 30, 2011 at 8:02 AM, Thomas Maier <hayzer at gmail.com> wrote:

> Hi all,
>
> I have this simply setup that worked well under 1.2003
>
> config.yml:
> template: template_toolkit
> layout: main
>
> views/header.tt:
> <DOCTYPE ....
> ...
> <body>
>
> views/index.tt
> <h1>test</h1>
>
> views/footer.tt
> </body>
> </html>
>
> views/layouts/main.tt
> [% INCLUDE header.tt %]
> [% content %]
> [% INCLUDE footer.tt %]
>
> lib/myapp.pm
> ...
> 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 ?
>
> Thanks
> Thomas
> _______________________________________________
> Dancer-users mailing list
> Dancer-users at perldancer.org
> http://www.backup-manager.org/cgi-bin/listinfo/dancer-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.backup-manager.org/pipermail/dancer-users/attachments/20110201/bd96121f/attachment.htm>


More information about the Dancer-users mailing list