申请gae不会部署

时间:2012-07-09 22:49:55

标签: google-app-engine deployment

我不记得经历了查找唯一应用程序名称的过程。如果这是问题(我选择的名称不是新的),有人可以提醒我如何启动该过程,除非下面的错误消息表明存在其他问题。

我很确定我之前没有上传此应用程序,因此可能“更新”不合适。我点击SDK窗口中的“部署”按钮开始此过程,顺便说一句。

*** Running appfg.py with the following flags:
    --no_cookies --email=xxx@gmail.com --passin update
Host: appengine.google.com
Application: youpoll; version: 1

Starting update of app: xxxxxxx, version: 1
Getting current resource limits.
2012-07-09 17:50:44,915 ERROR appcfg.py:2161 An error occurred processing file '': HTTP Error 403: Forbidden. Aborting. 
Error 403: --- begin server output ---
You do not have permission to modify this app (app_id=u'xxxxxxx').
--- end server output ---
Password for xxx@gmail.com: If deploy fails you might need to 'rollback' manually.
The "Make Symlinks..." menu option can help with command-line work.
*** appcfg.py has finished with exit code 1 ***

3 个答案:

答案 0 :(得分:12)

我删除了〜/ .appcfg_oauth2_tokens_java,它解决了我的问题。此外,值得查看此链接https://cloud.google.com/appengine/docs/java/tools/uploadinganapp

答案 1 :(得分:1)

在appengine网站上创建新项目时,会选择唯一的应用程序名称。如果您还没有这样做,请找到您的应用程序名称/创建您的帐户。此外,请确保您已在Eclipse中登录谷歌。它应该在左下角显示您的Google帐户名称。

答案 2 :(得分:1)

按照Getting Started guide for JavaPython中“注册您的申请”部分中的说明进行操作。