How do I fix a corrupt .ardour file

I was working on a track, spent a long time but after saving it I cant re-open it anymore:
(I’m french)

La session “/home/pierre/ardour/enfantin (cliché enfantin)” ne s’est pas chargée correctement :
Impossible d’initialiser la session/moteur : État de session invalide ou corrompu.

—ERROR: Impossible de définir l'état de la session à partir du XML
ERROR: Session: failed to load active playlists
ERROR: Session : impossible de créer une liste de lecture à partir d'une description XML.

If someone can help me to fix it, I’ll be so gratefull

Start ardour in a terminal and load the corrupt session and examine the output. There will be more details on the error there (probably near the start of the messages). Put the output in a pastebin and post a link here.

INFO: Chargement des menus depuis /etc/ardour8/ardour.menus
ERROR: Session : impossible de créer une liste de lecture à partir d’une description XML.
ERROR: Session: failed to load active playlists
ERROR: Impossible de définir l’état de la session à partir du XML

The whole terminal output please. And put it into cpaste.org or a similar site and post a link.

Thank you, here is the link:

Ok, there really isn’t any more useful information. I had a similar case, but there the terminal output actually said what was wrong with the file and I was able to fix it.

I have no idea what’s wrong with your file, sorry.

Can you upload the .ardour file and I’ll have a look.

here is the link, thank you

thank a lot for the time spent. no problem

Region Take33_ride-1.2 has length a6219717000@a7526400000 which is longer than its (first?) source's length of a3376337160
Region Take33_ride-1.3 has length a6219717000@a15052800000 which is longer than its (first?) source's length of a3376337160

I also saw that various recorded sources have a lot of dropouts (xruns). Particularly the Take33-Ride has more than 170. Not sure if that can explain the issue, but it may.

In any case, I’ve changed the two region lengths, and the session should load again https://robin.linuxaudio.org/tmp/enfantin.ardour

1 Like

It works!!! Thank you really much for the time spent to fix it. It’s such a relief for me. Thank you again!

1 Like