appcfg.py download_app exception when checking for latest SDK updates

43 views
Skip to first unread message

Wes

unread,
Jan 27, 2011, 10:55:48 PM1/27/11
to google-a...@googlegroups.com
Trying to download the app and I'm getting this exception:

$ appcfg.py download_app -A myappname -V 13 test
Server: appengine.google.com.
Traceback (most recent call last):
  File "/opt/local/var/google_appengine/appcfg.py", line 69, in <module>
    run_file(__file__, globals())
  File "/opt/local/var/google_appengine/appcfg.py", line 65, in run_file
    execfile(script_path, globals_)
  File "/opt/local/var/google_appengine/google/appengine/tools/appcfg.py", line 3100, in <module>
    main(sys.argv)
  File "/opt/local/var/google_appengine/google/appengine/tools/appcfg.py", line 3091, in main
    result = AppCfgApp(argv).Run()
  File "/opt/local/var/google_appengine/google/appengine/tools/appcfg.py", line 2013, in Run
    self.action(self)
  File "/opt/local/var/google_appengine/google/appengine/tools/appcfg.py", line 2943, in __call__
    return method()
  File "/opt/local/var/google_appengine/google/appengine/tools/appcfg.py", line 2334, in DownloadApp
    updatecheck.CheckForUpdates()
  File "/opt/local/var/google_appengine/google/appengine/tools/appcfg.py", line 448, in CheckForUpdates
    if self.config.api_version not in api_versions:
AttributeError: 'NoneType' object has no attribute 'api_version'


I was able to hack in a return statement in CheckForUpdates to get around this, but I'm curious as to why this is happening. It seems to work fine after skipping CheckForUpdates.

Mac OSX, app engine SDK 1.4.0
Reply all
Reply to author
Forward
0 new messages