certsocietegenerale / fame

FAME Automates Malware Evaluation
https://certsocietegenerale.github.io/fame/
GNU General Public License v3.0
847 stars 168 forks source link

Webserver.py start werkzeug error cannot import name url_encode #83

Closed frantz2501 closed 4 years ago

frantz2501 commented 4 years ago

Description

[Please provide a description of the issue encountered] Error at start up From werkzeug Cannot import name url_encode

Steps to Reproduce

[Describe the steps to reproduce] utils/run.sh webserver.py

Expected behavior

[How are you expecting the application to behave?] Running

Actual behavior

[How is the application behaving? (include any stacktraces, logs, screenshots, etc.)] Error

Debug

[Include the output of utils/run.sh utils/troubleshoot.py]

In webserver.py, replace: from werkzeug import url_encode by from werkzeug.urls import url_encode

https://werkzeug.palletsprojects.com/en/0.16.x/urls/

stefanbulof commented 4 years ago

in webserver.py replace line 10 "from werkzeug import url_encode" with "from werkzeug.urls import url_encode"

Heat-Miser commented 4 years ago

Thanks

this is due to a change in the latest version of Werkzeug.

I'm gonna fix it !

Heat-Miser commented 4 years ago

fixed now