KenanBek/dbui

db#systemlist crashes with Argument of filter() must be a List, Dictionary or Blob

Opened this issue · 1 comments

fnune commented

Describe the bug

When trying to connect to a DB by hitting enter on the list item, I get this error:

Error detected while processing function <SNR>115_method[2]..47[30]..50[10]..51[5]..55[6]..db_ui#schemas#query:
line    1:
E118: Too many arguments for function: db#systemlist
Error detected while processing function <SNR>115_method[2]..47[30]..50[10]..51[5]..55[6]..<lambda>35:
line    1:
E896: Argument of filter() must be a List, Dictionary or Blob
Error detected while processing function <SNR>115_method[2]..47[30]..50[10]..51[5]..55[6]..<lambda>35[1]..<SNR>113_results_parser:
line    2:
E896: Argument of filter() must be a List, Dictionary or Blob
Press ENTER or type command to continue

The list item does not expand. But if I close DBUI and open it again, the list item shows up as opened and I see + New Query and the other menu items.

To Reproduce

  • Run :DBUI
  • Select a database
  • Hit enter

Expected behavior

  • Error does not show up
  • Database menu opens up immediately without me having to close and reopen :DBUI

Screenshots

image

Environment (please complete the following information):

  • OS: Linux, Debian 11.5, on kernel 5.10.0-19-amd64
  • Terminal: Alacritty 0.12.0-dev
  • DBUI Version: 0.7.0
  • Neovim Version: 0.8.1
fnune commented

Removing and adding the connection again does not solve the issue.