python-flamegraph icon indicating copy to clipboard operation
python-flamegraph copied to clipboard

jinja2.exceptions.TemplateNotFound: index.html

Open itschenxi opened this issue 2 years ago • 0 comments

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?

itschenxi avatar Mar 22 '23 09:03 itschenxi