Interesting. If you are an owner of the Cloud Platform project where this application is deployed, you should indeed be able to download the application code using *appcfg.py download_app* as documented in Downloading Your Source Code <https://cloud.google.com/appengine/docs/standard/python/tools/downloading-source-code> .
- Does the request complete successfully despite returning 0 files or does is hang on *Fetching file list...*? - Has anyone working with the project ever permanently prohibited code downloads as available in the App Engine Settings of the Cloud Console? I haven't tried this in some time but I believe you should get an error message if this is the case and not a hang. - Can anyone else working with the project successfully download the code using *appcfg.py download_app*? - If you have *App Engine Code Viewer* ACLs, you should be able to view the code in the Stackdriver Debug page <https://console.cloud.google.com/debug>. Is there any code shown there? If code download has not been disabled and you still cannot access the application code even with all the proper ACLs mentioned above, it's possible that your project is in a strange state. In which case, I would recommend filing a public issue on our Issue Tracker <https://issuetracker.google.com/issues/new>. If you do so, post a link to it here. We can make the issue private so that you can disclose your project ID. On Saturday, May 20, 2017 at 5:53:11 PM UTC-4, Lewis wrote: > > > I'm trying to take a look at a Google App Engine project started by > another developer and deployed to the Google Cloud Platform. I have project > owner rights. When running appcfg.py -A [appID] -V [version] download_app > [location] there are no errors, but no files come down. > > 12:00 PM Host: appengine.google.com > 12:00 PM Fetching file list... > 12:00 PM Fetching files... > > If the appID is invalid, or the version is invalid appfcg.py displays an > error, > > 12:00 PM Host: appengine.google.com > 12:00 PM Fetching file list... > Error 404: --- begin server output --- > This application does not exist (project_id=u'invalid'). To create an App > Engine application in this project, run "gcloud app create" in your console. > > or > > 12:00 PM Host: appengine.google.com > 12:00 PM Fetching file list... > Error 400: --- begin server output --- > Major version "123" does not exist. > > but when the appID and version are valid it simply downloads nothing. Any > suggestions? > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/4b97e76c-ca76-481f-9ad2-b1660aad6a54%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
