Deploy KindleEar through GAE ERROR appcfg.py:2449

275 views Asked by At

Here is the code and tutorials: https://github.com/cdhigh/kindleear I tried a lot of times but it failed with following error message. No matter how you use cmd mode or GAE launcher, it was always the same issue. I have no idea what's going on. Could you help me?

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

There are 1 answers

0
iamsaksham On

Happened same with me. Then I found out that I am not running the command "appcfg.py ....." in the correct directory. You may want to browse to the directory where your project is present and not in the Google/appengine directory i.e in simple words browse to where your app.yaml and module-worker.yaml are located and try to run the command again. Hope it helps.

p.s. Dont forget to add PATH of appengine to your system directory