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

CS50 SQL meteorites check50 local #320

Open
me-rina opened this issue Nov 10, 2023 · 0 comments
Open

CS50 SQL meteorites check50 local #320

me-rina opened this issue Nov 10, 2023 · 0 comments

Comments

@me-rina
Copy link

me-rina commented Nov 10, 2023

check50 -l cs50/problems/2023/sql/meteorites gives this error

:( import.sql creates a table named "meteorites" 
    Error when executing query: no such table: sqlite_schema

The test might be corrected by querying sqlite_master instead of sqlite_schema in the test script. The sqlite3 version in python on cs50.dev is 3.31.1 and does not have sqlite_schema table. I found anecdotal evidence this was fixed in sqlite v3.30.

Additionally, 'y' needs to be the first line in the script when checked locally because of the sqlite3 wrapper.

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