gcloud beta emulators datastore doesn't start

196 views
Skip to first unread message

Gabor Lenard

unread,
Aug 1, 2017, 12:51:53 PM8/1/17
to Google App Engine
Hi,

I was happily using the datastore emulator for many months (from my local instance of flexible go app).
However, a few days ago I had to restart my computer due to an update (macOS 10.12.6), and since then the datastore emulator won't start:

$ gcloud beta emulators datastore start

ERROR: gcloud crashed (TypeError): GetHostPort() takes exactly 1 argument (0 given)


I reinstalled the entire Cloud SDK, with gcloud, set the environment variables, just to be sure. Unfortunately these didn't help, I still get the same error. Python 2.7.10, Java 1.8.0_131

Can you help me how I could solve this problem?
Thanks in advance!

Gabor

Shivam(Google Cloud Support)

unread,
Aug 1, 2017, 2:27:33 PM8/1/17
to Google App Engine
This is a known issue being discussed here[1] and the backend team is working towards the fix. The issue seems to be with the latest version so you can downgrade to 163.0.0 by running the command:  gcloud components update --version 163.0.0

As per the last comment, it is supposed to fix in the release 165.0.0 which is expected to come out Wednesday August 2nd but I would recommend to keep an eye on the issue tracker thread for a final update.

Reply all
Reply to author
Forward
0 new messages