Deployment error after App Engine update

I am trying to deploy an application from Windows 7 x64. I have App Engine SDK 1.9.20 and ActivePython installed. Here is the output from

03:39 PM Application: turnkey-antler-289; version: 1
03:39 PM Host:
03:39 PM
Starting update of app: turnkey-antler-289, version: 1
03:39 PM Getting current resource limits.
Traceback (most recent call last):
  File "C:\Program Files (x86)\Google\google_appengine\", line 133, in <module>
    run_file(__file__, globals())
  File "C:\Program Files (x86)\Google\google_appengine\", line 129, in run_file
    execfile(_PATHS.script_file(script_name), globals_)
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\", line 5475, in <module>
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\", line 5466, in main
    result = AppCfgApp(argv).Run()
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\", line 3023, in Run
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\", line 5122, in __call__
    return method()
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\", line 3860, in Update
    self._UpdateWithParsedAppYaml(appyaml, self.basepath)
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\", line 3913, in _UpdateWithParsedAppYaml
    self.UpdateVersion(rpcserver, basepath, appyaml, APP_YAML_FILENAME)
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\", line 3798, in UpdateVersion
    return appversion.DoUpload(paths, openfunc)
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\", line 2444, in DoUpload
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\", line 490, in GetResourceLimits
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\", line 460, in _GetRemoteResourceLimits
    yaml_data = logging_context.Send('/api/appversion/getresourcelimits')
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\", line 1746, in Send
    result = self.rpcserver.Send(url, payload=payload, **kwargs)
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\", line 230, in Send
    self._Authenticate(self.http, auth_errors[0] > 0)
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\", line 439, in _Authenticate
    self.credentials = tools.run_flow(flow,, self.flags)
AttributeError: 'module' object has no attribute 'run_flow'


Everything was working fine now until I updated the App Engine SDK and I did this to switch my application to the php55 runtime. I would love to hear any suggestions on how to fix this.


source to share

1 answer

I had the same problem ... Here I share for you a solution that worked for me:

  • On Windows go to Control Panel> Programs and Features and unistall all versions of GAE that you have.

  • Navigate to the path where you installed GAE, "C: \ Program Files (x86) \ Google" in your case and delete the "google_appengine" folder (if you prefer to make a backup)

  • Install the latest GAE (actually 1.9.20)

  • Testing your application deployment should now work.



All Articles