gradio: gradio.Error() broken with queue enabled
Describe the bug
Hi, error raised by gr.Error() are not displayed into popup and this cause infinite loading of output block.
In 3.30 it was working fine.
Is there an existing issue for this?
- I have searched the existing issues
Reproduction
just go in the demo page and see infinite loading when you try to divide by 0. https://gradio.app/docs/#error
Screenshot
No response
Logs
""
System Info
3.31, docker debian
Severity
annoying
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 15 (6 by maintainers)
This isn’t actually a difference between embedded vs local. It is queue vs not queue. The
gradio/calculator
demo works locally because the queue isn’t enabled but it doesn’t work on spaces because spaces enables the queue by default.I can’t reproduce either on the latest version of
gradio
@pngwn @alexcumplidoHere’s a Colab notebook where it works as expected: https://colab.research.google.com/drive/13ZfaKcpGBHZUUG49SYKbYx8VmhfEjfWO?usp=sharing
I can’t reproduce this on main. Are you sure you have updated to the latest version of gradio?
I’ll take a look at this.