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

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

未关闭
#34 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Bicep
星标
107
派生
1.8k
PR 合并指标
30 天内没有已合并 PR

描述

> 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.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。