Skip to content

Forum in maintenance, we will back soon 🙂

DigitalOcean Hostin...
 
Notifications
Clear all

DigitalOcean Hosting Failure

3 Posts
3 Users
0 Reactions
493 Views
(@hung-ng)
Posts: 4
Active Member Customer
Topic starter
 

I am getting the following service failure message when hosting the Google API on DigitalOcean:

[2023-10-29 01:56:18] Traceback (most recent call last):
[2023-10-29 01:56:18] File "/workspace/app.py", line 2, in <module>
[2023-10-29 01:56:18] from flask import Flask, request, jsonify
[2023-10-29 01:56:18] File "/workspace/.heroku/python/lib/python3.11/site-packages/flask/__init__.py", line 7, in <module>
[2023-10-29 01:56:18] from .app import Flask as Flask
[2023-10-29 01:56:18] File "/workspace/.heroku/python/lib/python3.11/site-packages/flask/app.py", line 28, in <module>
[2023-10-29 01:56:18] from . import cli
[2023-10-29 01:56:18] File "/workspace/.heroku/python/lib/python3.11/site-packages/flask/cli.py", line 18, in <module>
[2023-10-29 01:56:18] from .helpers import get_debug_flag
[2023-10-29 01:56:18] File "/workspace/.heroku/python/lib/python3.11/site-packages/flask/helpers.py", line 16, in <module>
[2023-10-29 01:56:18] from werkzeug.urls import url_quote
[2023-10-29 01:56:18] ImportError: cannot import name 'url_quote' from 'werkzeug.urls' (/workspace/.heroku/python/lib/python3.11/site-packages/werkzeug/urls.py)
[]

How to fix the problem?

Thanks in advance

 
Posted : 10/29/2023 2:43 am
Hasan Aboul Hasan
(@admin)
Posts: 1276
Member Admin
 

Can you share your requirements file and did you add it? 

 
Posted : 10/29/2023 12:57 pm
SSAdvisor
(@ssadvisor)
Posts: 1139
Noble Member
 

@hung-ng please share the public link to your Github code. 

Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack

 
Posted : 10/30/2023 3:49 pm
Share:
[the_ad_group id="312"]