Open zsaladin opened 1 month ago
File "/home/user/.local/share/uv/tools/dvc/lib/python3.10/site-packages/fsspec/spec.py", line 904, in get_file
callback.set_size(getattr(f1, "size", None))
From above traceback, this looks like a bug in fsspec
. Could you please open an issue in https://github.com/fsspec/filesystem_spec?
I agree size
should be a property, not a method.
@skshetry
I posted the issue - https://github.com/fsspec/filesystem_spec/issues/1711
Bug Report
Description
dvc pull
fails on HDFS after removing.dvc/cache
. It means someone clones the repository at first thendvc pull
always fails. Butdvc pull -q
succeed. So it seems that some log printing causes this problem.I explain things that may help you to debug hopefully.
total
which is from sizesize
is not a number. It is a bound method. hereReproduce
Expected
dvc pull
anddvc fetch
are executed successfully n HDFS.Environment information
Output of
dvc doctor
:Additional Information (if any):
I attach error log below.