Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
twistedcaldav/sql.py fails in _db_init #142
rmu@… originally submitted this as ticket:264
with pysqlite2 version 2.4.1 on debian linux, sql.py fails in _db_init with
What seems to happen is
The commit fails because obviously no transaction can be active in autocommit-mode.
Actually autocommit mode is being turned off by setting the isolation_level to None prior to begin exclusive transaction. I think what may be happening is that there are no changes done to the database inside the transaction and therefore the commit does nothing.
However, I am not seeing this on my setup.
rmu@… originally submitted this as comment:2:ticket:264
According to http://oss.itsystementwicklung.de/download/pysqlite/doc/usage-guide.html#controlling-transactions setting isolation_level to None enables autocommit mode.
I guess you want to set it to something like EXCLUSIVE.