Forums

Blocking on print

Hi... I have received an error: BlockingIOError: [Errno 11] write could not complete without blocking... The code generating this error is on a simple print

This is fixed with just commenting the line. The code had been already working for a long time. Why this happens now?

Thanks a lot, Delia

That suggests that the code that you're running is either trying to print out a very large amount of stuff, or that it's prompting for input. The best way to find out which would be to run the code in a console; then you can work out how to prevent it from doing whichever one it is.