import jinja2
import linecache
from kamidana.debug._extract import extract_information


t = jinja2.Template(
    """
::::::::::
{{1/0}}
::::::::::
"""
)

try:
    t.filename = "main.j2"
    t.render()
except Exception as e:
    info = extract_information(e)
    print(info)
    print(repr(linecache.getline(info.filename, lineno=1)))

c3927f3e2c6836516b0bf77a0a7fc34f213a8719
<mask token>

<mask token>
try:
    t.filename = 'main.j2'
    t.render()
except Exception as e:
    info = extract_information(e)
    print(info)
    print(repr(linecache.getline(info.filename, lineno=1)))

<mask token>
t = jinja2.Template("""
::::::::::
{{1/0}}
::::::::::
""")
try:
    t.filename = 'main.j2'
    t.render()
except Exception as e:
    info = extract_information(e)
    print(info)
    print(repr(linecache.getline(info.filename, lineno=1)))

import jinja2
import linecache
from kamidana.debug._extract import extract_information
t = jinja2.Template("""
::::::::::
{{1/0}}
::::::::::
""")
try:
    t.filename = 'main.j2'
    t.render()
except Exception as e:
    info = extract_information(e)
    print(info)
    print(repr(linecache.getline(info.filename, lineno=1)))

import jinja2
import linecache
from kamidana.debug._extract import extract_information


t = jinja2.Template(
    """
::::::::::
{{1/0}}
::::::::::
"""
)

try:
    t.filename = "main.j2"
    t.render()
except Exception as e:
    info = extract_information(e)
    print(info)
    print(repr(linecache.getline(info.filename, lineno=1)))
