【发布时间】:2020-09-08 18:53:15
【问题描述】:
我正在尝试在 Google App Engine (GAE) Python 标准的远程 shell 中运行查询,但在尝试从 shell 查询数据存储时出现 zsh 中止。没有错误打印到终端,但 python shell 被终止。关于如何调试这个有什么想法吗?
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
【问题讨论】:
-
您是否尝试使用 bash 来确保 zsh 是问题所在?
-
似乎是一个 remote_shell 问题。我用 bash 得到了一个中止陷阱 6
标签: python google-app-engine google-cloud-datastore zsh