Skip to content

[BUG] printing -\n- in rich.progress context manager will kill the jupyter. #2047

@kkasra12

Description

@kkasra12

try this code in the jupyter notebook:

from rich.progress import Progress
with Progress() as progress:
    print("-\n-")
print("finished")

and it will show a popup message displaying that the kernel has died.
I have tested it on google colab and mint.

also, I have installed rich using

pip install rich[jupyter]

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions