Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: cannot import name 'escape' from 'jinja2' #215

Closed
Stefal opened this issue Apr 1, 2022 · 1 comment
Closed

ImportError: cannot import name 'escape' from 'jinja2' #215

Stefal opened this issue Apr 1, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Stefal
Copy link
Owner

Stefal commented Apr 1, 2022

Describe the bug
server.py failed with ImportError: cannot import name 'escape' from 'jinja2'

To Reproduce
Steps to reproduce the behavior:

  1. Install RTKBase from the command line
  2. execute journalctl -u rtkbase_web.service
  3. See error

Software/Hardware (please complete the following information):

  • RTKBase release number 2.3.3
  • OS: 2022-01-28-raspios-bullseye-armhf-lite.zip
  • SBC Raspberry Pi 4

Workaround

  • Remove jinja2 with sudo pip uninstall jinja2
  • Remove werkseug with sudo pip uninstall werkzeug
  • Install this version sudo pip install Jinja2==3.0.3 sudo pip install werkzeug==2.0.2

see pallets/flask#4494

@Stefal Stefal self-assigned this Apr 1, 2022
@Stefal Stefal added the bug Something isn't working label Apr 1, 2022
@Stefal Stefal mentioned this issue Apr 1, 2022
@Stefal
Copy link
Owner Author

Stefal commented Apr 1, 2022

Fixed in release 2.3.4

@Stefal Stefal closed this as completed Apr 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant