OSError: [WinError 123] The filename, directory name, or volume label syntax is incorrect: 'SXS:BBH:0123\\Lev\\metadata.json'
I had thought it might be something to do with the direction of the slashes, but I now realize it's the colons — they're apparently not legal on Windows. It looks like I had run across this error previously, but had not recognized it here. I guess I'll have to write some wrapper functions any time the cache is accessed (which I guess is just in sxs.load and download) to rewrite those on Windows.
While I'm at it, it would be nice if I could look into failures like this one. I think the problem may be that I convert things to pathlib.Path objects, and it looks like they may be expanding to full user-space paths somewhere.
A user reported this error on windows:
I had thought it might be something to do with the direction of the slashes, but I now realize it's the colons — they're apparently not legal on Windows. It looks like I had run across this error previously, but had not recognized it here. I guess I'll have to write some wrapper functions any time the cache is accessed (which I guess is just in
sxs.load
anddownload
) to rewrite those on Windows.While I'm at it, it would be nice if I could look into failures like this one. I think the problem may be that I convert things to
pathlib.Path
objects, and it looks like they may be expanding to full user-space paths somewhere.