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

Database actions button doesn't appear #23

Open
andrewsanchez opened this issue Apr 13, 2024 · 1 comment
Open

Database actions button doesn't appear #23

andrewsanchez opened this issue Apr 13, 2024 · 1 comment

Comments

@andrewsanchez
Copy link

andrewsanchez commented Apr 13, 2024

After running datasette install datasette-extract, the database actions button doesn't appear. I tried datasette serve reddit.db -m metadata.json with the following metadata.json:

{
    "databases": {
        "reddit": {
            "plugins": {
                "datasette-extract": {}
            }
        }
    }
}

I'm not sure if the metadata.json is required to activate the plugin, but I tried it with and without the -m flag.

Somebody else on YouTube mentioned this as well:
CleanShot 2024-04-13 at 09 12 10@2x

To reproduce:

➜ datasette install datasette-extract
➜ sqlite-utils create-table my.db people \
     id integer \
     name text \
     height float \
     photo blob --pk id
➜ datasette serve my.db

Notice the actions button doesn't appear.

@andrewsanchez
Copy link
Author

andrewsanchez commented Apr 13, 2024

Running datasette like this datasette serve -o --root my.db solves the problem when running locally!

ref: https://docs.datasette.io/en/stable/authentication.html#actors

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