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

Path "None" in _internal database table #1970

Closed
simonw opened this issue Dec 31, 2022 · 2 comments
Closed

Path "None" in _internal database table #1970

simonw opened this issue Dec 31, 2022 · 2 comments
Labels

Comments

@simonw
Copy link
Owner

simonw commented Dec 31, 2022

See https://latest.datasette.io/_internal/databases (after https://latest.datasette.io/login-as-root)

image

@simonw simonw added the bug label Dec 31, 2022
@simonw
Copy link
Owner Author

simonw commented Dec 31, 2022

Relevant code:

datasette/datasette/app.py

Lines 418 to 424 in e03aed0

await internal_db.execute_write(
"""
INSERT OR REPLACE INTO databases (database_name, path, is_memory, schema_version)
VALUES (?, ?, ?, ?)
""",
[database_name, str(db.path), db.is_memory, schema_version],
)

@simonw simonw closed this as completed in 8aa9cf6 Dec 31, 2022
@simonw
Copy link
Owner Author

simonw commented Dec 31, 2022

https://latest.datasette.io/_internal/databases shows the fix now:

image

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

No branches or pull requests

1 participant