View Issue Details

IDProjectCategoryView StatusLast Update
0002055ardourbugspublic2020-04-19 20:12
Reporternowhiskey Assigned Topaul  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product VersionSVN/2.0-ongoing 
Summary0002055: mismatch while creating templates
Descriptionongoing@2971

-create new session
-add 8 mono tracks (or do not, always the same behavior)
-'save as template'
-choose the simplest name for the template: 'template'
-close the session
-create another new session using the newly created template
-ardour will open without the 8 tracks (in this case) and without the master bus (always).

i ll try to attach a screenshot for make it better understandable.
please ignore the little xterm in the screenshot, it is only there for making the screenshot.

cheers,
doc
TagsNo tags attached.

Activities

2008-01-29 05:23

 

template.png (41,468 bytes)   
template.png (41,468 bytes)   

nowhiskey

2008-01-29 05:26

reporter   ~0004684

oops, i just realized that exactly the same happens, if i do not create a template, but just use anyone which is shipped with ardour (2 Track Template....32 Track Template).

cheers,
doc

nowhiskey

2008-01-29 18:27

reporter   ~0004685

Last edited: 2008-01-29 18:28

ok, i now found out, that i am able to reproduce the same behavior (as shown in the screeshot) without using any templates. normally nobody would do this in the work flow, but it is perhaps an additional information.

-create new session
-let the playhead rolling
-open up xterm and 'kill -9 ardour-pid'
-now open the session again
-ardour log window saying:

[WARNING]: Session: XML state has no click section
[ERROR]: control protocol XML node has no name property. Ignored.

-ardour starts without the master bus, see the screenshot

cheers,
doc

colinf

2008-01-30 16:13

updater   ~0004688

I think note 4685 isn't the same bug.

Anyway, I reproduced (very easily) the problem with creating a new session from a template. I hacked a quick fix: I'll upload it in a minute...

2008-01-30 16:14

 

fix-templates.patch (667 bytes)   
Index: gtk2_ardour/ardour_ui.cc
===================================================================
--- gtk2_ardour/ardour_ui.cc	(revision 2979)
+++ gtk2_ardour/ardour_ui.cc	(working copy)
@@ -2280,6 +2287,7 @@
 				session_path = new_session_dialog->session_folder();
 			}
 
+			template_name = Glib::ustring();			
 			switch (new_session_dialog->which_page()) {
 
 			case NewSessionDialog::OpenPage: 
@@ -2329,7 +2337,7 @@
 		  loadit:
 			new_session_dialog->hide ();
 			
-			if (load_session (session_path, session_name)) {
+			if (load_session (session_path, session_name, template_name)) {
 				/* force a retry */
 				response = Gtk::RESPONSE_NONE;
 			}

fix-templates.patch (667 bytes)   

nowhiskey

2008-01-30 17:21

reporter   ~0004689

hallo colinf, i applied the patch to ongoing@2979.
if i create a session, save as template and than open another session with this template, everything works as expected, but if i try to create a new session using the default templates shipped with ardour, the i/o connection are not restored.
for me it looks like the templates are expecting jack-port-names which now in 0.109 have changed.

[ERROR]: AudioEngine: cannot connect ardour:master/out 1 (ardour:master/out 1) to alsa_pcm:playback_1 (alsa_pcm:playback_1)
[ERROR]: AudioEngine: cannot connect ardour:master/out 2 (ardour:master/out 2) to alsa_pcm:playback_2 (alsa_pcm:playback_2)
[ERROR]: AudioEngine: cannot connect alsa_pcm:capture_1 (alsa_pcm:capture_1) to ardour:Audio 1/in 1 (ardour:Audio 1/in 1)
[ERROR]: AudioEngine: cannot connect alsa_pcm:capture_2 (alsa_pcm:capture_2) to ardour:Audio 1/in 2 (ardour:Audio 1/in 2)
[ERROR]: AudioEngine: cannot connect alsa_pcm:capture_1 (alsa_pcm:capture_1) to ardour:Audio 2/in 1 (ardour:Audio 2/in 1)
[ERROR]: AudioEngine: cannot connect alsa_pcm:capture_2 (alsa_pcm:capture_2) to ardour:Audio 2/in 2 (ardour:Audio 2/in 2)
[ERROR]: AudioEngine: cannot connect alsa_pcm:capture_1 (alsa_pcm:capture_1) to ardour:Audio 3/in 1 (ardour:Audio 3/in 1)
[ERROR]: AudioEngine: cannot connect alsa_pcm:capture_2 (alsa_pcm:capture_2) to ardour:Audio 3/in 2 (ardour:Audio 3/in 2)
[ERROR]: AudioEngine: cannot connect alsa_pcm:capture_1 (alsa_pcm:capture_1) to ardour:Audio 4/in 1 (ardour:Audio 4/in 1)
[ERROR]: AudioEngine: cannot connect alsa_pcm:capture_2 (alsa_pcm:capture_2) to ardour:Audio 4/in 2 (ardour:Audio 4/in 2)
[ERROR]: AudioEngine: cannot connect ardour:click/out 1 (ardour:click/out 1) to alsa_pcm:playback_1 (alsa_pcm:playback_1)

except of this, everything else works.


cheers,
doc

colinf

2008-01-30 17:27

updater   ~0004690

Ah, I'm still using jack 0.103.0 from Ubuntu 7.10, so the new jack port names aren't a problem for me.

paul

2008-01-30 18:51

administrator   ~0004691

patch applied. to be committed today.

system

2020-04-19 20:12

developer   ~0021622

Issue has been closed automatically, by Trigger Close Plugin.
Feel free to re-open with additional information if you think the issue is not resolved.

Issue History

Date Modified Username Field Change
2008-01-29 05:23 nowhiskey New Issue
2008-01-29 05:23 nowhiskey File Added: template.png
2008-01-29 05:26 nowhiskey Note Added: 0004684
2008-01-29 18:27 nowhiskey Note Added: 0004685
2008-01-29 18:28 nowhiskey Note Edited: 0004685
2008-01-30 16:13 colinf Note Added: 0004688
2008-01-30 16:14 colinf File Added: fix-templates.patch
2008-01-30 17:21 nowhiskey Note Added: 0004689
2008-01-30 17:27 colinf Note Added: 0004690
2008-01-30 18:51 paul Status new => resolved
2008-01-30 18:51 paul Resolution open => fixed
2008-01-30 18:51 paul Assigned To => paul
2008-01-30 18:51 paul Note Added: 0004691
2020-04-19 20:12 system Note Added: 0021622
2020-04-19 20:12 system Status resolved => closed