dmv.py raises exception file-not-found try to move all the kicks.
(deluge-card-LoHzB_5j-py3.9) bash-3.2$ python scripts/dmv.py ~/Music/DELUGE/TEST/02 "**/DRUMS/Kick/*" ~/Music/DELUGE/TEST/02/SAMPLES
/Users/chrisbc/Music/DELUGE/TEST/02/SAMPLES/CR78 Kick.wav
Traceback (most recent call last):
File "/Users/chrisbc/DEV/ENV/mupaduw/deluge-card/scripts/dmv.py", line 44, in <module>
main() # pragma: no cover
File "/Users/chrisbc/DEV/ENV/mupaduw/deluge-card/scripts/dmv.py", line 39, in main
for moved in mv_samples(card.card_root, song_samples, args.pattern, new_path):
File "/Users/chrisbc/DEV/ENV/mupaduw/deluge-card/deluge_card/deluge_sample.py", line 88, in mv_samples
move_op.do_move()
File "/Users/chrisbc/DEV/ENV/mupaduw/deluge-card/deluge_card/deluge_sample.py", line 124, in do_move
self.old_path.rename(self.new_path)
File "/usr/local/Cellar/python@3.9/3.9.12/Frameworks/Python.framework/Versions/3.9/lib/python3.9/pathlib.py", line 1382, in rename
self._accessor.rename(self, target)
FileNotFoundError: [Errno 2] No such file or directory: '/Users/chrisbc/Music/DELUGE/TEST/02/SAMPLES/DRUMS/Kick/CR78 Kick.wav' -> '/Users/chrisbc/Music/DELUGE/TEST/02/SAMPLES/CR78 Kick.wav'
Description
dmv.py raises exception file-not-found try to move all the kicks.
What I Did