Pregunta

What are possible causes of "The resource could not be found" error in Pyramid?

From my limited exeperiece debugging my Pyramid app, errors with routes and Python syntax error trigger a more explicit error message.

Is there a way to get the development server to trace a request (similiar to the way running a rails server does it)? I tried running paster in verbose mode, but am not getting any more information.

¿Fue útil?

Solución

So that's a HTTPNotFound error, which Pyramid has a debugging option for to help you out.

https://docs.pylonsproject.org/projects/pyramid/en/1.2-branch/narr/viewconfig.html#notfound-errors

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top