IOError - Errno 5

Rene Pijlman at the.newsgroup
Mon Mar 3 19:56:13 CET 2003

>Does someone know what this means:
>Error Type: IOError
>Error Value: [Errno 5] Input/output error

On my system (Debian Woody Linux) it means:

  #define EIO 5  /* I/O error */

errno's are typically over(ab)used on *nix. You would have to
check the manual page of the actual system call that returned
the error to see what it means precisely.

>It happens when writing to 'sys.stderr'. 

And what is sys.stderr at that point? What platform are you
running on? What does your code look like, that raises this

René Pijlman

More information about the Python-list mailing list