【问题标题】:RexProScriptException transaction is not open in Django with Titan (graph DB)RexProScriptException 事务未在带有 Titan 的 Django 中打开(图 DB)
【发布时间】:2016-03-02 17:26:20
【问题描述】:

我坚持使用我的 TitanDB、Django1.8 和 Mogwai0.7.7 包。 我在 localhost 开发机器上有图形数据库 titan/cassandra,在 rexster gremlin Web 界面中创建错误查询后,我的 Django Object Graph Mapper mogwai 停止工作。 Titan 仍在工作并且数据存在,但 Django 停止使用它。

文件“/Users/x/envs/graph/lib/python2.7/site-packages/rexpro/connectors/base.py”,第 281 行,在 close_transaction raise exceptions.RexProScriptException("事务未打开") RexProScriptException: 事务未打开。

谷歌搜索后我发现this bitbucked fix 但我不知道如何应用它。也许用 pip 更新 lib.... 请帮忙。

【问题讨论】:

标签: python django gremlin titan rexster


【解决方案1】:

您可能需要检查 django atomic transacion 并重新检查包如何处理数据库连接的事务。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-10-16
    • 2021-09-25
    • 2012-06-28
    • 2014-10-31
    • 2012-07-18
    • 1970-01-01
    相关资源
    最近更新 更多