You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
sqlite3.OperationalError: no such column: "size" - should this be a string literal in single-quotes? #1826
There is an isssue with diskcache when using double quotes on column names in the sql queries if sqlite has been built with SQLITE_DQS set to 0. For some reason, some versions of conda-forge and the homebrew formulae set SQLITE_DQS to 0. On conda-forge this was fixed in newer versions. There is a PR waiting to me merged on diskache's repo that makes use of single quotes to make queries to work with any SQLITE_DQS value, but the repo seems to not being actively maintained.
The workaround is a bit complex and OS-dependant but includes reinstalling sqlite in the system and making the python binaries to point to the new sqlite path, like done in this SO answer.
Activity
github-actions commentedon Jul 11, 2025
This issue is stale because it has been open for 30 days with no activity.
github-actions commentedon Jul 25, 2025
This issue was closed because it has been inactive for 14 days since being marked as stale.