Google app engine ';gcloud部署&x27;抱怨既有.gcloudignore文件又有skip_文件,尽管我没有

Google app engine ';gcloud部署&x27;抱怨既有.gcloudignore文件又有skip_文件,尽管我没有,google-app-engine,google-cloud-platform,gcloud,google-app-engine-python,Google App Engine,Google Cloud Platform,Gcloud,Google App Engine Python,我正在尝试将Django(v2.1)应用程序部署到应用程序引擎Python37运行时。这是我的app.yaml,它取自: 我在某个地方读到过.glcoudignore是在部署过程中自动创建的,但即使这样也不成问题,因为我的app.yaml中没有skip_文件 有人能告诉我我做错了什么吗?Gcloud deploy正在查看\skip_files:行,即使您已将其注释掉。删除那一行,或者改变它的拼写。Hm,这真的很奇怪:我试着删除这些行,但它没有改变任何东西,删除所有的评论行,但确实起了作用。我不知

我正在尝试将Django(v2.1)应用程序部署到应用程序引擎Python37运行时。这是我的
app.yaml
,它取自:

我在某个地方读到过.glcoudignore是在部署过程中自动创建的,但即使这样也不成问题,因为我的
app.yaml
中没有
skip_文件


有人能告诉我我做错了什么吗?

Gcloud deploy正在查看
\skip_files:
行,即使您已将其注释掉。删除那一行,或者改变它的拼写。

Hm,这真的很奇怪:我试着删除这些行,但它没有改变任何东西,删除所有的评论行,但确实起了作用。我不知道为什么它不能处理评论,但是谢谢你的帮助!显然,他们还没有解决这个问题。刚才遇到了同样的问题。
# [START django_app]
runtime: python37
#api_version: 1
#threadsafe: yes

handlers:
- url: /static
  static_dir: static/
- url: .*
  script: <project_name>.wsgi.application

# Only pure Python libraries can be vendored
# Python libraries that use C extensions can
# only be included if they are part of the App Engine SDK 
# Using Third Party Libraries: https://cloud.google.com/appengine/docs/python/tools/using-libraries-python-27
#libraries:
#- name: MySQLdb
#  version: 1.2.5
# [END django_app]

# Google App Engine limits application deployments to 10,000 uploaded files per
# version. The skip_files section allows us to skip virtual environment files
# to meet this requirement. The first 5 are the default regular expressions to
# skip, while the last one is for all env/ files.
#skip_files:
#- ^(.*/)?#.*#$
#- ^(.*/)?.*~$
#- ^(.*/)?.*\.py[co]$
#- ^(.*/)?.*/RCS/.*$
#- ^(.*/)?\..*$
#- ^env/.*$
ERROR: (gcloud.app.deploy) You cannot use skip_files and have a .gcloudignore file in the same application. You should convert your skip_files patterns and put them in your .gcloudignore file. For information on the format and syntax of .gcloudignore files, see https://cloud.google.com/sdk/gcloud/reference/topic/gcloudignore.