title: Error during deployment after App Engine upgrade
body: <p>I am trying deploy an app from Windows 7 x64. I have App Engine SDK 1.9.20 installed and ActivePython 2.7.8.10. Here is the output of appcfg.py:</p>
  
  <pre><code>03:39 PM Application: turnkey-antler-289; version: 1
  03:39 PM Host: appengine.google.com
  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\appcfg.py", line 133, in &lt;module&gt;
      run_file(__file__, globals())
    File "C:\Program Files (x86)\Google\google_appengine\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\appcfg.py", line 5475, in &lt;module&gt;
      main(sys.argv)
    File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 5466, in main
      result = AppCfgApp(argv).Run()
    File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 3023, in Run
      self.action(self)
    File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 5122, in __call__
      return method()
    File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 3860, in Update
      self._UpdateWithParsedAppYaml(appyaml, self.basepath)
    File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 3913, in _UpdateWithParsedAppYaml
      self.UpdateVersion(rpcserver, basepath, appyaml, APP_YAML_FILENAME)
    File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 3798, in UpdateVersion
      return appversion.DoUpload(paths, openfunc)
    File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 2444, in DoUpload
      self.error_fh)
    File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 490, in GetResourceLimits
      resource_limits.update(_GetRemoteResourceLimits(logging_context))
    File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 460, in _GetRemoteResourceLimits
      yaml_data = logging_context.Send('/api/appversion/getresourcelimits')
    File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 1746, in Send
      result = self.rpcserver.Send(url, payload=payload, **kwargs)
    File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appengine_rpc_httplib2.py", line 230, in Send
      self._Authenticate(self.http, auth_errors[0] &gt; 0)
    File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appengine_rpc_httplib2.py", line 439, in _Authenticate
      self.credentials = tools.run_flow(flow, self.storage, self.flags)
  AttributeError: 'module' object has no attribute 'run_flow'
  </code></pre>
  
  <p>Now, everything was working fine until I upgraded App Engine SDK and I did that in order to switch the app to php55 runtime. I would like to hear any suggestions on how to fix this.</p>