{{block sectionclass}}ticket{{end}}

{{=T('Error ticket')}} for "{{=app}}"

{{=T('Ticket ID')}}

{{=ticket}}

{{if output:}}

{{=output}}

{{pass}}

{{=T('Version')}}

web2py™ {{=myversion}}
Python {{=snapshot.get('pyver','')}}

{{=T('Traceback')}}

{{=traceback}}
{{if snapshot:}} {{try:}}

{{=T('Error snapshot')}} {{=helpicon()}} {{=T('Detailed traceback description')}}

{{=snapshot['etype']}}({{=snapshot['evalue']}})

{{=T('inspect attributes')}}

{{=T("Exception instance attributes")}}
{{for k,v in snapshot['exception'].items():}} {{pass}}
{{=k}} {{=v}}

{{=T('Frames')}}

Context

{{=T('locals')}} {{=T('request')}} {{=T('session')}} {{=T('response')}}

locals
{{=BEAUTIFY(snapshot['locals'])}}
request
{{=BEAUTIFY(snapshot['request'])}}
session
{{=BEAUTIFY(snapshot['session'])}}
response
{{=BEAUTIFY(snapshot['response'])}}
{{except Exception as e:}} {{import traceback;tb=traceback.format_exc().replace("\n","\\n") }} {{pass}} {{pass}}

In file: {{=layer}}

{{=CODE(code.replace('\r',''),language='python',link='/examples/global/vars/')}}