Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Corrupted dvc.lock

Tags:

dvc

I'm using DAGsHub storage as a remote and running into the following error message (when trying to DVC pull):

ERROR: Lockfile 'bias_tagging_model/dvc.lock' is corrupted.

I thought I might have messed something up, but when cloning the git repo again and DVC pulling I am still running into this. The data looks ok when viewed in the browser. If you have any ideas, I would appreciate your help!

like image 975
DallasJamey Avatar asked Oct 22 '25 03:10

DallasJamey


1 Answers

Usually, the reason for this error is the DVC version.

If the dvc.lock file has a DVC 2.* schema and you are using a lower version, it will throw this error.

Upgrade your DVC version, and it should work.

like image 90
nirbarazida Avatar answered Oct 26 '25 19:10

nirbarazida



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!