Subject | fdb: Transaction object is not active |
---|---|
Author | Maximiliano Robaina |
Post date | 2012-09-25T17:07:43Z |
Hi,
I built a custom django project (django 1.5) to do some custom test. Running that test I get a ProgrammingError: Transaction object is not active.
The strange thing here is this error happen after of execution of several DML statements, but more precisely when it try to reset a sequence (generator):
SELECT gen_id("DJANGO_SITE_SQ", coalesce(max("ID"), 0) - gen_id("DJANGO_SITE_SQ", 0) ) FROM "DJANGO_SITE";
I don't know if this is the problem because that statement is executed several times before without any problem.
Where can I to start to research this problem?
Using fdb 0.8.5, Firebird 2.5, Ubuntu 11.04
--
Maxi
b: http://maxirobaina.tumblr.com
t: http://twitter.com/maxirobaina
I built a custom django project (django 1.5) to do some custom test. Running that test I get a ProgrammingError: Transaction object is not active.
The strange thing here is this error happen after of execution of several DML statements, but more precisely when it try to reset a sequence (generator):
SELECT gen_id("DJANGO_SITE_SQ", coalesce(max("ID"), 0) - gen_id("DJANGO_SITE_SQ", 0) ) FROM "DJANGO_SITE";
I don't know if this is the problem because that statement is executed several times before without any problem.
Where can I to start to research this problem?
Using fdb 0.8.5, Firebird 2.5, Ubuntu 11.04
--
Maxi
b: http://maxirobaina.tumblr.com
t: http://twitter.com/maxirobaina