nvim-dbee icon indicating copy to clipboard operation
nvim-dbee copied to clipboard

Error on `:Dbee` start

Open MikeLemo1 opened this issue 6 months ago • 1 comments

config:

  "kndndrj/nvim-dbee",
  event = {"BufEnter"},
  dependencies = {
    "MunifTanjim/nui.nvim",
  },
  build = function()
    -- Install tries to automatically detect the install method.
    -- if it fails, try calling it with one of these parameters:
    --    "curl", "wget", "bitsadmin", "go"
    require("dbee").install()
  end,
  config = function()
    require("dbee").setup(--[[optional config]])
  end,
}

When I start DBee in lazy nvim config I always get the folowing error:

DbeeCreateConnection table: 0x7a603deb5520 Vim:E475: Invalid value for argument cmd: 'dbee' is not executable
stack traceback:
^I[C]: at 0x5ab1cdc35824
^I[C]: in function 'DbeeCreateConnection'
^I...ocal/share/nvim/lazy/nvim-dbee/lua/dbee/handler/init.lua:82: in function 'source_reload'
^I...ocal/share/nvim/lazy/nvim-dbee/lua/dbee/handler/init.lua:47: in function <...ocal/share/nvim/lazy/nvim-dbee/lua/dbee/handler/init.lua:41>
^I[C]: in function 'pcall'
^I...ocal/share/nvim/lazy/nvim-dbee/lua/dbee/handler/init.lua:24: in function 'new'
^I.../.local/share/nvim/lazy/nvim-dbee/lua/dbee/api/state.lua:42: in function 'setup_handler'
^I.../.local/share/nvim/lazy/nvim-dbee/lua/dbee/api/state.lua:58: in function 'setup_ui'
^I.../.local/share/nvim/lazy/nvim-dbee/lua/dbee/api/state.lua:100: in function 'editor'
^I...ong/.local/share/nvim/lazy/nvim-dbee/lua/dbee/api/ui.lua:115: in function 'editor_show'
^I...ocal/share/nvim/lazy/nvim-dbee/lua/dbee/layouts/init.lua:140: in function 'open'
^I/home/pong/.local/share/nvim/lazy/nvim-dbee/lua/dbee.lua:46: in function 'open'
^I/home/pong/.local/share/nvim/lazy/nvim-dbee/lua/dbee.lua:37: in function 'toggle'
^I/home/pong/.local/share/nvim/lazy/nvim-dbee/plugin/dbee.lua:53: in function </home/pong/.local/share/nvim/lazy/nvim-dbee/plugin/dbee.lua:32>

What does it mean?

also I'm trying to connect to a docker sql server made from the project inventree and I'm not sure about the default credentials there like user pass and db name and ip if there's someone here that's connected to such server and has a solution would come handy.

MikeLemo1 avatar Aug 25 '24 08:08 MikeLemo1