Can't load Session: programming error / add_Region() / XML Node / unknown source id

“Ardouston, we got a problem…”


Ubuntu 7.04

ardour 2.0
(built from revision 1762)


I had a session running well.
Recorded some freestyles on soma-fm-stream (big fun).
Did that 3 Times, ended up with 3 Vocal-Tracks and 3 Soma-fm-Stream-Recorded Tracks.
Started arranging them.
Session started responding slowly.
I saved.
I quit.
I stopped Jack.
I quit Jack.
Restarted Jack.
Restarted Ardour.
Tried to load Session.
Got these Error-Messages:

Window 1:

programming error: unknown region type passed to Session:: add_Region()

[Press to Exit]

Window 2:

[ERROR]: Session: XMLNode describing an AudioRegion references an unknown source id = 1570
[ERROR]: Session: cannot create Region from XML description.
[ERROR]: Session: XMLNode describing an AudioRegion references an unknown source id = 1593
[ERROR]: Session: cannot create Region from XML description.
[ERROR]: Session: XMLNode describing an AudioRegion references an unknown source id = 1570
[ERROR]: Session: cannot create Region from XML description.

Screenshot is available here:
http://img144.imageshack.us/img144/5856/ardourdead2gp9.png

Is there a way i can recover this Session?

/project-folder/interchange/paqdojonaan___radiostylers/audiofiles
Contains all the files, so the files are there.

My Project-Folder also contains the following files:
/media/sda4/zoundzone/ardour2-projects/paqdojonaan___radiostylers/instant.xml
/media/sda4/zoundzone/ardour2-projects/paqdojonaan___radiostylers/paqdojonaan___radiostylers.ardour
/media/sda4/zoundzone/ardour2-projects/paqdojonaan___radiostylers/paqdojonaan___radiostylers.ardour.bak
/media/sda4/zoundzone/ardour2-projects/paqdojonaan___radiostylers/paqdojonaan___radiostylers.history
/media/sda4/zoundzone/ardour2-projects/paqdojonaan___radiostylers/paqdojonaan___radiostylers.history.bak

Can it be a damaged XML-File?
Can i repair that?
Or is it easier to open a new Session an reimport all the Tracks?
If yes, how to reimport the split Left/Right-Audiofiles from the Stereo-Tracks back into one Stereo-Track?

Postings with the same Problem:
http://ardour.org/node/1310 = no clear step-by-step solution.
http://ardour.org/node/1136 = have to delete some lines from .ardour-File
Gonna do this by Trial-and-Terror.
Backing up .ardour-files…
mmmh…
trying to edit my Session-File: paqdojonaan___radiostylers.ardour…
but don’t know what to do, need to seek further guidance…
… from you :wink:

My XML-File can be found here:
http://screencast.kilu.de/ardour/paqdojonaan___radiostylers.ardour
http://screencast.kilu.de/ardour/

Any hints appreciated,

Peace,

;j

Okay, Problem solved with the friendly help of the People from the IRC-Channel.

Here’s the solution.

Open the .ardour-File

Search for the source ids from your Error-Message, in my case 1570 & 1593.

Delete the -Tags containing these Numbers completely.

... 1570 ...

Repeat til u get no more Error-Messages, Session should load without problems then.

I was reminded to upgrade to a newer Ardour-Version, where these Problems are fixed.

Peace,

;j