-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create a troubleshooting entry for the lock error message #4325
Comments
I'm getting this issue; how would I enable the |
|
@moinnadeem hi! just to clarify and make sure that this ticket is the right one- have you tried to remove the |
@shcheklein Yes, and yes! I'm on a networked filesystem that doesn't allow file-level locking either. Using hardlinking solved it! I appreciate the quick response! |
@moinnadeem perfect! :) thanks for clarifying. |
Hi @shcheklein I would like to take this issue. Could you please assign it to me? Also, where is this troubleshooting entry supposed to be added? |
@harsh8398 sure! feel free to work on this. Here is the place https://dvc.org/doc/user-guide/troubleshooting . Here is the guide on how to deal with the docs updates - https://dvc.org/doc/user-guide/contributing/docs |
Hi!
so should the error message in this repo also improve a little? (and link to the new troubleshooting anchor in docs) |
@shcheklein I'm having trouble with I am thinking to add assert statement for URL only like |
@efiop @pmrowla @pared @skshetry could you please help @harsh8398 with the tests here ^^ 🙏 |
@harsh8398 As you might see in other our tests, we are usually duplicating the error messages that we want to check. dvc/tests/func/test_data_cloud.py Line 219 in b11fe83
So in this case, what would be sufficient, would be to create the expected message and verify it is showing up in |
Thanks @pared for your help. 🙂 @shcheklein I've raised the PR with the changes! |
From time to time users are getting a message like this:
ERROR: cannot perform the command because another DVC process seems to be running on this project. If that is not the case, manually remove
.dvc/tmp/lockand try again.
(and even removing
.dvc/tmp/lock
doesn't help in this case)when they run DVC on some Network fs (NFS, Lustre, etc).
Example: https://discordapp.com/channels/485586884165107732/563406153334128681/727222314080665682
Usually solution is simple and user needs to enable the
core.hardlink_lock
, but it's hard to get that from the error message.To save us and users time we should create a troubleshooting entry and include link to the error message.
The text was updated successfully, but these errors were encountered: