Le 19/05/2010 14:59, Mark Lawrence a écrit :
mark@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@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