So far I've found it impossible to produce usable tracebacks when Mako templates aren't coded correctly.
Is there any way to debug templates besides iterating for every line of code?
Edit: Per the comments, it seems switching to Jinja2 might be the best solution.