Azure-Samples / Azure-Samples/msdocs-python-flask-webapp-quickstart

Non-working web app using up-to-date Azure quickstart guide

Ouverte
#34 2 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Bicep
Étoiles
107
Forks
1.8k
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

> Please provide us with the following information:
> ---------------------------------------------------------------

### This issue is for a: (mark with an `x`)
```
- [x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
```

### Minimal steps to reproduce
> 1. Follow the official steps on [Microsoft's website](https://learn.microsoft.com/en-us/azure/app-service/quickstart-python?tabs=flask%2Cmac-linux%2Cazure-portal%2Clocal-git-deploy%2Cdeploy-instructions-azportal%2Cterminal-bash%2Cdeploy-instructions-zip-azcli) to deploy the example Python3.9-based web app.

### Any log messages given by the failure
> Local build and deployment works, however, the site is not accessible. The reason is a Flask dependency issue as [documented here](https://stackoverflow.com/questions/77213053/why-did-flask-start-failing-with-importerror-cannot-import-name-url-quote-fr).

### Expected/desired behavior
> Web app accessible.

### OS and Version?
> Linux deployment on Azure app services

### Versions
> Python3.9

### Mention any other details that might be useful

There are already multiple PRs attempting to fix this issue:
- https://github.com/Azure-Samples/msdocs-python-flask-webapp-quickstart/pull/33
- https://github.com/Azure-Samples/msdocs-python-flask-webapp-quickstart/pull/32
- https://github.com/Azure-Samples/msdocs-python-flask-webapp-quickstart/pull/24

> ---------------------------------------------------------------
> Thanks! We'll be in touch soon.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.