dvc: Unexpected error - Adding files
Everytime that im trying to add some individuals files or complete directories the same unexpected error appears:
> dvc add -v -R model
DEBUG: Trying to spawn '['c:\\users\\luisfelipe_melo_mora\\appdata\\local\\programs\\python\\python37-32\\python.exe', 'C:\\Users\\luisfelipe_melo_mora\\AppData\\Local\\Programs\\Python\\Python37-32\\Scripts\\dvc', 'daemon', '-q', 'updater']'
DEBUG: Spawned '['c:\\users\\luisfelipe_melo_mora\\appdata\\local\\programs\\python\\python37-32\\python.exe', 'C:\\Users\\luisfelipe_melo_mora\\AppData\\Local\\Programs\\Python\\Python37-32\\Scripts\\dvc', 'daemon', '-q',
'updater']'
ERROR: unexpected error - Already unlocked
------------------------------------------------------------
Traceback (most recent call last):
File "c:\users\luisfelipe_melo_mora\appdata\local\programs\python\python37-32\lib\site-packages\dvc\main.py", line 48, in main
cmd = args.func(args)
File "c:\users\luisfelipe_melo_mora\appdata\local\programs\python\python37-32\lib\site-packages\dvc\command\base.py", line 48, in __init__
updater.check()
File "c:\users\luisfelipe_melo_mora\appdata\local\programs\python\python37-32\lib\site-packages\dvc\updater.py", line 54, in check
self._with_lock(self._check, "checking")
File "c:\users\luisfelipe_melo_mora\appdata\local\programs\python\python37-32\lib\site-packages\dvc\updater.py", line 45, in _with_lock
func()
File "c:\users\luisfelipe_melo_mora\appdata\local\programs\python\python37-32\lib\site-packages\flufl\lock\_lockfile.py", line 338, in __exit__
self.unlock()
File "c:\users\luisfelipe_melo_mora\appdata\local\programs\python\python37-32\lib\site-packages\flufl\lock\_lockfile.py", line 287, in unlock
raise NotLockedError('Already unlocked')
flufl.lock._lockfile.NotLockedError: Already unlocked
------------------------------------------------------------
Having any troubles? Hit us up at https://dvc.org/support, we are always happy to help!
I have a remote configuration by SSH:
['remote "myssh"']
url = ssh://domain:/path
user = myuser
port = 22
ask_password = true
[core]
remote = myssh
And here the version of dvc that im using:
> dvc version
DVC version: 0.69.0
Python version: 3.7.4
Platform: Windows-10-10.0.17134-SP0
Binary: False
Package: pip
Cache: reflink - False, hardlink - True, symlink - False
Thanks for your help!
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 69 (42 by maintainers)
findstr
instead ofgrep
on windowsI get the same error when doing:
Which is just a skin over XP, right?
Win 7 and XP both have 40M lines of code (Vista in between had 50). I doubt things are much different now 😃
lol, just read the NTFS wikipedia article, the 3.1 version was released during XP (it is the latest version, so nothing to see here). What Windows version are you using, btw? Not sure if they changed something related to the link count https://support.microsoft.com/en-us/help/4523205 😅
Done 😉