Skip to content

jinja2.exceptions.TemplateNotFound: index.html #21

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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