我正在尝试将python示例应用程序上传到我自己的appspot帐户。它在localhost上工作正常,但每当我通过命令行/ gae启动器上传它时,我收到此消息:
Closing update: new version is ready to start serving.
Uploading index definitions.
Error 400: --- begin server output ---
Building a composite index failed: ApplicationError: 1
--- end server output ---
Your app was updated, but there was an error updating your indexes. Please retry later with appcfg.py update_indexes.
2011-05-16 02:45:15 (Process exited with code 0)
结果是部署的应用程序无法看到或出现错误。当我使用appcfg.py update_indexes运行时,他们告诉我index.yaml有错误。我试图修改它,但无济于事..
答案 0 :(得分:1)
可能的原因之一是部署者用户的IAM角色。
应该是: