There is a top level navigation menu at the foot of the page

Django + SQLite , unfinalised statements on close

If you have a Django 1.0 deployment configured to use sqlite3, and are struggling to understand sporadic eruptions of what are clearly exceptions thrown by closing a database cursor with uncommitted work; either commands on the shell, or page requests to the application generate stack traces centered around messages like 'Unable to close due to unfinalised statements' then it might be a file permissions problem.

In my case, neither my developer shell account, nor the user id of the running apache httpd processes had write permissions to the directory with the sqlite3 database file. Not immediately apparent from the wording used in the error messages.

This entry was posted on Friday, October 3, 2008 at 10:04 in computers, programming.
You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.

Comments are closed.