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
Which computer is the PiSCSI connected to: Apple MAcintosh Classic
Describe the issue
Error when starting the Web server.
When running sudo journalctl -f:
cannot import name 'url encode' from 'werkzeug.urls'
This happened because flask==2.2.2 pulls the latest werkzeug==3.0.0 lib that introduced this error.
Possible fix: adding werkzeug==2.3.7 on requirements.txt file.
A better fix to avoid this from happening with other libraries will be: on each release freeze an entire environment that is known to work. pip freeze > requirements.txt when inside the environment
The text was updated successfully, but these errors were encountered:
fperdigon
added a commit
to fperdigon/piscsi
that referenced
this issue
Oct 13, 2023
Info
Describe the issue
Error when starting the Web server.
When running
sudo journalctl -f
:cannot import name 'url encode' from 'werkzeug.urls'
This happened because flask==2.2.2 pulls the latest werkzeug==3.0.0 lib that introduced this error.
Possible fix: adding werkzeug==2.3.7 on requirements.txt file.
A better fix to avoid this from happening with other libraries will be: on each release freeze an entire environment that is known to work.
pip freeze > requirements.txt
when inside the environmentThe text was updated successfully, but these errors were encountered: