RexProScriptException事务在带有Titan的Django中未打开(图形数据库)

编程入门 行业动态 更新时间:2024-10-27 18:32:12
本文介绍了RexProScriptException事务在带有Titan的Django中未打开(图形数据库)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

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

I have stuck with my TitanDB, Django1.8 and Mogwai0.7.7 package. I have Graph database titan/cassandra on localhost dev machine, and after creating wrong queries in rexster gremlin web interface my Django Object Graph Mapper mogwai stopped to work. Titan is still working and data are present but Django stopped to work with it.

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

File "/Users/x/envs/graph/lib/python2.7/site-packages/rexpro/connectors/base.py", line 281, in close_transaction raise exceptions.RexProScriptException("transaction is not open") RexProScriptException: transaction is not open.

在谷歌搜索后,我发现此位修复程序但是我不知道如何应用它.也许lib用pip更新....请帮忙.

After googling i found this bitbucked fix But I dont know how to apply it. Maybe lib update with pip.... Please help.

推荐答案

您可能需要检查Django原子事务并重新检查数据库连接的包处理事务.

you might need to check django atomic transacion and recheck how package handling transaction for db connection.

更多推荐

RexProScriptException事务在带有Titan的Django中未打开(图形数据库)

本文发布于:2023-10-24 09:56:13,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1523637.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:中未   图形   事务   数据库   RexProScriptException

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!