You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in setup.py I can see: "flask>=1.1.2",
I guess it should be hardcoded to ==1.1.2 for now.
it crashes with:
File "/root/.local/share/virtualenvs/xxxxxxx/lib/python3.6/site-packages/locust/web.py", line 102, in __init__
app.jinja_options["extensions"].append("jinja2.ext.do")
KeyError: 'extensions'
The text was updated successfully, but these errors were encountered:
I also faced the same error, I tried to google for a solution.
Based on what chfaber shared in this StackOverflow post , the workaround would be to replace app.jinja_options['extensions'].append('jinja2.ext.do') with app.jinja_env.add_extension('jinja2.ext.do')
However, I am not familiar with how Flask and Jinja work together, so I can't offer much explanation. Hope this still helps!
in setup.py I can see:
"flask>=1.1.2",
I guess it should be hardcoded to ==1.1.2 for now.
it crashes with:
The text was updated successfully, but these errors were encountered: