문제

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top