-
Notifications
You must be signed in to change notification settings - Fork 11
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: no such table: conceptscheme #890
Comments
I was able to fix it in my scaffold by specifying a target database. The default database is atramhasis.sqlite. I named my database atramhasis_scaffold.sqlite and I got the same error as you did. Perhaps we should make the database a required property and not use a default database. Alternatively, there should be a clearer message. Any preference? |
Seems like using a default database is more harmful than helpful here, so I'm fine with making it a required property. Open to other suggestions as well. |
I would suggest to have a better error message and/or a log message that clarifies what database it's using. If so, it is not really necessary to require this property (and I would do this either way). |
So, when importing a skos file, print a message similar to "Importing file {file} to database {database}" Also, perhaps check if the database actually exists. I wonder if the database exists but is empty (because the migrations haven't run yet) or it doesn't exist and gets created on the fly. |
There is one other issue when using Due to this validator, it is not possible to address the endpoint A valid import would look like this:
Scope:
|
I tried importing a skosfile with the following script:
However, I get the following database error:
The text was updated successfully, but these errors were encountered: