2016-03-20 25 views
0

在Google App Engine上使用Python 2.7 Django 1.9.latest,嘗試在Cloud Debugger中進行調試。當我運行這個CMDLINE上傳代碼調試器:Google App Engine gcloud alpha源捕獲上傳拋出文件大小警告

gcloud alpha source captures upload --capture-id <id is here> --project <project id is here> <local source path is here> 

我得到了一堆關於谷歌雲SDK的錯誤:

WARNING: Could not write file "y/google-cloud-sdk/.install/.backup/lib/googlecloudsdk/third_party/apis/compute_alpha.json" because it was too large (839578 bytes). Max size is 262144 bytes 
WARNING: Could not write file "y/google-cloud-sdk/.install/.backup/lib/googlecloudsdk/third_party/apis/compute_beta.json" because it was too large (713478 bytes). Max size is 262144 bytes 
WARNING: Could not write file "y/google-cloud-sdk/.install/.backup/lib/googlecloudsdk/third_party/apis/compute_v1.json" because it was too large (594590 bytes). Max size is 262144 bytes 

GAE SDK被列爲外部庫在我的Pycharm項目中,並沒有明確包含在我的代碼模塊中的任何地方。

我在這裏錯過了什麼?

回答

0

它看起來像你有一個「y」目錄,保存appengine SDK的副本。您可能需要將此目錄添加到.gitignore文件中。

你可能會忽略這些。雲調試器只關心源文件(.py),所以沒有.json文件不會影響它。

+0

Ahh thx在我整個時間都在我的臉上。 –

相關問題