问题描述
我每天都成功地运行了本地开发服务器,除了我在停止工作之前调用了"gcloud组件更新"外,没有进行任何更改.现在我得到:
I've been successfully running the local development server daily and have made no changes except that I called "gcloud components update" just before it stopped working. Now I get:
..snip... <<PATH TO MY SDK>>/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/application_configuration.py", line 518, in _parse_configuration
with open(configuration_path) as f:
IOError: [Errno 2] No such file or directory: 'app.yaml'
当然app.yaml尚未移动.
Of course app.yaml hasn't moved.
有什么想法吗?
推荐答案
似乎有一个有关Google问题的活跃问题跟踪器(于2018年10月2日开放)与此相关:
It looks like there's an active issue on Google's issue tracker (opened on Oct 2, 2018) pertaining to this:
截至10月3日,似乎正在修复该问题,但目前他们建议将Google Cloud SDK降级到218.0.0版本:
As of Oct 3, a fix appears to be in the works, but for now they suggest downgrading Google Cloud SDK to version 218.0.0:
gcloud components update --version 218.0.0
问题的受让人将在解决该问题后发布有关该问题的更新.
The assignee of the issue will post an update on that issue when it has been resolved.
更新(2018年10月9日):Cloud SDK版本220.0.0(已修复dev_appserver.py问题)现已可用.我更新了(通过gcloud components update
)并验证了它是否有效. (请注意:问题跟踪工具上已经有一些抱怨,表明dev_appserver.py现在花费的时间太长.我没有注意到与218版本有显着差异,但是我没有比较时间.)
UPDATE (OCT 9, 2018): Cloud SDK version 220.0.0, which fixes the dev_appserver.py issue, is now available. I updated (via gcloud components update
) and verified that it works. (Note: there are already a couple of complaints on the Issue Tracker that dev_appserver.py takes too long to load now. I didn't notice a significant difference from version 218, but I didn't compare timings.)
这篇关于为什么dev_appserver.py报告“没有这样的文件或目录"?在今天的gcloud组件更新之后的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!