Google App Engine在gcloud更新后部署了Django模块? [英] Google App Engine deploy with Django module after gcloud update?

查看:459
本文介绍了Google App Engine在gcloud更新后部署了Django模块?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在使用Django 1.7部署到GAE(我们将它作为我们的 virtualenv 的符号链接模块发送)。一切都很好,直到最新更新的 gcloud 工具。



现在,当我们执行 $ gcloud preview app deploy app.yaml 我们得到:

 更新模块[默认] .failed。 

错误:(gcloud.preview.app.deploy)错误响应:[400]收到无效的
JSON有效载荷。未知名称datata_devops / local / libs / django
/contrib/formtools/locale/hr/_lc_messages/django.moat
'version.deployment.files [2368]':重复地图键:' datata_devops / local
/libs/django/contrib/formtools/locale/hr/LC_MESSAGES/django.mo'已设置

我们猜测这与我们上传自己的Django版本有关,但是我们不知道如何解决这个问题。我们已经尝试使用旧版本的 gcloud 工具的电脑,但是我们收到的文件太多(限制为10,000)错误。



有关如何使用最新的 gcloud 克服这个问题的任何提示?谢谢!

解决方案

替代方法 gcloud preview app deploy p>


We are deploying to GAE using Django 1.7 (we are sending it as a symlinked module of our virtualenv). Everything was fine up until the latest update of the gcloud tools.

Now when we execute $ gcloud preview app deploy app.yaml we get:

Updating module [default]...failed.

ERROR: (gcloud.preview.app.deploy) Error Response: [400] Invalid 
JSON payload received. Unknown name "datata_devops/local/libs/django
/contrib/formtools/locale/hr/_lc_messages/django.mo" at 
'version.deployment.files[2368]': Repeated map key: 'datata_devops/local
/libs/django/contrib/formtools/locale/hr/LC_MESSAGES/django.mo' is 
already set.

We are guessing this has to do with the fact that we upload our own version of Django, but we have no idea on how to solve this. We have tried using a computer with an older version of the gcloud tools, but we are getting the Too many files (limit is 10,000) error.

Any hints on how to overcome this issue with the latest gcloud? Thanks!

解决方案

Alternate approaches to gcloud preview app deploy:

这篇关于Google App Engine在gcloud更新后部署了Django模块?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆