通过GAE ERROR appcfg.py:2449部署KindleEar

时间:2015-06-19 11:10:14

标签: python google-app-engine rss kindle

以下是代码和教程:https://github.com/cdhigh/kindleear 我尝试了很多次,但失败了以下错误消息。无论你如何使用cmd模式或GAE启动器,它始终是同一个问题。我不知道是怎么回事。你能帮帮我吗?

P.S.:Windows 7 64bit OS,2.7.10 Python,GAE SDK 1.9.22

c:\Program Files (x86)\Google\google_appengine>c:\python27\python.exe
appcfg.py update c:\users\my\applications\mywhitekindleear\app.yaml c:\users\my\applicatio
ns\mywhitekindleear\module-worker.yaml
05:15 PM Host: appengine.google.com
05:15 PM Application: mywhitekindleear; version: 1
05:15 PM
Starting update of app: mywhitekindleear, version: 1
05:15 PM Getting current resource limits.
2015-06-19 17:23:38,694 ERROR appcfg.py:2449 An error occurred processing file '
': [Errno 10060] . Aborting.
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(_PATHS.script_file(script_name), globals_)
  File "c:\Program Files (x86)\Google\google_appengine\google\appengine\tools\ap
pcfg.py", line 5486, in <module>
    main(sys.argv)
  File "c:\Program Files (x86)\Google\google_appengine\google\appengine\tools\ap
pcfg.py", line 5477, in main
    result = AppCfgApp(argv).Run()
  File "c:\Program Files (x86)\Google\google_appengine\google\appengine\tools\ap
pcfg.py", line 3018, in Run
    self.action(self)
  File "c:\Program Files (x86)\Google\google_appengine\google\appengine\tools\ap
pcfg.py", line 5133, in __call__
    return method()
  File "c:\Program Files (x86)\Google\google_appengine\google\appengine\tools\ap
pcfg.py", line 3825, in Update
    self.UpdateUsingSpecificFiles()
  File "c:\Program Files (x86)\Google\google_appengine\google\appengine\tools\ap
pcfg.py", line 3817, in UpdateUsingSpecificFiles
    self.UpdateVersion(rpcserver, self.basepath, module_yaml, file_name)
  File "c:\Program Files (x86)\Google\google_appengine\google\appengine\tools\ap
pcfg.py", line 3793, in UpdateVersion
    return appversion.DoUpload(paths, openfunc)
  File "c:\Program Files (x86)\Google\google_appengine\google\appengine\tools\ap
pcfg.py", line 2439, in DoUpload
    self.error_fh)
  File "c:\Program Files (x86)\Google\google_appengine\google\appengine\tools\ap
pcfg.py", line 493, in GetResourceLimits
    resource_limits.update(_GetRemoteResourceLimits(logging_context))
  File "c:\Program Files (x86)\Google\google_appengine\google\appengine\tools\ap
pcfg.py", line 463, in _GetRemoteResourceLimits
    yaml_data = logging_context.Send('/api/appversion/getresourcelimits')
  File "c:\Program Files (x86)\Google\google_appengine\google\appengine\tools\ap
pcfg.py", line 1749, in Send
    result = self.rpcserver.Send(url, payload=payload, **kwargs)
  File "c:\Program Files (x86)\Google\google_appengine\google\appengine\tools\ap
pengine_rpc_httplib2.py", line 236, in Send
    url, method=method, body=payload, headers=headers)
  File "c:\Program Files (x86)\Google\google_appengine\lib\httplib2\httplib2\__i
nit__.py", line 1584, in request
    (response, content) = self._request(conn, authority, uri, request_uri, metho
d, body, headers, redirections, cachekey)
  File "c:\Program Files (x86)\Google\google_appengine\lib\httplib2\httplib2\__i
nit__.py", line 1332, in _request
    (response, content) = self._conn_request(conn, request_uri, method, body, he
aders)
  File "c:\Program Files (x86)\Google\google_appengine\lib\httplib2\httplib2\__i
nit__.py", line 1306, in _conn_request
    conn.connect()
  File "c:\Program Files (x86)\Google\google_appengine\lib\httplib2\httplib2\__i
nit__.py", line 1053, in connect
    raise socket.error, msg
socket.error: [Errno 10060]

c:\Program Files (x86)\Google\google_appengine>

1 个答案:

答案 0 :(得分:0)

发生在我身上。然后我发现我没有运行命令&#34; appcfg.py .....&#34;在正确的目录中。您可能希望浏览到项目所在的目录,而不是浏览Google / appengine目录,即简单地说,浏览到app.yaml和module-worker.yaml所在的位置,然后尝试再次运行该命令。 希望它有所帮助。

P.S。别忘了将appengine的PATH添加到系统目录