Pyramid-debugging a resource cannot be found error
문제
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.
해결책
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
제휴하지 않습니다 StackOverflow