使用pushtodeployforpython遇到无法解释的错误

2024-06-24 13:02:49 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在尝试使用Push来部署Python项目。它以前工作过,但今天我收到了错误:

remote: Scanning pack: 100% (3/3), done.
remote: Storing objects: 100% (3/3), done.
remote: Processing commits: 100% (1/1), done.
remote: Starting execution...
remote: Created deployment: app.clouddev.gaeTemplate-d981b975f1ecaa6d.deployment_1389214392960
remote: Deployment 'app@clouddev@gaeTemplate-d981b975f1ecaa6d@deployment_1389214392960@1c3db1af-255d-43d4-945d-4ddbd98f34b2' is in PENDING.
remote: Dispatched
remote: Deployment failed, details: { Failed to load application, Couldn't find required field: version, none}
remote: Deployment 'app@clouddev@gaeTemplate-d981b975f1ecaa6d@deployment_1389214392960@1c3db1af-255d-43d4-945d-4ddbd98f34b2' failed.
remote: Deployment failed: Deployment failed, details: { Failed to load application, Couldn't find required field: version, none}

我试图通过重做我的工作来纠正这个问题附录yaml,以确保所有压痕正确。应用程序在本地dev服务器上正确运行,并且附录yaml正确解析。你知道吗

application: app
version: 1
runtime: python27
api_version: 1
threadsafe: true

有什么想法吗?你知道吗


Tags: toappremoteapplicationversiondeploymentloaddetails