Skip to content

Broken pipe/worker connection closed errors in TUI only, inconsistently #189

@anova-andy

Description

@anova-andy

Environment

  • sqlit-tui 1.4.0
  • Python 3.14.4 (same with 3.12 and 3.13)
  • MacOS Tahoe 26.4.1
  • psycopg2-binary (injected with pipx)

Issue

CLI query of a Postgres database such as sqlit -c 'conn' -q 'select * from abcd' works fine and returns results, every time. In TUI mode, I'm able to establish a connection, but can't browse tables or run queries as I get the following errors:

(browse)
Image

(query)
Image

If I disconnect and reconnect within the TUI, I can browse and query normally, but this only works maybe 1/5 times.

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