Hello,
i have setup a virtualbox machine with debian buster and picard 2.0.4. In that machine a samba folder from my synology is mounted through nautilus. I am able to read and write in shell and in nautilus in that remote folder. I have setup a new remote folder for picard to save tagged files into.
After selecting a music file from the remote folder and tagging it i am not able to save it. There is that red symbol that it did not work. Also the debug log indicates that saving was not possible.
the log msg looks like this:
D: 18:52:58,777 /usr/lib/picard/picard/file.update:500: Updating file <File '07 - Folk Song.mp3'>
D: 18:52:58,823 /usr/lib/picard/picard/formats/id3._save:287: Saving file "/run/user/1000/gvfs/smb-share:server=cloud.local,share=home/Music/17 Hippies/Rock'n'Roll 13/07 - Folk Song.mp3"
E: 18:52:58,935 /usr/lib/picard/picard/util/thread.run:51: Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/mutagen/_util.py", line 235, in _openfile
fileobj = open(filename, "rb+" if writable else "rb")
OSError: [Errno 95] Operation not supported: b"/run/user/1000/gvfs/smb-share:server=cloud.local,share=home/Music/17 Hippies/Rock'n'Roll 13/07 - Folk Song.mp3"
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/mutagen/_util.py", line 245, in _openfile
fileobj = BytesIO(fileobj.read())
OSError: [Errno 22] Invalid argument
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/picard/picard/util/thread.py", line 47, in run
result = self.func()
File "/usr/lib/picard/picard/file.py", line 210, in _save_and_rename
self._save(old_filename, metadata)
File "/usr/lib/picard/picard/formats/id3.py", line 418, in _save
self._save_tags(tags, encode_filename(filename))
File "/usr/lib/picard/picard/formats/id3.py", line 525, in _save_tags
tags.save(filename, v2_version=3, v1=v1, v23_sep=separator)
File "/usr/lib/python3/dist-packages/mutagen/_util.py", line 169, in wrapper
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/mutagen/_util.py", line 139, in wrapper
writable, create) as h:
File "/usr/lib/python3.6/contextlib.py", line 81, in __enter__
return next(self.gen)
File "/usr/lib/python3/dist-packages/mutagen/_util.py", line 247, in _openfile
raise MutagenError(e2)
mutagen.MutagenError: [Errno 22] Invalid argument
D: 18:52:58,937 /usr/lib/picard/picard/file.update:500: Updating file <File '07 - Folk Song.mp3'>
The strange thing is that the new path from options does not show up in debug. its /run/user/1000/gvfs/smb-share:server=cloud.local,share=home/NG-Music
Its possible to save to the remote folder (and also to a local folder) if the source is not remote.
Can somebody help?
Thanks, iBot