How do you debug Mako templates?
Mako actually provides a VERY nice way to track down errors in a template: from mako import exceptions try: template = lookup.get_template(uri) print template.render() except: print exceptions.html_error_template().render()