Hello Sir/Ma’am,
while adding the files I am getting an error “ERROR: unexpected error - ‘ino’”
Please help
Hello Sir/Ma’am,
while adding the files I am getting an error “ERROR: unexpected error - ‘ino’”
Please help
Hello @Bineet
Could you provide more details on what you are trying to do? Which commands are you running?
Thank you in advance,
Hi, I found this post when searching for the error message. I can add a traceback, below.
python3 -m dvc pull --verbose
2024-06-14 13:01:51,912 DEBUG: v3.42.0 (pip), CPython 3.8.10 on Linux-5.15.0-1062-gcp-x86_64-with-glibc2.29
2024-06-14 13:01:51,912 DEBUG: command: pull --verbose
Collecting |0.00 [00:00, ?entry/s]
2024-06-14 13:01:52,297 DEBUG: Preparing to transfer data from 'gs:/BUCKETNAME/pipeline-dvc' to '/mnt/disks/data/DIRNAME/.dvc/cache'
2024-06-14 13:01:52,298 DEBUG: Preparing to collect status from '/mnt/disks/data/DIRNAME/.dvc/cache'
2024-06-14 13:01:52,298 DEBUG: Collecting status from '/mnt/disks/data/DIRNAME/.dvc/cache'
Fetching
2024-06-14 13:01:52,300 ERROR: unexpected error - 'ino'
Traceback (most recent call last):
File "/home/USERNAME/.local/lib/python3.8/site-packages/dvc/cli/__init__.py", line 211, in main
ret = cmd.do_run()
File "/home/USERNAME/.local/lib/python3.8/site-packages/dvc/cli/command.py", line 27, in do_run
return self.run()
File "/home/USERNAME/.local/lib/python3.8/site-packages/dvc/commands/data_sync.py", line 35, in run
stats = self.repo.pull(
File "/home/USERNAME/.local/lib/python3.8/site-packages/dvc/repo/__init__.py", line 65, in wrapper
return f(repo, *args, **kwargs)
File "/home/USERNAME/.local/lib/python3.8/site-packages/dvc/repo/pull.py", line 30, in pull
processed_files_count = self.fetch(
File "/home/USERNAME/.local/lib/python3.8/site-packages/dvc/repo/__init__.py", line 65, in wrapper
return f(repo, *args, **kwargs)
File "/home/USERNAME/.local/lib/python3.8/site-packages/dvc/repo/fetch.py", line 187, in fetch
fetch_transferred, fetch_failed = ifetch(
File "/home/USERNAME/.local/lib/python3.8/site-packages/dvc_data/index/fetch.py", line 79, in fetch
result = transfer(
File "/home/USERNAME/.local/lib/python3.8/site-packages/dvc_data/hashfile/transfer.py", line 203, in transfer
status = compare_status(
File "/home/USERNAME/.local/lib/python3.8/site-packages/dvc_data/hashfile/status.py", line 178, in compare_status
dest_exists, dest_missing = status(
File "/home/USERNAME/.local/lib/python3.8/site-packages/dvc_data/hashfile/status.py", line 150, in status
exists.update(odb.oids_exist(hashes, jobs=jobs, progress=pbar.callback))
File "/home/USERNAME/.local/lib/python3.8/site-packages/dvc_data/hashfile/db/local.py", line 58, in oids_exist
self.check(oid)
File "/home/USERNAME/.local/lib/python3.8/site-packages/dvc_data/hashfile/db/__init__.py", line 169, in check
_, actual = hash_file(obj.path, obj.fs, self.hash_name, self.state)
File "/home/USERNAME/.local/lib/python3.8/site-packages/dvc_data/hashfile/hash.py", line 201, in hash_file
state.save(path, fs, hash_info, info=info)
File "/home/USERNAME/.local/lib/python3.8/site-packages/dvc_data/hashfile/state.py", line 112, in save
"checksum": _checksum(info),
File "/home/USERNAME/.local/lib/python3.8/site-packages/dvc_data/hashfile/state.py", line 71, in _checksum
return str(int(tokenize([info["ino"], info["mtime"], info["size"]]), 16))
KeyError: 'ino'
2024-06-14 13:01:52,328 DEBUG: Version info for developers:
DVC version: 3.42.0 (pip)
-------------------------
Platform: Python 3.8.10 on Linux-5.15.0-1062-gcp-x86_64-with-glibc2.29
Subprojects:
dvc_data = 3.8.0
dvc_objects = 3.0.6
dvc_render = 1.0.1
dvc_task = 0.4.0
scmrepo = 2.0.4
Supports:
gs (gcsfs = 2024.6.0),
http (aiohttp = 3.8.1, aiohttp-retry = 2.8.3),
https (aiohttp = 3.8.1, aiohttp-retry = 2.8.3)
Config:
Global: /home/USERNAME/.config/dvc
System: /etc/xdg/dvc
Cache types: <https://error.dvc.org/no-dvc-cache>
Caches: local
Remotes: gs
Workspace directory: ext4 on /dev/sdb
Repo: dvc, git
Repo.site_cache_dir: /var/tmp/dvc/repo/792bfbd5e3571c032d60a111a02e7963
Having any troubles? Hit us up at https://dvc.org/support, we are always happy to help!
2024-06-14 13:01:52,330 DEBUG: Analytics is enabled.
2024-06-14 13:01:52,358 DEBUG: Trying to spawn ['daemon', 'analytics', '/tmp/tmp7s8xb5fy', '-v']
2024-06-14 13:01:52,364 DEBUG: Spawned ['daemon', 'analytics', '/tmp/tmp7s8xb5fy', '-v'] with pid 28252
Thanks for any advice. Here’s dvc doctor
output.
$ python3 -m dvc doctor
DVC version: 3.42.0 (pip)
-------------------------
Platform: Python 3.8.10 on Linux-5.15.0-1062-gcp-x86_64-with-glibc2.29
Subprojects:
dvc_data = 3.8.0
dvc_objects = 3.0.6
dvc_render = 1.0.1
dvc_task = 0.4.0
scmrepo = 2.0.4
Supports:
gs (gcsfs = 2024.6.0),
http (aiohttp = 3.8.1, aiohttp-retry = 2.8.3),
https (aiohttp = 3.8.1, aiohttp-retry = 2.8.3)
Config:
Global: /home/xxxx/.config/dvc
System: /etc/xdg/dvc
Cache types: <https://error.dvc.org/no-dvc-cache>
Caches: local
Remotes: gs
Workspace directory: ext4 on /dev/sdb
Repo: dvc, git
Repo.site_cache_dir: /var/tmp/dvc/repo/792bfbd5e3571c032d60a111a02e7963
In case it helps anyone, I might’ve resolved this by upgrading PyOpenSSL.
The issue happened in an existing environment created 1-2 years ago, after upgrading dvc[gs] to the latest version available for Python 3.8.
I then tried updating PyOpenSSL, which was installed via the system package manager. Apparently this did it.