-
Notifications
You must be signed in to change notification settings - Fork 0
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
Initial plugin design #1
Comments
An alpha because it depends on a Datasette alpha release. Refs #1
Surprising test failure:
Works fine on my laptop! |
Relevant code in the test: datasette-events-db/tests/test_events_db.py Lines 17 to 24 in 0326df3
Could it be that the plugin hook is executing and trying to create a table in |
That looks likely: async def _refresh_schemas(self):
internal_db = self.get_internal_database()
if not self.internal_db_created:
await init_internal_db(internal_db)
self.internal_db_created = True And |
Actually no it isn't that at all - you need to call The only reason it worked on my local machine is that I had installed the https://github.com/datasette/datasette-visible-internal-db plugin as a debugging aid! |
This will use the new
track_events()
plugin hook to write events to a database.Can't release an alpha of this until Datasette 1.0a8 is out.
The text was updated successfully, but these errors were encountered: