Recursive upload cannot hash files
For some reason, when using bdt day upload <dir>
, the end filenames cannot be hashed such as it is the case when they are uploaded individually. Trace:
Traceback (most recent call last):
File "/remote/idiap.svm/user.active/aanjos/mamba/bin/bdt", line 11, in <module>
sys.exit(main())
File "/remote/idiap.svm/user.active/aanjos/mamba/lib/python3.9/site-packages/click/core.py", line 1128, in __call__
return self.main(*args, **kwargs)
File "/remote/idiap.svm/user.active/aanjos/mamba/lib/python3.9/site-packages/click/core.py", line 1053, in main
rv = self.invoke(ctx)
File "/remote/idiap.svm/user.active/aanjos/mamba/lib/python3.9/site-packages/click/core.py", line 1659, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/remote/idiap.svm/user.active/aanjos/mamba/lib/python3.9/site-packages/click/core.py", line 1659, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/remote/idiap.svm/user.active/aanjos/mamba/lib/python3.9/site-packages/click/core.py", line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/remote/idiap.svm/user.active/aanjos/mamba/lib/python3.9/site-packages/click/core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "/remote/idiap.svm/user.active/aanjos/mamba/lib/python3.9/site-packages/bob/devtools/scripts/bdt.py", line 43, in _decorator
value = view_func(*args, **kwargs)
File "/remote/idiap.svm/user.active/aanjos/mamba/lib/python3.9/site-packages/bob/devtools/scripts/dav.py", line 280, in upload
path_with_hash = augment_path_with_hash(k)
File "/remote/idiap.svm/user.active/aanjos/mamba/lib/python3.9/site-packages/bob/devtools/dav.py", line 72, in augment_path_with_hash
raise ValueError(
ValueError: Can only augment path to files with a hash. Got: optic-cup
Edited by André Anjos