Read the statement by Michael Teeuw here.
No Web UI with MMM-FastNotes
-
@rvnbrg said in No Web UI with MMM-FastNotes:
ImportError: cannot import name ‘escape’ from ‘jinja2’ (/usr/lib/python3/dist-packages/jinja2/init.py)
that explains the error
-
@sdetweil how can I resolve that?
-
@rvnbrg that I don’t know
-
@sdetweil Thank you for your help so far
-
@rvnbrg i would ask the author
-
@sdetweil i did so but no response yet
-
@rvnbrg Jinja is a dependency of Flask and Flask V1.X.X uses the escape module from Jinja, however recently support for the escape module was dropped in newer versions of Jinja
To fix this issue, simply update to the newer version of Flask V2.X.X in your requirements.txt where Flask no longer uses the escape module from Jinja.
I see there is a requirements.txt where the version of Flask is specified. Maybe updating that to 2.1.1, which is the recommended version that no longer has a dependency on
escape
would resolve this.This is all just guessing. Was trying to figure out how this module hangs together. 🫣
-
@mumblebaj YES! Got it working! Thank you very very much
-