简体   繁体   中英

Error while downloading source code from App Engine

For now 2 days, i'm trying to download the source code from one of my project deployed on a Google App Engine to patch a important bug on a Laravel based website... Unhopefully the command who allow a user to download his source code is deprecated ( appcfg.py ).

But according to the GCP support and a recent post of StackOverflow, this command stay available until 2020, when i'm trying to download the files (over 7k of files) i'm getting an error message after only 23 files downloaded...

According to the GCP doc, the command is :

appcfg.py -A axial-yen-****** -V *************** download_app C:\******

The error code:

Error 500: --- begin server output ---
<ApiError 500, Message: "com.google.net.rpc3.util.RpcFutureStream$RpcStreamException: <eye3 title='/Tidepool.ReadContent2, UNKNOWN'/> ZERO_APP::0: invalid argument
        Suppressed: CriticalInputFailure: com.google.apphosting.admin.zeus.files.FileContentsProducerModule$TitaniumUncheckedFileContentsProducerModule.produceTitaniumFileContents failed while trying to inject @com.google.apps.framework.producers.PrivateVisibility(module=com.google.apphosting.admin.zeus.files.FileContentsProducerModule$TitaniumUncheckedFileContentsProducerModule.class) com.google.common.collect.ImmutableList<com.google.apphosting.riptide.TidepoolPb$ReadContentReply>
        Suppressed: java.util.concurrent.ExecutionException:
">
--- end server output --

I'd like to understand where the matters come from or if there are an another way to get all of there files down on my computer :-) ... Thanks you in advance. Echo

Based on the documentation from Google App Engine, the command that you are using is now deprecated .

The recommended alternative for this deprecated feature is migrate to gcloud command line .

Hope this helps you!

As @eespinola mentioned, the appcfg.app command is deprecated . However, you should be able to use it until July 30, 2020 .

The documentation from the Cloud SDK for Python 2 (the one that has the "appcfg.py" tool) shows that only supports: python 2.7, Java 8, PHP 5, Go 1.9.

I reproduce the error while trying to download an application in Python 3.7 (not supported) but was able to download successfully an application in Python 2.7 (supported).

I'm assuming your application version uses a PHP higher than PHP 5 and that's why is failing.

I understand that you would want an updated version of this functionality for the gcloud command, since the "appcfg.py" is not longer being supported. Please refer to this feature tracker to follow the updates of this feature for gcloud command, click the star at the left to subscribe to it an receive future updates.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM