Invalid or corrupted session state (SOLVED)

Hello!

I closed a session after delete a source accidentally and now I got this error when I try to open it:

From terminal output

ERROR: Session: XMLNode describing a AudioRegion references an unknown source id =24121
ERROR: Session: cannot create Region from XML description. Can not load state for region ‘Shaker’
ERROR: Session: XMLNode describing a AudioRegion references an unknown source id =24121
ERROR: Session: cannot create Region from XML description. Can not load state for region ‘Shaker.1-L’
ERROR: Session: XMLNode describing a AudioRegion references an unknown source id =24121
ERROR: Playlist: cannot create region from XML
ERROR: Session: cannot create Playlist from XML description.
ERROR: Could not set session state from XML

Screenshot_20200911_015033

It’s a huge session that I was about to start working on… I had just set up everything and made this mistake ):

Could I edit .ardour session file and restore my session? What should I do?

Thanks.

Guys, I solved it.

Here is what I did:

I changed all “24121” in .ardour file to 24123 because there was another source for my “Shaker.1-R” region using this id. I thought “Maybe I can associate this source with that region causing the problem because it no longer finds its source of id 24121” and it actually works.

That’s it.

5 Likes

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

Fixed in Ardour 8.2 - see 0009536: 'cleanup sources' removes sources still in use - MantisBT

2 Likes