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 2.7.8.10 installed. Here is the output from appcfg.py:

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 <module>
    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 <module>
    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] > 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'

      

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.

+3


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.

+5


source







All Articles