This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author loewis
Recipients loewis, ned.deily, petri.lehtinen, python-dev, sbt, trent
Date 2012-08-31.15:49:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <5040DCF0.1010109@v.loewis.de>
In-reply-to <1346427128.61.0.955285858823.issue15819@psf.upfronthosting.co.za>
Content
Am 31.08.12 17:32, schrieb Richard Oudkerk:
>    File "<frozen importlib._bootstrap>", line 128, in _write_atomic
> OSError: [Errno 5] Input/output error: '/mnt/hgfs/Repos/cpython-dirty/Lib/__pycache__/codecs.cpython-33.pyc.3076609376'
> Aborted
>
> I took this to be a failure to write the bytecompiled file.  (A regression?)

Sounds like a regression to me. However, errno 5 is EIO.
Normally, you should get PermissionError(errno=13, EACCES).
I could understand EROFS as well. This sounds like a bug in
the VM software, which really should report EROFS if the volume is
read-only, not EIO.

You might want to check whether this really is a regression;
in any case, I consider Python's reaction reasonable and then
your setup as just not supported. However, I could also accept
that a work-around is added for treating EIO also as an ignorable
error. In any case, this is a separate issue.
History
Date User Action Args
2012-08-31 15:49:06loewissetrecipients: + loewis, ned.deily, trent, python-dev, sbt, petri.lehtinen
2012-08-31 15:49:06loewislinkissue15819 messages
2012-08-31 15:49:06loewiscreate