gpt4 book ai didi

python - Google App Engine 上传失败

转载 作者:行者123 更新时间:2023-11-28 17:50:19 27 4
gpt4 key购买 nike

尝试上传简单的 hello world 应用程序时,出现以下错误:

Traceback (most recent call last):
File "./appcfg.py", line 133, in <module>
run_file(__file__, globals())
File "./appcfg.py", line 129, in run_file
execfile(script_path, globals_)
File "/home/mike/Documents/coder/Go/google_appengine/google/appengine/tools/appcfg.py", line 4083, in <module>
main(sys.argv)
File "/home/mike/Documents/coder/Go/google_appengine/google/appengine/tools/appcfg.py", line 4074, in main
result = AppCfgApp(argv).Run()
File "/home/mike/Documents/coder/Go/google_appengine/google/appengine/tools/appcfg.py", line 2544, in Run
self.action(self)
File "/home/mike/Documents/coder/Go/google_appengine/google/appengine/tools/appcfg.py", line 3830, in __call__
return method()
File "/home/mike/Documents/coder/Go/google_appengine/google/appengine/tools/appcfg.py", line 2991, in Update
self.UpdateVersion(rpcserver, self.basepath, appyaml)
File "/home/mike/Documents/coder/Go/google_appengine/google/appengine/tools/appcfg.py", line 2974, in UpdateVersion
lambda path: self.opener(os.path.join(basepath, path), 'rb'))
File "/home/mike/Documents/coder/Go/google_appengine/google/appengine/tools/appcfg.py", line 2131, in DoUpload
resource_limits = GetResourceLimits(self.rpcserver, self.config)
File "/home/mike/Documents/coder/Go/google_appengine/google/appengine/tools/appcfg.py", line 355, in GetResourceLimits
resource_limits.update(GetRemoteResourceLimits(rpcserver, config))
File "/home/mike/Documents/coder/Go/google_appengine/google/appengine/tools/appcfg.py", line 326, in GetRemoteResourceLimits
version=config.version)
File "/home/mike/Documents/coder/Go/google_appengine/google/appengine/tools/appengine_rpc.py", line 379, in Send
self._Authenticate()
File "/home/mike/Documents/coder/Go/google_appengine/google/appengine/tools/appengine_rpc.py", line 437, in _Authenticate
super(HttpRpcServer, self)._Authenticate()
File "/home/mike/Documents/coder/Go/google_appengine/google/appengine/tools/appengine_rpc.py", line 281, in _Authenticate
auth_token = self._GetAuthToken(credentials[0], credentials[1])
File "/home/mike/Documents/coder/Go/google_appengine/google/appengine/tools/appengine_rpc.py", line 233, in _GetAuthToken
e.headers, response_dict)
File "/home/mike/Documents/coder/Go/google_appengine/google/appengine/tools/appengine_rpc.py", line 94, in __init__
self.reason = args["Error"]

AttributeError: 无法设置属性

电子邮件和密码正确。该应用程序在我的本地计算机上运行完美。

最佳答案

好吧,我终于找到了解决方案——一个非常简单的解决方案:似乎 google appp engine 对常规帐户密码不满意,它需要可以在此处设置的特定于应用程序的密码: http://support.google.com/accounts/bin/static.py?hl=en&page=guide.cs&guide=1056283&answer=185833&rd=3

关于python - Google App Engine 上传失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11379328/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com