Skip to content

[Panic] broken pipe leads to panic #13483

Description

@mitsuhiko
ruff analyze graph --preview| bat -l json --color=always

Hit quit, be presented with a broken pipe:

error: Ruff crashed. If you could open an issue at:

    https://github.com/astral-sh/ruff/issues/new?title=%5BPanic%5D

...quoting the executed command, along with the relevant file contents and `pyproject.toml` settings, we'd be very appreciative!

thread 'main' panicked at library/std/src/io/stdio.rs:1118:9:
failed printing to stdout: Broken pipe (os error 32)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Classic rust command line tool behavior :)

Activity

  1. charliermarsh commented on Sep 23, 2024

    @charliermarsh
    Member

    Lol. A duplicate of #13442.

  2. added
    bugAn issue describing something that isn't working, or a PR that fixes a bug
    on Sep 23, 2024
  3. charliermarsh commented on Sep 23, 2024

    @charliermarsh
    Member

    I'll fix it now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugAn issue describing something that isn't working, or a PR that fixes a bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions