Google App Engine部署失败,“空索引配置” [英] Google App Engine Deployment Failed, "empty index configuration"

查看:141
本文介绍了Google App Engine部署失败,“空索引配置”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在试图将我的本地副本推送到远程存储库。但是,在我的控制台上显示了以下错误:

pre $ $ $ $ $合计0(增量0),重用0(增量0)
remote:部署...
remote:创建的部署:uconnect-dev-server.clouddev.gaeTemplate-d981b975f1ecaa6d.deployment_1382264909584
remote:创建的部署:uconnect-dev-server.clouddev.gaeTemplate-d981b975f1ecaa6d .deployment_1382264909584
remote:创建的部署:uconnect-dev-server.clouddev.gaeTemplate-d981b975f1ecaa6d.deployment_1382264909584
remote:部署失败:部署失败,详细信息:{加载应用程序失败,空索引配置失败,无}
转至https://code.google.com/id/-i5ivOq1gug/
fe3d360..51bda59 dev - > master

当我使用master - > master时也会发生同样的问题。这里提到了什么索引配置?我已经在本地完成了提交,并且推送到远程服务器是唯一的问题。



感谢您的帮助!

解决方案

这个应用程序运行什么语言? GAE应用程序具有可选的数据存储区索引配置文件( python ,< a href =https://developers.google.com/appengine/docs/java/config/indexconfig =noreferrer> java )。如果您有一个空的索引文件,GAE会在部署期间引发此错误。 (Git与这个错误无关,这完全是GAE问题)。如果您不需要数据存储索引,请完全删除index.yaml / datastore-indexes.xml文件。这可能会解决您的问题。


I've been trying to push my local copy to the remote repository. However, the following error shows up on my console:

Total 0 (delta 0), reused 0 (delta 0)
remote: Deploying...
remote: Created deployment: uconnect-dev-server.clouddev.gaeTemplate-d981b975f1ecaa6d.deployment_1382264909584
remote: Created deployment: uconnect-dev-server.clouddev.gaeTemplate-d981b975f1ecaa6d.deployment_1382264909584
remote: Created deployment: uconnect-dev-server.clouddev.gaeTemplate-d981b975f1ecaa6d.deployment_1382264909584
remote: Deployment failed: Deployment failed, details: { Failed to load application, Empty index configuration., none}
To https://code.google.com/id/-i5ivOq1gug/
   fe3d360..51bda59  dev -> master

The same issue also happens when I use master -> master. What "index configuration" is being referred to here? I've already done the commit locally and the push to the remote server is the only issue.

Thanks for the help!

解决方案

What language is this app running? GAE apps have an optional 'datastore index configuration file' (python, java). If you have an empty index file, GAE throws this error during deployment. (Git has nothing to do with this error by the way. This is strictly a GAE issue). If you don't need a datastore index, delete the the index.yaml/datastore-indexes.xml file completely. This might solve your issue.

这篇关于Google App Engine部署失败,“空索引配置”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆