`gcloud preview app deploy`在版本105.0.0中给出了MaxRetrialsException

Zac*_*man 6 google-app-engine gcloud

当我gcloud preview app deploy使用Cloud SDK版本105.0.0 运行时,收到以下错误消息:

ERROR: gcloud crashed (MaxRetrialsException): last_result=(None, (<class 'googlecloudsdk.calliope.exceptions.BadFileException'>, BadFileException('[.../source-context.json] not found or not accessible',), <traceback object at 0x7f7bb4ab07e8>)), last_retrial=3, time_passed_ms=1,time_to_wait=0
Run Code Online (Sandbox Code Playgroud)

Zac*_*man 9

这是一个已知问题,已在106.0.0 Cloud SDK版本中修复.请更新到该版本.

如果你不能,可以通过运行来解决:

gcloud config set app/use_gsutil true
Run Code Online (Sandbox Code Playgroud)

当使用gcloud部署到具有目录的"标准"(而不是"托管VM"或"灵活")App Engine应用程序时,会发生此特定问题.git.