2
08:38 AM Scanning files on local disk.
2013-01-30 08:38:30,884 ERROR appcfg.py:1856 Invalid character in filename: Icon

Error 409: --- begin server output ---
Another transaction by user SLim is already in progress for app: s~pekkylab, version: 1. That user can undo the transaction with "appcfg rollback".
--- end server output ---
Password for myemail@email.com: 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 ***

当我尝试上传时,我收到了这个错误,然后按照它的指导员执行回滚,然后我在这里收到另一个错误

08:41 AM Application: pekkylab
08:41 AM Host: appengine.google.com
08:41 AM Rolling back the update.
Traceback (most recent call last):
  File "/usr/local/bin/appcfg.py", line 171, in <module>
    run_file(__file__, globals())
  File "/usr/local/bin/appcfg.py", line 167, in run_file
    execfile(script_path, globals_)
  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/appcfg.py", line 4377, in <module>
    main(sys.argv)
  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/appcfg.py", line 4368, 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 2605, in Run
    self.action(self)
  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/appcfg.py", line 4103, in __call__
    return method()
  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/appcfg.py", line 3553, in Rollback
    self._Rollback()
  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/appcfg.py", line 3569, in _Rollback
    appversion.Rollback()
  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/appcfg.py", line 2151, in Rollback
    self.Send('/api/appversion/rollback')
  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/appcfg.py", line 1842, in Send
    return self.rpcserver.Send(url, payload=payload, **self.params)
  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/appengine_rpc.py", line 391, in Send
    f = self.opener.open(req)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 391, in open
    response = self._open(req, data)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 409, in _open
    '_open', req)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 369, in _call_chain
    result = func(*args)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1181, in https_open
    return self.do_open(httplib.HTTPSConnection, req)
  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/fancy_urllib/fancy_urllib/__init__.py", line 379, in do_open
    url_error.reason.args[1])
fancy_urllib.InvalidCertificateException: Host appengine.google.com returned an invalid certificate (_ssl.c:499: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed): 
To learn more, see http://code.google.com/appengine/kb/general.html#rpcssl

任何线索为什么会发生这种情况?

4

4 回答 4

4

我猜你正在使用 MacOS,这个文件是Icon?(阅读更多关于SU answer)。如果您列出终端中的所有文件,您可以轻松验证它:ls.

为了跳过该文件,将其添加到文件末尾app.yaml并重新部署:

skip_files:
- ^(.*/)?Icon\r

您可以在文档中阅读有关跳过文件的更多信息。

此外,您可能需要在重新部署之前回滚:

appcfg.py rollback /path/to/project

如果对您没有任何效果,请尝试部署到新应用程序并改天再试一次 :)

于 2013-01-30T11:21:05.180 回答
0

尝试以这种方式使用参数 no_cookies 进行部署appcfg.py update . --no_cookies

于 2013-01-30T12:03:24.333 回答
0

如日志所述,图标的文件名中可能有一些奇异的字符。重命名它,并更新您的应用程序以使用重命名的版本。

您应该手动回滚事务(“appcfg 回滚”),然后再次尝试部署。

于 2013-01-30T01:26:27.817 回答
0

您的应用程序文件夹可能有一个自定义图标...生成一个“隐藏”图标文件,将其删除。

于 2016-08-28T21:10:22.830 回答