python - 部署 Web 应用程序时出现 gcloud 应用程序引擎错误
问题描述
将文件复制到 App Engine 时出现以下错误:
无法复制文件。
将应用程序部署到 Google 云平台时显示此错误。
File upload done.
Updating service [default]...failed.
ERROR: (gcloud.app.deploy) Error Response: [3] The following errors occurred while copying files to App Engine:
File https://storage.googleapis.com/staging.xxxx.appspot.com/9da4e24cec2641fdeaff4b1d6c3b3d88bcf1c524 failed with: Failed to copy file.
Details: [
[
{
"@type": "type.googleapis.com/google.rpc.ResourceInfo",
"description": "Failed to copy file.",
"resourceName": "https://storage.googleapis.com/staging.xxxxx.appspot.com/9da4e24cec2641fdeaff4b1d6c3b3d88bcf1c524",
"resourceType": "file"
}
]
]
我想生成 URL 并使用https://xxxxx.appspot.com运行项目
我尝试9da4e24cec2641fdeaff4b1d6c3b3d88bcf1c524
从存储桶中删除文件staging.xxxxx.appspot.com
,然后再次运行gcloud app deploy
,仍然无法正常工作。
解决方案
推荐阅读
- android - 初始化插件 com.android.tools.ndk 的致命错误
- python - 这两个for循环的区别?
- javascript - 当给定 N 步数和 M 最大可能步数时,返回人可以从 0 级(更高)到 N 级的可能序列总数
- python - 将 Timedelta 从 Pandas 数据帧转换为秒值
- python - 如何用beautifulsoup抓取h4中的数据?
- bash - 在ubuntu终端上使用“传感器”显示没有标签/文本的温度?
- c# - 无法捕获 System.TypeLoadException:
在 Xamarin 形式中 - python - 你能创建一个 Arduino 按钮,让你在 python 程序中执行某些事情吗?
- ruby-on-rails - 用于 has_many_through 关系的 Rails 模型 where 子句
- sas - 如何在 SortedBy 字段中显示来自 PROC CONTENTS 的排序方法?