Make sqlite open errors clearer #1
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "dpedu/db-debug"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
If filesystem permissions on the directory the sqlite database database file is in are such that the app cannot list or create files, sqlite gives a vague error:
whereas python's open() will give a better hint ("permission denied"). So, we try opening the database file with python first.
also, add chmods to the startup scripts to avoid this issue in the future