Open Runeii opened 8 months ago
These error traces can be a little misleading if you don't read super closely. Your error above is actually more than one error, where one causes the next, which causes the next:
During handling of the above exception, another exception occurred:
The first error that occurs is this one:
Traceback (most recent call last):
File "/lsiopy/lib/python3.11/site-packages/beets/util/__init__.py", line 496, in move
os.replace(path, dest)
OSError: [Errno 18] Cross-device link: b'/music/Actress/R.I.P/01 - R.I.P_.mp3' -> b'/incoming/Actress/R.I.P. [15093]/01 - R.I.P_.mp3'
Python is unhappy about /music
and /incoming
being on separate "devices". What a device means depends on your setup. Are you running Ubuntu on WSL or just plain Ubuntu?
I'm trying to move my Beets library from
/music
to/Incoming
, using:beet -vv move -d /incoming
This ran for the first couple of hundred tracks, but then has started to fail for all tracks. The command complains that there is "No such file or directory": b'/music/Actress/R.I.P/01 - R.I.P_.mp3', but I can confirm this does exist and is not behind any restricted permissions.
Weirder, it seems to be creating weirdly named folders in the output directory:
To confirm, in the above example, the source folder has a single directory for the albums Hazyville and R.I.P – and neither is suffixed with numbers in square brackets.
On the chance it was this single artist, I ran
beet rm Actress
and tried to continue the task, but it instead complains about the first track after this artist.Problem
Running this command in verbose (
-vv
) mode:Led to this problem:
Here's a link to the music files that trigger the bug (if relevant):
Setup
My configuration (output of
beet config
) is: