Comments (7)
Same issue, uncommenting the dir line did the trick for me, lets me install it atleast:
{
"kndndrj/nvim-dbee",
-- dir = require("secrets").get("dbee_path"),
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,
},
After install the plugin doesn't seem to work:
Running install
:lua require('dbee').install()
[install]: installing dbee with: wget chmod
[install]: running command: wget
Press ENTER or type command to continue
after presssing ENTER:
Error executing luv callback:
vim/_editor.lua:0: E5560: nvim_echo must not be called in a lua loop callback
stack traceback:
[C]: in function 'nvim_echo'
vim/_editor.lua: in function 'notify'
....local/share/nvim/lazy/nvim-dbee/lua/dbee/utils/init.lua:72: in function 'log'
...ocal/share/nvim/lazy/nvim-dbee/lua/dbee/install/init.lua:7: in function 'log_info'
...ocal/share/nvim/lazy/nvim-dbee/lua/dbee/install/init.lua:168: in function 'run_jobs'
...ocal/share/nvim/lazy/nvim-dbee/lua/dbee/install/init.lua:199: in function <...ocal/share/nvim/lazy/nvim-dbee/lua/dbee/install/init.lua:192>
Press ENTER or type command to continue
Running open
:lua require('dbee').open()
E5108: Error executing lua FuncUndefined Autocommands for "Dbee_set_results_buf"..function remote#define#FunctionBootstrap[1]..remote#host#Require[10]..<SNR>10_Start_dbee, line 1: Vim(return):
E475: Invalid value for argument cmd: 'dbee' is not executable
stack traceback:
[C]: in function 'Dbee_set_results_buf'
...ri/.local/share/nvim/lazy/nvim-dbee/lua/dbee/handler.lua:361: in function 'open'
/home/dmitri/.local/share/nvim/lazy/nvim-dbee/lua/dbee.lua:110: in function 'open'
[string ":lua"]:1: in main chunk
Press ENTER or type command to continue
from nvim-dbee.
@cseickel , @Dmitrev
Hi, thanks for showing interest in the plugin!
for the first issue: you already figured out... I'm terribly sorry about that - I just copy-pasted that from my config and didn't catch that - but yeah, "dir" shouldn't be there.
as for issue nr.2 - it seems there are some issues with nvim's built-in notify function. Either way this doesn't mean it's been installed yet:
[install]: installing dbee with: wget chmod
[install]: running command: wget
Press ENTER or type command to continue
please wait untill you see something like sucessfully installed
before pressing enter.
Please try this out and let me know if it solved the issue.
meanwhile I need to remove dir
from the readme and look into the second issue.
from nvim-dbee.
@Dmitrev @cseickel
Update: Edited the readme and addressed the install issue.
from nvim-dbee.
Thanks @Dmitrev. I managed to get through the install and setup, but it fails on open:
E5108: Error executing lua ...ser/.local/share/nvim/lazy/nvim-dbee/lua/dbee/drawer.lua:133: attempt to index a nil value
stack traceback:
...ser/.local/share/nvim/lazy/nvim-dbee/lua/dbee/drawer.lua:133: in function 'prepare_node'
...er/.local/share/nvim/lazy/nui.nvim/lua/nui/tree/init.lua:388: in function 'prepare'
...er/.local/share/nvim/lazy/nui.nvim/lua/nui/tree/init.lua:416: in function '_prepare_content'
...er/.local/share/nvim/lazy/nui.nvim/lua/nui/tree/init.lua:431: in function 'render'
...ser/.local/share/nvim/lazy/nvim-dbee/lua/dbee/drawer.lua:430: in function 'open'
/home/user/.local/share/nvim/lazy/nvim-dbee/lua/dbee.lua:110: in function 'open'
[string ":lua"]:1: in main chunk
I'm guessing it doesn't work with a brand new install without any connections.
from nvim-dbee.
Oh, you are right... I'll add a log message. Thanks
from nvim-dbee.
@cseickel
Update: fixed
from nvim-dbee.
That works!
from nvim-dbee.
Related Issues (20)
- [feat] Allow to configure window options for the hovers, such as borders HOT 8
- Hide some schemas from drawer view HOT 2
- Add icon or highlight indication of inactive connection HOT 3
- [Windows]: Dbee is not able to read local/globaly saved notes
- [Windows]: Create a note creates a set of directories instead of just a single `.sql` file throws error on `mkdir` HOT 5
- Use ParseURL in Redis adapter to properly parse complex URLs HOT 1
- Can't query database at all HOT 1
- `QuitPre` callback breaks `:qa!`
- [QUESTION] How to query MySQL table instead of the whole server?
- [Performance] Disable automatic database drawer refresh
- Registering resource fails when running the Dbee command from go installation
- The output window should not combine the results of multiple queries
- [BUG] When closing dbee window, previous tab is changed to empty buffer
- [Feature Request] Run query under buffer
- Simple Question: How to Disable Automatic Minimization of Query Output in MySQL?
- Can't save (big) result to csv file (cr.Rows cache flushing timeout exceeded: context deadline exceeded)
- Error on connection: Invalid channel
- Support duckdb v1.0.0
- Error for postgres: Mux.GetAdapters: no driver registered for provided type alias HOT 1
- Errors on windows
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nvim-dbee.