Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/google-app-engine/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python gcloud应用程序引擎在部署Web应用程序时出错_Python_Google App Engine_Flask_Deployment_Gcloud - Fatal编程技术网

Python gcloud应用程序引擎在部署Web应用程序时出错

Python gcloud应用程序引擎在部署Web应用程序时出错,python,google-app-engine,flask,deployment,gcloud,Python,Google App Engine,Flask,Deployment,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.google

将文件复制到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并使用


我试着从bucket
staging.xxxxx.appspot.com
中删除文件
9da4e24ce2641deaff4b1d6c3b3d88bcf1c524
,然后再次运行
gcloud app deploy
,但仍然不起作用。

描述一下更大的图景:您的部署从哪里开始,具体如何进行?你能显示你的
app.yaml
文件吗?您是否有“跳过文件”部分?什么GAE环境?“运行时:python27 api_版本:1线程安全:真库:-名称:ssl版本:最新处理程序:-url:/static_dir:static-url:/.*脚本:main.app'@DanCornilescu这是app.yamlRecommend将您的问题更新发布为对原始问题的编辑,特别是关于格式化代码片段,比如你的
app.yaml
,以帮助其他人第一次看到你的问题。请描述一个更大的图景:你的部署来自何处,具体如何部署?你能显示你的
app.yaml
文件吗?您是否有“跳过文件”部分?什么GAE环境?“运行时:python27 api_版本:1线程安全:真库:-名称:ssl版本:最新处理程序:-url:/static_dir:static-url:/.*脚本:main.app'@DanCornilescu这是app.yamlRecommend将您的问题更新发布为对原始问题的编辑,特别是在格式化代码片段方面,比如你的
app.yaml
,以帮助其他人第一次看到你的问题。