Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error during reset #316

Open
csm10495 opened this issue May 6, 2024 · 0 comments
Open

Error during reset #316

csm10495 opened this issue May 6, 2024 · 0 comments

Comments

@csm10495
Copy link

csm10495 commented May 6, 2024

I got this error when setting up my diskcache:

  File "C:\Users\csm10495\AppData\Local\Jenkins\.jenkins\workspace\Update Lump Status\infra\Lib\site-packages\diskcache\core.py", line 2441, in reset
    sql('PRAGMA %s = %s' % (pragma, value)).fetchall()
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
sqlite3.OperationalError: near "-": syntax error

It has these values

      pragma = 'auto_vacuum'
      value = 'least-recently-stored'

I'm guessing we're missing some escaping for the value with -'s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant