3

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

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

4

1 回答 1

2

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

于 2012-07-08T10:24:02.813 回答