RexProScriptException事务在带有Titan的Django中未打开(图形数据库) [英] RexProScriptException transaction is not open in Django with Titan (graph DB)

查看:59
本文介绍了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.

在谷歌搜索后,我发现

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中未打开(图形数据库)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆