Ardour ERROR: Could not set session state from XML [SOLVED]

Support & discussion regarding DAWs and MIDI sequencers.

Moderators: MattKingUSA, khz

Post Reply
Cafe
Established Member
Posts: 33
Joined: Sun Oct 08, 2023 9:50 am
Has thanked: 6 times

Ardour ERROR: Could not set session state from XML [SOLVED]

Post by Cafe »

Hello,

One of my ardor files got destroyed today, even saving won't restore it. What can I do?
This error message when opening:

Session "/home/user/my_file (snapshot my_file)" did not load successfully:
Cannot initialize session/engine: Invalid or corrupt session state.

---ERROR: Could not set session state from XML
ERROR: Session: cannot create Playlist from XML description.
ERROR: Playlist: cannot create region from XML
ERROR: Session: XMLNode describing a MidiRegion references an unknown source id =91057
ERROR: Session: cannot create Region from XML description. Can not load state for region 'Take14_Cardinal Synth 2-5.2'
ERROR: Session: XMLNode describing a MidiRegion references an unknown source id =91057
...

Is it possible to fix at least the midi data in it?

Last edited by Cafe on Fri Oct 27, 2023 3:11 pm, edited 1 time in total.
Cafe
Established Member
Posts: 33
Joined: Sun Oct 08, 2023 9:50 am
Has thanked: 6 times

Re: Ardour ERROR: Could not set session state from XML

Post by Cafe »

Solved :-)

I edited everything in the *ardour file with texteditor

91057

number to

91041

Something might have slipped during the save, the save might have been bad due to double-opened Cardinal windows. I don't know the reason.


Question:
"what can make an ardour-file corrupt?"

Post Reply