无法使用app-cfg上传(部署)到Google App Engine

Dai*_*ney 2 google-app-engine

我可以使用Google App Engine Launcher将我的文件部署(上传)到Google App Engine,但我无法使用appcfg命令.我尝试使用--oauth2而不使用--oauth2.

$ $APP_ENGINE/appcfg.py --email=my.account@gmail.com --oauth2 update myapp
06:49 PM Application: myapp; version: 20141116
06:49 PM Host: appengine.google.com
06:49 PM 
Starting update of app: myapp, version: 20141116
06:49 PM Getting current resource limits.
06:49 PM Scanning files on local disk.
06:49 PM Scanned 500 files.
Error 404: --- begin server output ---
This application does not exist (app_id=u'myapp').
--- end server output ---


$ $APP_ENGINE/appcfg.py --email=my.account@gmail.com update myapp
06:54 PM Application: myapp; version: 20141116
06:54 PM Host: appengine.google.com
06:54 PM 
Starting update of app: myapp, version: 20141116
06:54 PM Getting current resource limits.
Password for my.account@gmail.com: 
Invalid username or password.
Run Code Online (Sandbox Code Playgroud)

我确信我为我的Gmail输入了正确的密码(我禁用了应用程序专用密码.)但它说我输入了错误的密码.

我有另一个应用程序引擎帐户,我仍然可以部署到我的其他帐户.

我想知道我在使用Google App Engine的多个帐户时,在凭据或指定正确的帐户时遇到了一些问题.

如何将我的应用程序部署到服务器?

谢谢,

小智 5

我今天遇到了这个麻烦,它让我回到了2个小时.最终在上面的评论中找到了这一点

rm ~/.appcfg_oauth2_tokens 
Run Code Online (Sandbox Code Playgroud)

直接回到AppEngineLaucher.app,它第一次运行.感谢[Daisuki Honey]上面的修复.