-
Notifications
You must be signed in to change notification settings - Fork 23
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
sqlite3.OperationalError: near ")": syntax error #77
Comments
Can you share your version of the program and the full traceback? |
Yes, I'm on cpi-1.0.18. Here's the full traceback:
|
I just ran the process myself on the same version and didn't get the error. Here's what I see:
Any ideas what's up? |
This doesn't directly address the issue you've raised but I did just update the package with fresh data and released it on PyPI. So you can also upgrade that way with pip if you are stuck. |
Thanks for checking. I'm using an M1 mac, could that be part of the problem? |
Potentially. I am using the pandas utilities for writing to Sqlite. I wonder if there's some crossplatform bug there. |
The sqlite3 database access has been refactored almost entirely. I'm going to assume it resolved whatever this bug was. If not, just shout and we can reopen and test with the trunk code. |
When I try to run
cpi.update()
, I get an error: 'sqlite3.OperationalError: near ")": syntax error'. I'm unsure how to update the underlying cpi tables. Even after I uninstalled and reinstalled, I only have data up until 2023-03-31.The text was updated successfully, but these errors were encountered: