【问题标题】:Datastore in Remote Shell For Google App Engine (GAE) not working with zshGoogle App Engine (GAE) 的远程 Shell 中的数据存储区不适用于 zsh
【发布时间】: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


【解决方案1】:

解决了这个问题。 cryptography 包有一个旧依赖项需要更新。一旦我这样做了,所有问题都解决了,对于 bash 和 zsh。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-02-16
    • 2013-12-03
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多