-
Type:
Bug
-
Resolution: Invalid
-
Priority:
Normal
-
None
-
Affects Version/s: 2.13.3
-
Component/s: File Move & Rename
-
None
-
Environment:Ubuntu
For several releases now I've found that picard can not read files when located on a NFS mounted directory. When I drag a flac file in I get the following error.
E: 13:24:21,875 util/thread.run:69: Traceback (most recent call last): File "/app/lib/python3.12/site-packages/mutagen/_util.py", line 251, in _openfile fileobj = open(filename, "rb+" if writable else "rb") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: b'/mnt/Audio/Vetting/Melody Gardot-Currency Of Man-CD-FLAC-2015-BOCKSCAR-xpost/01-melody_gardot-it_gonna_come.flac' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/lib/python3.12/site-packages/picard/util/thread.py", line 66, in run result = self.func() ^^^^^^^^^^^ File "/app/lib/python3.12/site-packages/picard/file.py", line 240, in _load_check return self._load(filename) ^^^^^^^^^^^^^^^^^^^^ File "/app/lib/python3.12/site-packages/picard/formats/vorbis.py", line 136, in _load file = self._File(encode_filename(filename)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/lib/python3.12/site-packages/mutagen/_file.py", line 48, in __init__ self.load(*args, **kwargs) File "/app/lib/python3.12/site-packages/mutagen/_util.py", line 185, in wrapper return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/app/lib/python3.12/site-packages/mutagen/_util.py", line 154, in wrapper with _openfile(self, filething, filename, fileobj, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/contextlib.py", line 137, in __enter__ return next(self.gen) ^^^^^^^^^^^^^^ File "/app/lib/python3.12/site-packages/mutagen/_util.py", line 272, in _openfile raise MutagenError(e) mutagen.MutagenError: [Errno 2] No such file or directory: b'/mnt/Audio/Vetting/Melody Gardot-Currency Of Man-CD-FLAC-2015-BOCKSCAR-xpost/01-melody_gardot-it_gonna_come.flac' E: 13:24:21,881 ui/item.error_append:108: <FLACFile '01-melody_gardot-it_gonna_come.flac'>: [Errno 2] No such file or directory: b'/mnt/Audio/Vetting/Melody Gardot-Currency Of Man-CD-FLAC-2015-BOCKSCAR-xpost/01-melody_gardot-it_gonna_come.flac' E: 13:24:21,884 file._loading_finished:258: Guessing format of /mnt/Audio/Vetting/Melody Gardot-Currency Of Man-CD-FLAC-2015-BOCKSCAR-xpost/01-melody_gardot-it_gonna_come.flac failed Traceback (most recent call last): File "/app/lib/python3.12/site-packages/picard/file.py", line 256, in _loading_finished alternative_file = guess_format(self.filename) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/lib/python3.12/site-packages/picard/formats/util.py", line 62, in guess_format with open(filename, 'rb', 0) as fileobj: ^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '/mnt/Audio/Vetting/Melody Gardot-Currency Of Man-CD-FLAC-2015-BOCKSCAR-xpost/01-melody_gardot-it_gonna_come.flac'
If I copy the same files to my local desktop then drag it into picard, it all works correctly.