Google App Engine更新问题

时间:2012-11-03 05:53:31

标签: python google-app-engine

我正在开发一个应用程序(基于python),它部署在GAE上,直到最后一天工作正常,但我似乎无法更新应用程序引擎上的任何代码,因为今天早上,它正在抱怨一些有问题的密码,我已仔细检查,电子邮件ID和密码是正确的。

这是我收到的堆栈跟踪:

10:47 PM Cloning 706 static files.
2012-11-03 22:47:07,913 WARNING appengine_rpc.py:542 ssl module not found.
Without the ssl module, the identity of the remote host cannot be verified, and
connections may NOT be secure. To fix this, please install the ssl module from
http://pypi.python.org/pypi/ssl .
To learn more, see https://developers.google.com/appengine/kb/general#rpcssl 
Password for user@gmail.com: 2012-11-03 22:47:07,913 ERROR appcfg.py:2266 An unexpected error occurred. Aborting. 
Traceback (most recent call last):
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 2208, in DoUpload
    missing_files = self.Begin()
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 1934, in Begin
    CloneFiles('/api/appversion/cloneblobs', blobs_to_clone, 'static')
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 1929, in CloneFiles
    result = self.Send(url, payload=BuildClonePostBody(chunk))
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 1841, in Send
    return self.rpcserver.Send(url, payload=payload, **self.params)
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appengine_rpc.py", line 403, in Send
    self._Authenticate()
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appengine_rpc.py", line 543, in _Authenticate
    super(HttpRpcServer, self)._Authenticate()
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appengine_rpc.py", line 293, in _Authenticate
    credentials = self.auth_function()
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 2758, in GetUserCredentials
    password = self.raw_input_fn(password_prompt)
EOFError: EOF when reading a line
10:47 PM Rolling back the update.
2012-11-03 22:47:08,818 WARNING appengine_rpc.py:542 ssl module not found.
Without the ssl module, the identity of the remote host cannot be verified, and
connections may NOT be secure. To fix this, please install the ssl module from
http://pypi.python.org/pypi/ssl .
To learn more, see https://developers.google.com/appengine/kb/general#rpcssl 
Password for user@gmail.com: Traceback (most recent call last):
  File "C:\Program Files (x86)\Google\google_appengine\appcfg.py", line 171, in 
    run_file(__file__, globals())
  File "C:\Program Files (x86)\Google\google_appengine\appcfg.py", line 167, in run_file
    execfile(script_path, globals_)
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 4322, in 
    main(sys.argv)
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 4313, in main
    result = AppCfgApp(argv).Run()
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 2599, in Run
    self.action(self)
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 4048, in __call__
    return method()
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 3065, in Update
    self.UpdateVersion(rpcserver, self.basepath, appyaml)
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 3047, in UpdateVersion
    lambda path: self.opener(os.path.join(basepath, path), 'rb'))
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 2267, in DoUpload
    self.Rollback()
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 2150, in Rollback
    self.Send('/api/appversion/rollback')
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 1841, in Send
    return self.rpcserver.Send(url, payload=payload, **self.params)
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appengine_rpc.py", line 403, in Send
    self._Authenticate()
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appengine_rpc.py", line 543, in _Authenticate
    super(HttpRpcServer, self)._Authenticate()
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appengine_rpc.py", line 293, in _Authenticate
    credentials = self.auth_function()
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 2758, in GetUserCredentials
    password = self.raw_input_fn(password_prompt)
EOFError: EOF when reading a line
2012-11-03 22:47:09 (Process exited with code 1)

You can close this window now.

任何帮助将不胜感激。

P.S,我已尝试从命令行以及Google应用引擎启动器。

2 个答案:

答案 0 :(得分:1)

要下载现有的部署代码,请查看download appengine filesdownload deployed code链接。

这可以帮助您下​​载代码。

然后尝试重新上传,看看它是否正常工作。

答案 1 :(得分:1)

经过3天无休止的搜索后,我发现了问题,如果你遇到这个问题,首先要检查的是你的系统时间,由于夏令时的变化,我的系统时间不正确。

由于