Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
kkasra12 opened this issue Mar 10, 2022 · 2 comments · Fixed by #2209
Closed

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

kkasra12 opened this issue Mar 10, 2022 · 2 comments · Fixed by #2209

Comments

@kkasra12
Copy link

kkasra12 commented Mar 10, 2022

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]
@kkasra12
Copy link
Author

update: I also tested on Windows 11 and the same result

@github-actions
Copy link

Did I solve your problem?

Why not buy the devs a coffee to say thanks?

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

Successfully merging a pull request may close this issue.

1 participant