Dmitry Yudin
Dmitry Yudin

Reputation: 978

RexProScriptException transaction is not open in Django with Titan (graph DB)

I am 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 working. Titan is still working and data is present but Django stopped working with it.

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 don't know how to apply it. Maybe doing a lib update with pip...

Upvotes: 14

Views: 245

Answers (1)

auvipy
auvipy

Reputation: 1208

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

Upvotes: 1

Related Questions