首页 > 解决方案 > 从 App Engine 下载源代码时出错

问题描述

现在 2 天,我正在尝试从部署在 Google App Engine 上的一个项目中下载源代码,以修补基于 Laravel 的网站上的一个重要错误......不幸的是,允许用户下载他的源代码的命令已弃用 ( appcfg.py)。

但是根据 GCP 支持和 StackOverflow 最近的一篇文章,这个命令一直可用到 2020 年,当我尝试下载文件(超过 7k 的文件)时,我只下载了 23 个文件后收到一条错误消息......

根据 GCP 文档,命令是:

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

错误代码:

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 --

我想了解问题的来源,或者是否有另一种方法可以将所有文件保存在我的计算机上:-) ...提前谢谢你。回声

标签: pythonlaravelgoogle-app-engine

解决方案


根据 Google App Engine 的文档,您使用的命令现已弃用

此已弃用功能的推荐替代方法是迁移到 gcloud 命令行

希望这对你有帮助!


推荐阅读