Google App Engine上传失败

时间:2012-07-07 23:00:56

标签: python google-app-engine

尝试上传简单的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:无法设置属性

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

1 个答案:

答案 0 :(得分:2)

好的,最后我找到了解决方案 - 一个非常简单的解决方案: 看来谷歌appp引擎对常规帐户密码不满意,它需要特定于应用程序的可以在这里设置: http://support.google.com/accounts/bin/static.py?hl=en&page=guide.cs&guide=1056283&answer=185833&rd=3