Chase R Lewis
Chase R Lewis

Reputation: 2307

Download Google App Engine Project

I've gotten appcfg.py to run. However, when I run the command it doesn't actually download the files. Nothing appears in the destination directory. There was a mixup and a lot of work got lost and the only way to recover them is to download them from the host.

python appcfg.py download_app -A beatemup-1097  /home/chaserlewis/Desktop/gcloud

The output is

Host: appengine.google.com
Fetching file list...
Fetching files...

Then it just returns without having downloaded anything. It is definitely hosted so I'm not sure what else to do.

I am doing this from a different computer then I deployed from if that matters. I couldn't get appcfg.py to run on my Windows machine unfortunately.

Upvotes: 0

Views: 84

Answers (1)

BrettJ
BrettJ

Reputation: 6841

It might be due to the omitted version flag. Try the following:

  1. Go to the App Engine versions page in the console and check the version of your app that is serving traffic. If you don't specify the -V flag, the appcfg command will try to download the default version, which isn't necessarily your latest version or the version serving traffic.

  2. Add the -V flag to your command with the target version that you identified from the console.

    python appcfg.py download_app -A beatemup-1097 -V [YOUR_VERSION]  /home/chaserlewis/Desktop/gcloud
    

Upvotes: 1

Related Questions