Running A Bottle App From Mod_wsgi Handle Results In Maximum Recursion Depth Exceeded While Calling A Python Object
I'm getting a strange 'RuntimeError: maximum recursion depth exceeded while calling a Python object' from my bottle app. while running it from a wsgi handle (inside a virtualenv) i
Solution 1:
Your code is triggering the error handler, and it seems that the handler is raising another error.
Since it works without the wsgi handler, it's probably a paths issue that is triggering the initial error. You can try dissabling the error handlers to see the bottle error page, which may shed some light on the issue.
Reguarding the error raised within the handler i noticed that in the static()
function, you use the keyword argument root="./static/"
whereas in the error handlers you omitted the trailing slash.
Post a Comment for "Running A Bottle App From Mod_wsgi Handle Results In Maximum Recursion Depth Exceeded While Calling A Python Object"