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

500 ERROR - Unable to import module 'vc__handler__python' #22

Open
LunaMellow opened this issue Nov 13, 2023 · 6 comments
Open

500 ERROR - Unable to import module 'vc__handler__python' #22

LunaMellow opened this issue Nov 13, 2023 · 6 comments
Labels
bug Something isn't working

Comments

@LunaMellow
Copy link

[ERROR] Runtime.ImportModuleError: Unable to import module 'vc__handler__python': cannot import name 'url_quote' from 'werkzeug.urls' (/var/task/werkzeug/urls.py)

500

@LunaMellow
Copy link
Author

In the forked repository I rolled back to the previous commit done by Thomas and it worked. What could be the cause of the new versions breaking?

@YiffyC
Copy link

YiffyC commented Dec 1, 2023

Without rolling back you can add

Werkzeug==2.2.2

in requiremet.txt. It solved the issue

@LunaMellow
Copy link
Author

Without rolling back you can add

Werkzeug==2.2.2

in requiremet.txt. It solved the issue

It didnt fix it for me unfortunately. Tried every version combination I could find and think of

@YiffyC
Copy link

YiffyC commented Dec 1, 2023

Strange. This is my exact entries in the requirements.txt In case it can helps you:

requests==2.28.1
python-dotenv==0.21.0
Werkzeug==2.2.2```

@tthn0
Copy link
Owner

tthn0 commented Feb 29, 2024

Hey guys, apologies for the super late response. This is most likely due to an outdated dependencies list. Just go to the ./api/requirements.txt file and remove the version numbers and it should work fine.

@tthn0 tthn0 added the bug Something isn't working label Feb 29, 2024
@tthn0
Copy link
Owner

tthn0 commented Jul 27, 2024

Hi, I updated the GitHub recently with new deployment instructions. Please try deploying on PythonAnywhere and let me know if that works for you.

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

3 participants