I’m ripping and importing a bunch of CDs and one CD just refuses to import.
I’m on Fedora Linux 38. The album is Spritis of the Western Sky by Justin Hayward.
I ripped the CD to /home/andy/rips/Justin Hayward/Spirits Of The Western Sky
My music library is on a Synology NAS and shared out vis SMB.
The line in my fstab to mount my music is:
//172.25.100.3/music-library /mnt/music-library cifs username=fedora-server,password=strong_password,uid=1000,gid=1000,iocharset=utf8 0 0
When I run the command beet import ~/rips/Justin\ Hayward
and let it import the album, I get the following errors
Traceback (most recent call last):
File "/home/andy/.local/lib/python3.11/site-packages/beets/util/__init__.py", line 496, in move
os.replace(path, dest)
OSError: [Errno 18] Invalid cross-device link: b'/home/andy/rips/Justin Hayward/Spirits Of The Western Sky/02 One Day, Someday.flac' -> b'/mnt/music-library/FLAC/Justin Hayward/Spirits of the Western Sky/02 One Day, Someday.flac'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/andy/.local/lib/python3.11/site-packages/beets/util/__init__.py", line 504, in move
os.replace(tmp, dest)
OSError: [Errno 16] Device or resource busy: '/mnt/music-library/FLAC/Justin Hayward/Spirits of the Western Sky/.02 One Day, Someday.flac_bitjsr0.beets' -> b'/mnt/music-library/FLAC/Justin Hayward/Spirits of the Western Sky/02 One Day, Someday.flac'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/andy/.local/lib/python3.11/site-packages/beets/util/__init__.py", line 508, in move
raise FilesystemError(exc, 'move', (path, dest),
beets.util.FilesystemError: Device or resource busy while moving /home/andy/rips/Justin Hayward/Spirits Of The Western Sky/02 One Day, Someday.flac to /mnt/music-library/FLAC/Justin Hayward/Spirits of the Western Sky/02 One Day, Someday.flac
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/andy/.local/bin/beet", line 33, in <module>
sys.exit(load_entry_point('beets==1.6.0', 'console_scripts', 'beet')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/andy/.local/lib/python3.11/site-packages/beets/ui/__init__.py", line 1285, in main
_raw_main(args)
File "/home/andy/.local/lib/python3.11/site-packages/beets/ui/__init__.py", line 1272, in _raw_main
subcommand.func(lib, suboptions, subargs)
File "/home/andy/.local/lib/python3.11/site-packages/beets/ui/commands.py", line 973, in import_func
import_files(lib, paths, query)
File "/home/andy/.local/lib/python3.11/site-packages/beets/ui/commands.py", line 943, in import_files
session.run()
File "/home/andy/.local/lib/python3.11/site-packages/beets/importer.py", line 340, in run
pl.run_parallel(QUEUE_SIZE)
File "/home/andy/.local/lib/python3.11/site-packages/beets/util/pipeline.py", line 446, in run_parallel
raise exc_info[1].with_traceback(exc_info[2])
File "/home/andy/.local/lib/python3.11/site-packages/beets/util/pipeline.py", line 358, in run
self.coro.send(msg)
File "/home/andy/.local/lib/python3.11/site-packages/beets/util/pipeline.py", line 170, in coro
task = func(*(args + (task,)))
^^^^^^^^^^^^^^^^^^^^^^^
File "/home/andy/.local/lib/python3.11/site-packages/beets/importer.py", line 1566, in manipulate_files
task.manipulate_files(
File "/home/andy/.local/lib/python3.11/site-packages/beets/importer.py", line 757, in manipulate_files
item.move(operation)
File "/home/andy/.local/lib/python3.11/site-packages/beets/library.py", line 922, in move
self.move_file(dest, operation)
File "/home/andy/.local/lib/python3.11/site-packages/beets/library.py", line 821, in move_file
util.move(self.path, dest)
File "/home/andy/.local/lib/python3.11/site-packages/beets/util/__init__.py", line 512, in move
os.remove(tmp)
OSError: [Errno 16] Device or resource busy: '/mnt/music-library/FLAC/Justin Hayward/Spirits of the Western Sky/.02 One Day, Someday.flac_bitjsr0.beets'
I’ve imported 3 other albums today without issue.