Closed gmaze closed 4 months ago
Managed to reproduce the error using only fsspec methods and raised the issue: https://github.com/fsspec/filesystem_spec/issues/1575
I think I also found another issue leading to basically the same error:
When using a cached http fsspec store (a WholeFileCacheFileSystem
on top of a HTTPFileSystem
), then checking for the existence of a binary file fails if the parent web page does not link back to the existing binary file
This seems to be due to the fact that the HTTPFileSystem
raises a UnicodeDecodeError
when doing ls
on a binary file, the list of links is empty and _ls_real
return []
closes #345