我坚持使用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中未打开(图形数据库)
发布评论