Skip to content
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

Busy and locked DVC after command abortion #2811

Closed
Jenny12344 opened this issue Nov 18, 2019 · 2 comments
Closed

Busy and locked DVC after command abortion #2811

Jenny12344 opened this issue Nov 18, 2019 · 2 comments
Labels
triage Needs to be triaged

Comments

@Jenny12344
Copy link

Jenny12344 commented Nov 18, 2019

Hey everyone,
I just started using DVC on my machine:
DVC version: 0.68.1
Python version: 3.5.6
Platform: Linux-5.0.0-36-generic-x86_64-with-debian-buster-sid
Binary: False
Package: pip
Cache: hardlink - True, symlink - True, reflink - False
Ubuntu 18.04

I started a dvc run command and aborted it afterwards, because I forgot to change something in my code. Now, when I try to run the command again or when I try to run dvc metrics or others, I get the message:

ERROR: failed to run command - cannot perform the cmd since DVC is busy and locked. Please retry the cmd later.

How can I unlock my DVC again?

Best,
Jenny

@triage-new-issues triage-new-issues bot added the triage Needs to be triaged label Nov 18, 2019
@efiop
Copy link
Contributor

efiop commented Nov 18, 2019

Hi @Jenny12344 !

I guess it was your email on support@dvc.org mailing list, right? 🙂 But just in case I'll copy my response here too:

If you are sure that there is no other dvc instance running in that repo (e.g. you could check by running ps xaf | grep dvc on linux), you could safely delete .dvc/lock file and the issue should disappear. This is a known issue and we've merged a patch with a better instructions in #2765 , which will be released in 0.68.2 very soon. Please be sure to let us know if that fixes the issue for you :)

@efiop efiop closed this as completed Nov 18, 2019
@Jenny12344
Copy link
Author

Jenny12344 commented Nov 18, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage Needs to be triaged
Projects
None yet
Development

No branches or pull requests

2 participants