Musicbrainz won't save my file to disc

Hello,

I have used Musicbrainz for some weeks now and could solve all issues but one. I have an external hardrive (F:\) to which I automatically save my album once the tagging process is done. But when it comes to saving and moving files, I get a red stop sign for some files (not all), and an error message.

I checked that all the “read only” state is unchecked for all files.

The error dialogue says that the program cannot find the directory where to write the files, but that does not makes sense to me, as it could perfectly find it for the first file…

What am I missing ?
Marc

PS: this is my first post here, so please forgive me if i have done anything wrong

D: 06:35:17,570 formats.vorbis._save:228: Saving file ‘J:\Users\Jean-Marc\Music\Bach Matthäus-Passion\10 Harnoncourt, Concentus Musicus Wien (Teldec, 2000)\Bach - St Matthew Passion - 02 - Evangelist Da Jesus diese Rede vollendet hatte.flac’
D: 06:35:17,600 file._rename:468: Moving file ‘J:\Users\Jean-Marc\Music\Bach Matthäus-Passion\10 Harnoncourt, Concentus Musicus Wien (Teldec, 2000)\Bach - St Matthew Passion - 02 - Evangelist Da Jesus diese Rede vollendet hatte.flac’ => ‘F:\musicbrainz\Johann Sebastian Bach; Christoph Prégardien, Matthias Goerne, Christine Schäfer, Dorothea Röschmann, Bernarda Fink, Elisabeth von Magnus, Michael Schade, Markus Schäfer, Dietrich Henschel, Oliver Widmer, Arnold Schönberg Chor,\Matthäus-Pas (1).flac’
E: 06:35:17,601 util.thread.run:64: Traceback (most recent call last):
File “shutil.py”, line 566, in move
FileNotFoundError: [WinError 3] Le chemin d’accès spécifié est introuvable: ‘J:\Users\Jean-Marc\Music\Bach Matthäus-Passion\10 Harnoncourt, Concentus Musicus Wien (Teldec, 2000)\Bach - St Matthew Passion - 02 - Evangelist Da Jesus diese Rede vollendet hatte.flac’ → ‘F:\musicbrainz\Johann Sebastian Bach; Christoph Prégardien, Matthias Goerne, Christine Schäfer, Dorothea Röschmann, Bernarda Fink, Elisabeth von Magnus, Michael Schade, Markus Schäfer, Dietrich Henschel, Oliver Widmer, Arnold Schönberg Chor,\Matthäus-Pas (1).flac’

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “picard\util\thread.py”, line 60, in run
File “picard\file.py”, line 297, in _save_and_rename
File “picard\file.py”, line 469, in _rename
File “shutil.py”, line 580, in move
File “shutil.py”, line 266, in copy2
File “shutil.py”, line 121, in copyfile
FileNotFoundError: [Errno 2] No such file or directory: ‘F:\musicbrainz\Johann Sebastian Bach; Christoph Prégardien, Matthias Goerne, Christine Schäfer, Dorothea Röschmann, Bernarda Fink, Elisabeth von Magnus, Michael Schade, Markus Schäfer, Dietrich Henschel, Oliver Widmer, Arnold Schönberg Chor,\Matthäus-Pas (1).flac’

D: 06:35:17,602 file.update:614: Updating file <FLACFile ‘Bach - St Matthew Passion - 02 - Evangelist Da Jesus diese Rede vollendet hatte.flac’>

The target filepath is very long (466 characters), it might be related to filesystem path length limits.

2 Likes

Thanks for the quick answer Zas
This would not explain why the first track is correctly saved, contrary to the sixth one for instance (with a shorter title)
I tried to change the options by adding a truncate at the end of the command :

$if2(%albumartist%,%artist%)/

$if(%albumartist%,/%album%,)

$if($gt(%totaldiscs%,1),%discnumber%-,)$if($and(%albumartist%,%tracknumber%),$num(%tracknumber%,2) ,)$if(%_multiartist%,%artist% - ,)$truncate(%title%,300)

But this did not solved the problem…
:slightly_frowning_face:

I tried to close and lauch musicbrainz again. To my surprise, this led to some progress

musicbrainz

now the error occur at track 58 instead of 2. The error message is probably too long to be pasted here, but I attach the part where the first problem occured (in red).

I have no clue of what’s happening, nor what should I do… Help, please !
Marc :anguished:


(…)

D: 09:06:40,619 file.update:614: Updating file <FLACFile ‘Bach - St Matthew Passion - 67 - Recitativo- Nun ist der Herr zur Ruh gebracht.flac’>

D: 09:06:40,626 file.update:614: Updating file <FLACFile ‘Bach - St Matthew Passion - 68 - Chorus (1 2)- Wir setzen uns mit Tränen nieder.flac’>

D: 09:06:40,648 ui.coverartbox.load_remote_image:530: Replacing with dropped CoverArtImage(url=‘file:///J:/Users/Jean-Marc/Music/Bach Matthäus-Passion/10 Harnoncourt, Concentus Musicus Wien (Teldec, 2000)/Scans/jaq.jpg’, types=[‘front’], support_types=False, support_multi_types=False) in <Album b2acf82b-3e5a-413f-a6d9-82d0ad0bfadd ‘Matthäus-Passion BWV 244’>

D: 09:06:52,785 formats.vorbis._save:228: Saving file ‘J:\Users\Jean-Marc\Music\Bach Matthäus-Passion\10 Harnoncourt, Concentus Musicus Wien (Teldec, 2000)\Matthäus-Pas.flac’

D: 09:06:55,011 file._rename:468: Moving file ‘J:\Users\Jean-Marc\Music\Bach Matthäus-Passion\10 Harnoncourt, Concentus Musicus Wien (Teldec, 2000)\Matthäus-Pas.flac’ => ‘F:\musicbrainz\Johann Sebastian Bach; Christoph Prégardien, Matthias Goerne, Christine Schäfer, Dorothea Röschmann, Bernarda Fink, Elisabeth von Magnus, Michael Schade, Markus Schäfer, Dietrich Henschel, Oliver Widmer, Arnold Schönberg Chor,\Matthäus-Pas (1).flac’

E: 09:06:55,054 util.thread.run:64: Traceback (most recent call last):

File “shutil.py”, line 566, in move

FileNotFoundError: [WinError 3] Le chemin d’accès spécifié est introuvable: ‘J:\Users\Jean-Marc\Music\Bach Matthäus-Passion\10 Harnoncourt, Concentus Musicus Wien (Teldec, 2000)\Matthäus-Pas.flac’ → ‘F:\musicbrainz\Johann Sebastian Bach; Christoph Prégardien, Matthias Goerne, Christine Schäfer, Dorothea Röschmann, Bernarda Fink, Elisabeth von Magnus, Michael Schade, Markus Schäfer, Dietrich Henschel, Oliver Widmer, Arnold Schönberg Chor,\Matthäus-Pas (1).flac’

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File “picard\util\thread.py”, line 60, in run

File “picard\file.py”, line 297, in _save_and_rename

File “picard\file.py”, line 469, in _rename

File “shutil.py”, line 580, in move

File “shutil.py”, line 266, in copy2

File “shutil.py”, line 121, in copyfile

FileNotFoundError: [Errno 2] No such file or directory: ‘F:\musicbrainz\Johann Sebastian Bach; Christoph Prégardien, Matthias Goerne, Christine Schäfer, Dorothea Röschmann, Bernarda Fink, Elisabeth von Magnus, Michael Schade, Markus Schäfer, Dietrich Henschel, Oliver Widmer, Arnold Schönberg Chor,\Matthäus-Pas (1).flac’

D: 09:06:55,065 formats.vorbis._save:228: Saving file ‘J:\Users\Jean-Marc\Music\Bach Matthäus-Passion\10 Harnoncourt, Concentus Musicus Wien (Teldec, 2000)\Bach - St Matthew Passion - 02 - Evangelist Da Jesus diese Rede vollendet hatte.flac’

D: 09:06:55,460 file._rename:468: Moving file ‘J:\Users\Jean-Marc\Music\Bach Matthäus-Passion\10 Harnoncourt, Concentus Musicus Wien (Teldec, 2000)\Bach - St Matthew Passion - 02 - Evangelist Da Jesus diese Rede vollendet hatte.flac’ => ‘F:\musicbrainz\Johann Sebastian Bach; Christoph Prégardien, Matthias Goerne, Christine Schäfer, Dorothea Röschmann, Bernarda Fink, Elisabeth von Magnus, Michael Schade, Markus Schäfer, Dietrich Henschel, Oliver Widmer, Arnold Schönberg Chor,\Matthäus-Pas (1).flac’

E: 09:06:55,527 util.thread.run:64: Traceback (most recent call last):

(…)

It looks like all the moved files end up under the same filename, I hope you haven’t lost any files after Picard progressed to track 57?
Can you show us a list of all files in the target directory?

I keep on having only one file into the target directory : Mathaüs-Pas.flac
Happily, i made a backup of the album prior to running Musicbrainz, thanks.