Save as results in Ambiguous File dialogs

I perform a Save As… of a project under a different name to a different location.
I ask for all files to be copied.

In the new project .ardour file Config items audio-search-path and midi-search-path still refer to the original project locations. When opening the new project, this leads to a pile of ‘Ambiguous File’ dialogs. Each time.

Did I do something wrong?

What version of Ardour is this?

The one and only 5.12.0…

Ardour5.12.0 (built using 5.12 and GCC version 8.3.1 20190223 (Red Hat 8.3.1-2))

More strangeness…

This is the list of files of project Scratch, located in /home/jv/tmp:

Scratch/
Scratch/Scratch.ardour
Scratch/Scratch.ardour.bak
Scratch/Scratch.history
Scratch/Scratch.history.bak
Scratch/analysis/
Scratch/dead/
Scratch/export/
Scratch/externals/
Scratch/externals/Airfont340GS.sf2 -> /usr/local/share/soundfonts/Airfont340GS.sf2
Scratch/instant.xml
Scratch/interchange/
Scratch/interchange/Scratch/
Scratch/interchange/Scratch/audiofiles/
Scratch/interchange/Scratch/audiofiles/x%L.wav
Scratch/interchange/Scratch/audiofiles/x%R.wav
Scratch/interchange/Scratch/midifiles/
Scratch/interchange/Scratch/midifiles/MIDI-1.mid
Scratch/peaks/
Scratch/peaks/157a43826c12e7f6da6a6b849585c6a6d0fddfaf.peak
Scratch/peaks/23f7efe3b9b1dcb06c1e00b1d510b10ffcfa93e6.peak
Scratch/peaks/71adf6ba87203d25a0cddc940def0da8cf1c0bf0.peak
Scratch/peaks/ee4ea7a1d5bc07bc14c2f8f5d38eac0441ea59f0.peak
Scratch/plugins/
Scratch/plugins/273/
Scratch/plugins/273/state1/
Scratch/plugins/273/state1/Airfont340GS.sf2 -> ../../../externals/Airfont340GS.sf2
Scratch/plugins/273/state1/manifest.ttl
Scratch/plugins/273/state1/state.ttl
Scratch/plugins/273/state2/
Scratch/plugins/273/state2/manifest.ttl
Scratch/plugins/273/state2/state.ttl
Scratch/plugins/273/state3/
Scratch/plugins/273/state3/Airfont340GS.sf2 -> ../../../externals/Airfont340GS.sf2
Scratch/plugins/273/state3/manifest.ttl
Scratch/plugins/273/state3/state.ttl

After performing a Save As… to Scratch2 the new project gets these files:

Scratch2/
Scratch2/Scratch2.ardour
Scratch2/Scratch2.ardour.bak
Scratch2/Scratch2.history
Scratch2/Scratch2.history.bak
Scratch2/dead/
Scratch2/export/
Scratch2/instant.xml
Scratch2/interchange/
Scratch2/interchange/Scratch2/
Scratch2/interchange/Scratch2/audiofiles/
Scratch2/interchange/Scratch2/audiofiles/x%L.wav
Scratch2/interchange/Scratch2/audiofiles/x%R.wav
Scratch2/interchange/Scratch2/midifiles/
Scratch2/interchange/Scratch2/midifiles/MIDI-1.mid
Scratch2/interchange/Scratch2/videofiles/
Scratch2/peaks/
Scratch2/plugins/
Scratch2/plugins/273/
Scratch2/v/
Scratch2/v/tmp/
Scratch2/v/tmp/Scratch/
Scratch2/v/tmp/Scratch/externals/
Scratch2/v/tmp/Scratch/externals/Airfont340GS.sf2
Scratch2/v/tmp/Scratch/instant.xml
Scratch2/v/tmp/Scratch/peaks/
Scratch2/v/tmp/Scratch/peaks/157a43826c12e7f6da6a6b849585c6a6d0fddfaf.peak
Scratch2/v/tmp/Scratch/peaks/23f7efe3b9b1dcb06c1e00b1d510b10ffcfa93e6.peak
Scratch2/v/tmp/Scratch/peaks/71adf6ba87203d25a0cddc940def0da8cf1c0bf0.peak
Scratch2/v/tmp/Scratch/peaks/ee4ea7a1d5bc07bc14c2f8f5d38eac0441ea59f0.peak
Scratch2/v/tmp/Scratch/plugins/
Scratch2/v/tmp/Scratch/plugins/273/
Scratch2/v/tmp/Scratch/plugins/273/state1/
Scratch2/v/tmp/Scratch/plugins/273/state1/Airfont340GS.sf2
Scratch2/v/tmp/Scratch/plugins/273/state1/manifest.ttl
Scratch2/v/tmp/Scratch/plugins/273/state1/state.ttl
Scratch2/v/tmp/Scratch/plugins/273/state2/
Scratch2/v/tmp/Scratch/plugins/273/state2/manifest.ttl
Scratch2/v/tmp/Scratch/plugins/273/state2/state.ttl
Scratch2/v/tmp/Scratch/plugins/273/state3/
Scratch2/v/tmp/Scratch/plugins/273/state3/Airfont340GS.sf2
Scratch2/v/tmp/Scratch/plugins/273/state3/manifest.ttl
Scratch2/v/tmp/Scratch/plugins/273/state3/state.ttl

My intuition tells me this may be caused by the symlinks to the soundfont. The copied project does not contain symlinks, but several copies of the (huge!) soundfont.

Other than increased disk-space that’s fine.

LV2 state saving is smart and tries to symlink whenever possible. Ardour save-as does not make any assumptions and simply de-references the file. Usually save-as is used to copy sessions on external media, or some-place where relative symlinks may not continue to work.

Anyway that’s unrelated.

The issue at hand is likely because you’ve added an absolute search path to the original session. Maybe due to an earlier missing file, or perhaps by drag/drop import?

Check Menu > Session >Properties > Locations if there are any manually set ones that can be removed.

There are two locations,

/home/jv/tmp/Scratch/interchange/Scratch/audiofiles
/home/jv/tmp/Scratch/interchange/Scratch/midifiles

I did not set them. This project was created from scratch:

$ cd /home/jv/tmp
$ ardour --new Scratch

Then one midi track created, and one audio track imported using the Session > Import dialog.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.