'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...



Solution 1:[1]

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

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 auvipy