Datastore in Remote Shell For Google App Engine (GAE) not working with zsh

29 views
Skip to first unread message

Michael Selevan

unread,
Sep 8, 2020, 4:39:42 PM9/8/20
to Google App Engine
I am trying to run a query within the remote shell of Google App Engine (GAE) Python standard, and I get an zsh abort when trying to query datastore from the shell. No errors printed to the terminal, but the python shell is terminated. Any thoughts on how I can debug this?


App Engine remote_api shell Python 2.7.16 (default, Jun 5 2020, 22:59:21) [GCC 4.2.1 Compatible Apple LLVM 11.0.3 (clang-1103.0.29.20) (-macos10.15-objc- The db, ndb, users, urlfetch, and memcache modules are imported. 

m~staging> from models import Model
m~staging> Model.query().get() zsh: abort python ~/dev/google-cloud-sdk/platform/google_appengine/remote_api_shell.py

Elliott (Cloud Platform Support)

unread,
Sep 15, 2020, 8:52:46 PM9/15/20
to Google App Engine
Hello,

I found this link here with the solution: There was an old dependency for the cryptography package that needed to be updated. Once I did that all was resolved, both for bash and zsh.

I hope this helps.

Reply all
Reply to author
Forward
0 new messages