Hello,
In trying to deploy the GnG app I'm getting the following errors in the Terminal (launching in Ubunut 18.04 x64):
INFO: Checking for gcloud on PATH and version...
SUCCESS: gcloud was found on PATH and is at or above the minimum version.
INFO: Checking for bazel on PATH and version...
SUCCESS: bazel was found on PATH and is at or above the minimum version.
INFO: Checking for npm on PATH and version...
SUCCESS: npm was found on PATH and is at or above the minimum version.
INFO: Checking gcloud authentication...
INFO: Going to the loaner directory...
INFO: Initiating the build of the python deployment script...
ERROR: /home/gmedia/.cache/bazel/_bazel_gmedia/edb1a3171eacfa8b405489f8474c0b2d/external/io_bazel_rules_appengine/appengine/py_appengine.bzl:211:48: Traceback (most recent call last):
File "/home/gmedia/.cache/bazel/_bazel_gmedia/edb1a3171eacfa8b405489f8474c0b2d/external/io_bazel_rules_appengine/appengine/py_appengine.bzl", line 205
rule(_py_appengine_binary_base_impl, at..."]))}, <2 more arguments>)
File "/home/gmedia/.cache/bazel/_bazel_gmedia/edb1a3171eacfa8b405489f8474c0b2d/external/io_bazel_rules_appengine/appengine/py_appengine.bzl", line 211, in rule
attr.label_list(allow_files = FileType([".yaml",..."]))
File "/home/gmedia/.cache/bazel/_bazel_gmedia/edb1a3171eacfa8b405489f8474c0b2d/external/io_bazel_rules_appengine/appengine/py_appengine.bzl", line 211, in attr.label_list
FileType([".yaml", ".py"])
FileType function is not available. You may use a list of strings instead. You can temporarily reenable the function by passing the flag --incompatible_disallow_filetype=false
ERROR: error loading package '': Extension file 'appengine/py_appengine.bzl' has errors
ERROR: error loading package '': Extension file 'appengine/py_appengine.bzl' has errors
INFO: Elapsed time: 0.119s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)
Here is the line of the file it is pointing to:
py_appengine_binary_base = rule(
_py_appengine_binary_base_impl,
attrs = {
"binary": attr.label(),
"devappserver": attr.label(default=Label("@com_google_appengine_python//:dev_appserver")),
"appcfg": attr.label(default=Label("@com_google_appengine_python//:appcfg")),
"configs": attr.label_list(allow_files=FileType([".yaml", ".py"])),
},
executable = True,
outputs = {
"deploy_sh": "%{name}_deploy.sh",
},
)
Any thoughts why I'm getting this error?
Thank you,
Mason