Assigned
Status Update
Comments
va...@google.com <va...@google.com>
al...@gmail.com <al...@gmail.com> #2
[Comment deleted]
va...@google.com <va...@google.com> #3
Would you be able to provide an example app which produces an error for which gcloud doesn't report, but appcfg.py does?
jo...@gmail.com <jo...@gmail.com> #4
In this case it is not app specific, The 400 error is due to quota of the application versions being over the limit which is 10 (but for this specific project it has been increased to 60). So any project with more than 10 versions will experience this.
ml...@7thrank.com <ml...@7thrank.com> #5
Comment has been deleted.
[Deleted User] <[Deleted User]> #6
I have forwarded this request/report to the engineering team. We will update this issue with any progress updates and a resolution.
gs...@google.com <gs...@google.com> #7
Support case 54234914, project uber-voice is displaying the same error, and Customer is eager to see progress and a fix to the issue.
tk...@google.com <tk...@google.com> #8
Any updates on this? Cx is waiting for a response.
Description
Please provide as much information as possible. At least, this should include a description of your issue and steps to reproduce the problem. If possible please provide a summary of what steps or workarounds you have already tried, and any docs or articles you found (un)helpful.
Problem you have encountered:
Traceback (most recent call last):
File "/usr/lib/google-cloud-sdk/platform/google_appengine/dev_appserver.py", line 103, in <module>
_run_file(__file__, globals())
File "/usr/lib/google-cloud-sdk/platform/google_appengine/dev_appserver.py", line 99, in _run_file
_execfile(_PATHS.script_file(script_name), globals_)
File "/usr/lib/google-cloud-sdk/platform/google_appengine/dev_appserver.py", line 81, in _execfile
exec(open(fn).read(), scope)
File "<string>", line 643, in <module>
INFO 2024-03-28 19:01:24,922 datastore_emulator.py:155] Starting Cloud Datastore emulator at:
File "<string>", line 631, in main
File "<string>", line 398, in start
File "<string>", line 747, in create_api_server
File "/usr/lib/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/stub_util.py", line 211, in setup_stubs
datastore_grpc_stub_class(os.environ['DATASTORE_EMULATOR_HOST']))
File "/usr/lib/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/datastore_grpc_stub.py", line 90, in __init__
raise RuntimeError('The DatastoreGrpcStub requires a local gRPC '
RuntimeError: The DatastoreGrpcStub requires a local gRPC installation, which is not found.
INFO 2024-03-28 19:01:24,927 datastore_emulator.py:161] Cloud Datastore emulator responded after 0.004567 seconds
Exception ignored in: <function DatastoreEmulator.__del__ at 0x796a555d8430>
Traceback (most recent call last):
File "/usr/lib/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/cloud_emulators/datastore/datastore_emulator.py", line 210, in __del__
AttributeError: 'NoneType' object has no attribute 'warning'
What you expected to happen:
To run the dev app server.
Steps to reproduce:
If --support-datastore-emulator is set to yes it doesn't work even though grpcio is installed.
Other information (workarounds you have tried, documentation consulted, etc):
Installed:
- hosts: localhost
become: true
tasks:
- name: "nvm"
shell: >
curl -o-
args:
executable: /bin/bash
chdir: "{{ ansible_env.HOME }}"
creates: "{{ ansible_env.HOME }}/.nvm/nvm.sh"
- name: "node"
shell: >
. {{ ansible_env.HOME }}/.nvm/nvm.sh && nvm install {{ item }}
args:
executable: /bin/bash
chdir: "{{ ansible_env.HOME }}"
creates: "{{ ansible_env.HOME }}/.nvm/versions/{{ item }}"
loop:
- node
- name: Deadsnakes repo for different python distros
shell: add-apt-repository ppa:deadsnakes/ppa -y
- name: Add Google certificates
shell: apt-get install apt-transport-https ca-certificates gnupg -y
- name: Big google shell command
shell: echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg]
- name: Google CLI packages
shell: curl
- name: Update and upgrade
shell: apt -y update && apt -y upgrade
- name: Install vim
shell: apt install -y git curl vim
- name: Install Google CLI
apt: name=google-cloud-cli
- name: Install Google CLI App Engine Python
apt: name=google-cloud-cli-app-engine-python
- name: Install Google CLI App Engine Python Extras
apt: name=google-cloud-cli-app-engine-python-extras
- name: Install Google CLI Datastore Emulator
apt: name=google-cloud-cli-datastore-emulator
- name: Install JDK
apt: name=default-jdk
- name: Install JRE
apt: name=default-jre
- name: Install Python 2
apt: name=python2
- name: Get python2 pip
shell: curl
- name: Install python2 pip
shell: python2 get-pip.py
- name: Install grpcio
shell: python2 -m pip install grpcio==1.36.1
- name: Install python 3.10
apt: name=python3.10
- name: Install distutils
apt: name=python3.10-distutils
- name: Install venv
apt: name=python3.10-venv
- name: Switch to 3.10 version
shell: update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.10 1
- name: Ensure pip
shell: python3 -m ensurepip
- name: Install pipenv
shell: pip3 install pipenv
- name: Install GRPC
shell: pip3 install grpcio
Running datastore with:
$(gcloud beta emulators datastore env-init --data-dir="$(pwd)/data") & gcloud beta emulators datastore start --project=test2-179611 --data-dir="$(pwd)/data" --host-port=
Running server with:
python3 /usr/lib/google-cloud-sdk/bin/dev_appserver.py --host=0.0.0.0 --runtime=python310 --max_module_instances="default:1" \
--storage_path="$(pwd)/data" --dev_appserver_log_level=info --enable_host_checking=false \
--automatic_restart=no --runtime_python_path="$(which python3)" \
--python_virtualenv_path="$(pwd)/lenv" --port=8080 \
--support_datastore_emulator=yes --default_gcs_bucket_name=
--admin_host=0.0.0.0 \
"$(pwd)/app_dev.yaml"