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
Since the new release of Werkzeug 2.1.0, the datapusher does not work anymore. In the log of the datapusher, you can see the following error: ImportError: cannot import name 'safe_str_cmp' from 'werkzeug.security' (/usr/lib/python3.8/site-packages/werkzeug/security.py)
Looking in the release notes of werkzeug 2.1.0, https://werkzeug.palletsprojects.com/en/2.1.x/changes/, we can see, that the function 'safe_str_cmp' was removed.
A quick way to fix this, is to continue using version 2.0.x of werkzeug. This e.g. given can be done by uninstalling Werkzeug 2.1.0 and manually installing Werkzeug 2.0.x.
Since the new release of Werkzeug 2.1.0, the datapusher does not work anymore. In the log of the datapusher, you can see the following error:
ImportError: cannot import name 'safe_str_cmp' from 'werkzeug.security' (/usr/lib/python3.8/site-packages/werkzeug/security.py)
Looking in the release notes of werkzeug 2.1.0, https://werkzeug.palletsprojects.com/en/2.1.x/changes/, we can see, that the function 'safe_str_cmp' was removed.
A quick way to fix this, is to continue using version 2.0.x of werkzeug. This e.g. given can be done by uninstalling Werkzeug 2.1.0 and manually installing Werkzeug 2.0.x.
I start the datapusher in version 0.0.17 with docker as follows: https://github.com/okfn/docker-ckan/blob/master/datapusher/Dockerfile
Reproduce this issue:
The text was updated successfully, but these errors were encountered: