GoogleAppEngineLauncher部署失败:appcfg.py已完成退出代码0 ***

时间:2016-08-02 18:16:21

标签: google-app-engine

我的GoogleApp在几周内就像一个魅力。对于每次更新,我都使用GoogleAppEngineLauncher(来自Mac OS X 10.10)再次部署它。从未遇到过问题。 今天,当我在一个小修复后部署应用程序时,它花了太多时间,所以我试图中止并重新尝试。可怕的主意。 现在,每当我尝试部署应用程序时,它都会给我这个输出:

 *** Running appcfg.py with the following flags:
--oauth2_credential_file=~/.appcfg_oauth2_tokens update
12:25 AM Application: appname; version: 1
12:25 AM Host: appengine.google.com
12:25 AM Starting update of app: appname, version: 1
12:25 AM Getting current resource limits.
12:25 AM Scanning files on local disk.
12:25 AM Cloning 1 static file.
12:25 AM Cloning 6 application files.
12:25 AM Compilation starting.
12:25 AM Compilation completed.
12:25 AM Starting deployment.
12:25 AM Checking if deployment succeeded.
12:25 AM Deployment successful.
12:25 AM Checking if updated app version is serving.
12:25 AM Completed update of app: appname, version: 1
12:25 AM Uploading index definitions.
If deploy fails you might need to 'rollback' manually.
The "Make Symlinks..." menu option can help with command-line work.
*** appcfg.py has finished with exit code 0 ***

我使用了Make Symlinks选项,但它没有帮助。我也从cmd手动回滚:

appcfg.py rollback Users/bran/Documents/Projects/appname

输出结果为:

12:54 AM Application: appname
12:54 AM Host: appengine.google.com
12:54 AM Rolling back the update.

我发现了其他一些相关/类似的问题,但答案并没有解决我的问题。此外,其他用户并没有中止部署过程,这就是为什么我认为有人可能会遇到此错误的另一个原因。我还尝试创建另一个GoogleApp并复制文件,以及再次卸载和重新安装GoogleAppEngineLauncher。结果相同。请帮助,我不知道还有什么可以尝试恢复我以前工作的应用程序。也许我没有正确卸载GoogleAppEngineLauncher? 此外,我不认为问题出在应用程序代码中,因为我试图将应用程序恢复到之前(已部署)状态,但错误仍然存​​在。

编辑:我尝试再次使用Make Symlinks选项,它给了我以下输出/错误:

*** Running appcfg.py with the following flags:
--oauth2_credential_file=~/.appcfg_oauth2_tokens update
07:17 PM Application: appname; version: 1
07:17 PM Host: appengine.google.com
07:17 PM Starting update of app: astribot, version: 1
07:17 PM Getting current resource limits.
2016-08-03 19:18:17,605 ERROR appcfg.py:2411 An error occurred     processing file '': EOF occurred in violation of protocol (_ssl.c:590). Aborting. 
Traceback (most recent call last):
File "google_appengine/appcfg.py", line 133, in <module>
run_file(__file__, globals())
File "google_appengine/appcfg.py", line 129, in run_file
execfile(_PATHS.script_file(script_name), globals_)
File     "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/appcfg.py", line 5497, in <module>
main(sys.argv)
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-   default.bundle/Contents/Resources/google_appengine/google/appengine/tools/appcfg.py", line 5488, in main
result = AppCfgApp(argv).Run()
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/appcfg.py", line 2966, in Run
self.action(self)
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/appcfg.py", line 5144, in __call__
return method()
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/appcfg.py", line 3876, in Update
self._UpdateWithParsedAppYaml(appyaml, self.basepath)
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/appcfg.py", line 3929, in _UpdateWithParsedAppYaml
self.UpdateVersion(rpcserver, basepath, appyaml, APP_YAML_FILENAME)
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/appcfg.py", line 3814, in UpdateVersion
return appversion.DoUpload(paths, openfunc)
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/appcfg.py", line 2401, in DoUpload
self.error_fh)
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/appcfg.py", line 497, in GetResourceLimits
resource_limits.update(_GetRemoteResourceLimits(logging_context))
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/appcfg.py", line 467, in _GetRemoteResourceLimits
yaml_data = logging_context.Send('/api/appversion/getresourcelimits')
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/appcfg.py", line 1709, in Send
result = self.rpcserver.Send(url, payload=payload, **kwargs)
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/appengine_rpc_httplib2.py", line 246, in Send
url, method=method, body=payload, headers=headers)
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/oauth2client/oauth2client/client.py", line 569, in new_request
redirections, connection_type)
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/httplib2/httplib2/__init__.py", line 1584, in request
(response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/httplib2/httplib2/__init__.py", line 1332, in _request
(response, content) = self._conn_request(conn, request_uri, method, body, headers)
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/httplib2/httplib2/__init__.py", line 1268, in _conn_request
conn.connect()
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/httplib2/httplib2/__init__.py", line 1014, in connect
self.disable_ssl_certificate_validation, self.ca_certs)
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/httplib2/httplib2/__init__.py", line 80, in _ssl_wrap_socket
cert_reqs=cert_reqs, ca_certs=ca_certs)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 911, in wrap_socket
ciphers=ciphers)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 579, in __init__
self.do_handshake()
File   "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 808, in do_handshake
self._sslobj.do_handshake()
ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:590)
If deploy fails you might need to 'rollback' manually.
The "Make Symlinks..." menu option can help with command-line work.
*** appcfg.py has finished with exit code 1 ***

0 个答案:

没有答案