Python Causing: Ioerror: [Errno 28] No Space Left on Device: '../Results/32766.Html' on Disk With Lots of Space

Python causing: IOError: [Errno 28] No space left on device: '../results/32766.html' on disk with lots of space

It turns out the best solution for me here was to just reformat the drive. Once reformatted all these problems were no longer problems.

Why do I get IOError when I use msvcrt in Python 2.x?

This answer explains what is going on in principle, and the traceback would reveal an exact failed call.

In particular, an attempt to sys.stdin.read() a block of data larger than 32767 bytes will cause IOError "[Errno 12] Not enough space", when there is not enough data to read. Consider running the following example on Windows 7:

python -c "import sys; data = sys.stdin.read(32768)"


Related Topics



Leave a reply



Submit