$def with (exception, message, traceback) $def head(): $var head = head $var title: Internal Error $var subtitle: $exception.__name__: $message $# $ query = {"q": "python " + exception.__name__ + ": " + str(message) + " !"} $#
Try a web search $# for resources related to the exception raised.
$def render_dictionary(type, obj):$pformat(value, width=80)
$filename
$ code, starting_line = getsourcelines(frame.f_code) $:highlight("".join(code), ".py", starting_line, lineno) $:render_dictionary("traceback", frame.f_locals)$tx.request.method /$str(tx.request.uri.path)
$:render_dictionary("environment-request", tx.request.headers.__dict__)$str(tx.request.body.items())
$str(tx.response.status)
$:render_dictionary("environment-response", tx.response.headers.__dict__)$str(tx.response.body)