Skip to content

jinja2.exceptions.TemplateNotFound: index.html #22

@itschenxi

Description

@itschenxi

I have a simple python web program which uses jinja2 and Quart, when I run python server_async.py, everything is fine. But when I run python -m flamegraph -o perf.log server_async.py, it reports errors:

...
File "server_async.py", line 254, in index
template = await render_template('index.html')
...
jinja2.exceptions.TemplateNotFound: index.html

I guess this is because flamegraph does not work with Quart and jinja2, right?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions