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.

classification
Title: Obscure error w/ windows online-only file
Type: enhancement Stage: resolved
Components: Windows Versions: Python 2.7
process
Status: closed Resolution: third party
Dependencies: Superseder:
Assigned To: Nosy List: kg*2, r.david.murray, steve.dower, tim.golden, zach.ware
Priority: normal Keywords:

Created on 2014-10-24 16:34 by kg*2, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (2)
msg229941 - (view) Author: kg*2 (kg*2) Date: 2014-10-24 16:34
Windows has integrated onedrive into their os. A feature of onedrive is allowing users to browse files that aren't downloaded onto their computer. os.listdir will return the items, but when they are opened for read/writing it throws IOError[22]: invalid mode or file name. This error was not particularly helpful for this situation, as both the mode and the filename looked correct. Maybe a more specific error for this case would be help?
msg229946 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2014-10-24 18:12
We may not be getting any better error message from the OS.
History
Date User Action Args
2022-04-11 14:58:09adminsetgithub: 66909
2020-05-31 14:49:41serhiy.storchakasetstatus: open -> closed
resolution: third party
stage: resolved
2014-10-24 18:12:11r.david.murraysetnosy: + tim.golden, r.david.murray, zach.ware, steve.dower
messages: + msg229946
components: + Windows, - IO
2014-10-24 16:34:15kg*2create