OperationalError: SQL logic error or missing database

If you’re getting

OperationalError: SQL logic error or missing database

from your Python web script, first check that your SQLite database is readable and writeable by the user that Apache is running as (www-data if you’re on Debian/Ubuntu) and that the folder that the DB file is in is also readable and writeable by the Apache user. Your webserver needs to be able to write to the file. That is all.

Leave a Reply

OpenID is a decentralised authentication system. If you use LiveJournal or Vox you already have an OpenID; just use the URL of your homepage there. See also how to get yourself an OpenID.