Google app engine GoogleAppEngineLauncher部署失败:appcfg.py已完成,退出代码为0***

Google app engine GoogleAppEngineLauncher部署失败:appcfg.py已完成,退出代码为0***,google-app-engine,Google App Engine,几周来,我的GoogleApp一直很有魅力。对于每个更新,我都使用GoogleAppEngineLauncher(来自MacOSX10.10)再次部署它。从来没有问题。 今天,当我在一个小补丁后部署应用程序时,它花费了太多时间,所以我尝试中止并重试。糟糕的主意。 现在,每次我尝试部署应用程序时,它都会给我以下输出: *** Running appcfg.py with the following flags: --oauth2_credential_file=~/.appcfg_oauth2_

几周来,我的GoogleApp一直很有魅力。对于每个更新,我都使用GoogleAppEngineLauncher(来自MacOSX10.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 ***
我使用了makesymlinks选项,但没有任何帮助。我还从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 ***
***使用以下标志运行appcfg.py:
--oauth2\u凭证\u文件=~/.appcfg\u oauth2\u令牌更新
晚上7:17申请:appname;版本:1
晚上7:17主持人:appengine.google.com
晚上7:17开始更新应用程序:astribot,版本:1
晚上7:17获取当前资源限制。
2016-08-03 19:18:17605错误appcfg.py:2411处理文件“”时出错:EOF违反了协议(_ssl.c:590)。流产。
回溯(最近一次呼叫最后一次):
文件“google_appengine/appcfg.py”,第133行,在
运行\u文件(\uuuu文件,globals())
文件“google\u appengine/appcfg.py”,第129行,在run\u文件中
execfile(_PATHS.script_文件(script_名称),全局文件)
文件“/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine default.bundle/Contents/Resources/google\u appengine/google/appengine/tools/appcfg.py”,第5497行,在
主(系统argv)
文件“/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google\u appengine/google/appengine/tools/appcfg.py”,主目录第5488行
结果=AppCfgApp(argv).Run()
文件“/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine default.bundle/Contents/Resources/google\u appengine/google/appengine/tools/appcfg.py”,第2966行,正在运行
自我行动(self)
文件“/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine default.bundle/Contents/Resources/google\u appengine/google/appengine/tools/appcfg.py”,第5144行,在调用中__
返回方法()
文件“/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine default.bundle/Contents/Resources/google\u appengine/google/appengine/tools/appcfg.py”,第3876行,更新中
self.\u UpdateWithParsedAppYaml(appyaml,self.basepath)
文件“/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine default.bundle/Contents/Resources/google\u appengine/google/appengine/tools/appcfg.py”,第3929行,位于
UpdateVersion(rpcserver、basepath、appyaml、APP\u YAML\u文件名)
文件“/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine default.bundle/Contents/Resources/google\u appengine/google/appengine/tools/appcfg.py”,第3814行,在UpdateVersion中
返回appversion.DoUpload(路径,openfunc)
文件“/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine default.bundle/Contents/Resources/google\u appengine/google/appengine/tools/appcfg.py”,第2401行,双pload格式
自身错误(fh)
GetResourceLimits中第497行的文件“/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine default.bundle/Contents/Resources/google\u appengine/google/appengine/tools/appcfg.py”
资源限制。更新(\u GetRemoteResourceLimits(日志记录\u上下文))
文件“/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine default.bundle/Contents/Resources/google\u appengine/google/appengine/tools/appcfg.py”,第467行,在_GetRemoteResourceLimits中
yaml_data=logging_context.Send('/api/appversion/getresourcelimits'))
文件“/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine default.bundle/Contents/Resources/google\u appengine/google/appengine/tools/appcfg.py”,发送中第1709行
结果=self.rpcserver.Send(url,有效负载=有效负载,**kwargs)
文件“/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine default.bundle/Contents/Resources/google\u appengine/google/appengine/tools/appengine\u rpc\u httplib2.py”,第246行,在发送中
url,method=method,body=payload,headers=headers)
文件“/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine default.bundle/Contents/Resources/google\u appengine/lib/oauth2client/oauth2client/client.py”,第569行,在新请求中
重定向、连接(U类型)
文件“/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine default.bundle/Contents/Resources/google_appengine/lib/httplib2/httplib2/__init___;.py”,请求中的第1584行
(响应,内容)=self.\u请求(conn,authority,uri,request\u uri,method,body,header,重定向,cachekey)
文件“/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine default.bundle/Contents/Resources/google\u appengine/lib/httplib2/httplib2/\uuuu init\uuuuuuuuuuuuu.py”,第1332行,在请求中
(响应,内容)=自连接请求(连接,请求uri,方法,正文,标题)
文件“/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine default.bundle/Contents/Resources/google\u appengine/lib/httplib2/httplib2/\uuuuu init\uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu
连接
文件“/Applications/GoogleAppEngineLauncher.app/Contents/Resources