Skip to content

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

@fnune

Description

@fnune

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions