英文:
can't get over "You do not have permission to modify this app"
问题
我尝试了:
rm ~/.appcfg_oauth2_tokens
整个页面身份验证过程对于两个帐户(所有者角色)都成功完成,并且结果相同
appcfg.py update --no_cookies
结果相同
appcfg.py update --noauth_local_webserver
令牌显示在终端中被接受,进程继续向相同的结果进行。
我还尝试将另一个Google帐户添加为所有者,结果相同。当我输入应用程序名称时出现错误不同,所以我猜这不是问题。Goapp
部署和appcfg
似乎基本上是相同的工具,最终都有相同的结果。
有什么想法吗?
英文:
I tried:
rm ~/.appcfg_oauth2_tokens
Whole process with page authentication finish successfully for both accounts (owner role) with same result
appcfg.py update --no_cookies
Same result
appcfg.py update --noauth_local_webserver
Token is displayed, accepted in terminal, process continues towards same result.
I also tried to add another google account as owner, with same result. When I mistype application name, error is different, so I guess this is not a problem. Goapp
deploy and appcfg
seems to be same tool basically, both have same results in the end.
Any ideas?
答案1
得分: 0
请检查位于/webapp/WEB-INF的appengine-web文件,听起来你可能使用了一个保留的应用程序名称或应用程序+版本。
编辑:为了进一步咨询,我添加了该线程的结论。
从GCP控制台部署是解决该问题的有效方法。
https://cloud.google.com/sdk/gcloud/reference/app/create
https://cloud.google.com/appengine/docs/python/tools/uploadinganapp
英文:
Try checking the appengine-web file at /webapp/WEB-INF sounds like you have a reserved application name or application+version
Edit: For further consultation I am adding the conclusion of the thread.
Deploying from the GCP console was a valid workaround to the issue.
https://cloud.google.com/sdk/gcloud/reference/app/create
https://cloud.google.com/appengine/docs/python/tools/uploadinganapp
答案2
得分: 0
Nilo_DS的提示指向了正确的方向。使用gcloud命令,我成功地上传了应用程序。虽然在使用goapp命令时仍然不确定发生了什么,但这个解决方法对我来说已经足够好了。
我使用的命令是:
gcloud init
gcloud beta app create
gcloud deploy
英文:
Hint from Nilo_DS was pointing in right direction. Using gcloud commands, I was able to upload app correctly. Still not sure what is going on when using goapp command, but this workaround is good enough for me.
Commands I used were
gcloud init
gcloud beta app create
gcloud deploy
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论