[Dancer-users] First-time User: Notes

Alexis Sukrieh sukria at sukria.net
Wed May 19 15:28:38 CEST 2010


Le 19/05/2010 14:59, Mark Lawrence a écrit :
>      mark at lifebook:~$ dancer -a myapp
>      Subroutine main::dirname redefined at /usr/bin/dancer line 149
>      Subroutine main::path redefined at /usr/bin/dancer line 149

Hmm, we should fix these warnings, indeed. Thanks for the note.

> 2. My 'myapp' starts fine, but all requests result in a 500 Internal
> Server Error. I have enabled logging and error publication in
> config.yml but am not seeing anything in either the http response or in
> the logs/development.log file.
>
>      mark at lifebook:~/myapp$ cat config.yml
>      layout: "main"
>      logger: "file"
>      log: "debug"
>      show_errors: 1
>
> So my two problems are that a) it doesn't work at the moment, and b) I
> can't seem to debug things. Looking for pointers to what I've read/done
> wrong...

Yes, this is a known issue with Dancer 1.18, we're going to release 
1.1801 to fix that.

The workaround is pretty simple, as you can see:
http://github.com/sukria/Dancer/issues#issue/69

Happy dancing.

-- 
Alexis Sukrieh


More information about the Dancer-users mailing list