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

(DuckDB) no driver registered for provided type alias #155

Open
Doekeb opened this issue Oct 31, 2024 · 0 comments
Open

(DuckDB) no driver registered for provided type alias #155

Doekeb opened this issue Oct 31, 2024 · 0 comments

Comments

@Doekeb
Copy link

Doekeb commented Oct 31, 2024

Thanks for the plugin! I'm hoping to use Dbee with DuckDB. On a fresh install, I'm getting the following error:

[core]: failed registering source: memory function DbeeCreateConnection[1]..remote#define#request, line 2: Vim(let):Error invoking '0:function:DbeeCreateConnection' on channel 3:
adapters.NewConnection: Mux.GetAdapters: no driver registered for provided type alias

Very minimal config:

return {
  "kndndrj/nvim-dbee",
  dependencies = {
    "MunifTanjim/nui.nvim",
  },
  build = function()
    require("dbee").install()
  end,
  config = function()
    require("dbee").setup({
      sources = {
        require("dbee.sources").MemorySource:new({
          {
            id = "duck-in-memory",
            name = "duck-in-memory",
            type = "duck",
            url = "",
          },
        }),
      },
    })
  end,
}

I'm using an empty string as the url to indicate an in-memory database, but I get the same error if I specify a path to a file. I also tried a postgres configuration and had no issues there.

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