kristijanhusak / vim-dadbod-ui

Simple UI for https://github.com/tpope/vim-dadbod
MIT License
1.54k stars 94 forks source link

[Bug] Error parsing connections.json #197

Open torghauk opened 1 year ago

torghauk commented 1 year ago

Description

I typed in a ':' instead of a '/' when spesifying a database to connect to and DBUI stopped working completely. Apparently ':' isn't in a dictionary somewhere and DBUI is unable to handle that. No actions where doable, and the only solution was to manually edit the .local/share/db_ui/connections.json file to remove the disallowed character.

Screenshots

Sample of a problematic connection: image

The error: image

To Reproduce