GithubHelp home page GithubHelp logo

Comments (9)

kristijanhusak avatar kristijanhusak commented on May 18, 2024 1

Ok i think your connections file is corrupted.
try deleting ~/.local/share/db_ui/connections.json and then try again.

from vim-dadbod-ui.

kristijanhusak avatar kristijanhusak commented on May 18, 2024 1

I'll make sure that corrupted files are properly handled. Thanks for reporting.

from vim-dadbod-ui.

kristijanhusak avatar kristijanhusak commented on May 18, 2024

I'm not able to reproduce it. Do you have the latest version?
Where it happens, vim/neovim? Which version?

from vim-dadbod-ui.

johnnypea avatar johnnypea commented on May 18, 2024

I tried it with a clean install as well but it threw the same error.

NVIM v0.4.3

from vim-dadbod-ui.

kristijanhusak avatar kristijanhusak commented on May 18, 2024

Do you have some configuration in your init.vim for vim-dadbod-ui?

from vim-dadbod-ui.

johnnypea avatar johnnypea commented on May 18, 2024

No, I'm trying to debug it with very basic config:

" Plugins {{{
" Begin vim plug
call plug#begin(expand('~/.config/nvim/plugged'))

" Tools {{{
Plug 'kristijanhusak/vim-dadbod-ui'  | " DB UI support
Plug 'tpope/vim-dadbod'              | " DB support
" }}}

" End the plugin registration
call plug#end()
" }}}

from vim-dadbod-ui.

kristijanhusak avatar kristijanhusak commented on May 18, 2024

I've no idea what could be wrong. Just tested it on stable NVIM 0.4.3, works fine:

screenshot

open up file ~/.config/nvim/plugged/vim-dadbod-ui/autoload/db_ui.vim and add this on 5th line (first line of the function):

echom string(s:dbui_instance)

Give it a test, and give me output you got in cmd line.

from vim-dadbod-ui.

johnnypea avatar johnnypea commented on May 18, 2024
{}   
Error detected while processing function db_ui#open[6]..1[11]..3[5]..10:
line   11:
E474: Attempt to decode a blank string
E474: Failed to parse 
Press ENTER or type command to continue

from vim-dadbod-ui.

johnnypea avatar johnnypea commented on May 18, 2024

That worked! Thank you for helping me out with this. Much appreciated.

Don't know how that happened.

from vim-dadbod-ui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.