Page MenuHome

bl_app_templates_system not working in {BLENDER_SYSTEM_SCRIPTS}
Open, NormalPublic


System Information

Blender Version
Broken: 2.79 RC1

Short description of error
bl_app_templates_user is not working in {BLENDER_SYSTEM_SCRIPTS}

Exact steps for others to reproduce the error
bl_app_templates_user folder in the local config files is working
Switch between templates is working well.

But it is not working if templates are located in the system Blender files with bl_app_templates_system folder:
Templates are not recognized.

Related Objects

Event Timeline

Bastien Montagne (mont29) lowered the priority of this task from Needs Triage by Developer to Normal.Aug 20 2017, 5:30 PM

@Campbell Barton (campbellbarton) I think you already fixed this, should be working in RC2, right?

Still not working in RC2.

But something weird happens if the folder bl_app_templates_system is renamed to bl_app_templates_user in Blender system path (/media/data/applications/blender2.79/2.79/scripts/startup/bl_app_templates_user): templates are recognized in the splash screen but not working when selected (it sets Blender with factory settings).

I've tested it in the final 2.79 release and the issue is still there. bl_app_templates_system in the system path is not recognized.

Thanks for the fix.
A template is already in production where I work and it seems to work very well in 2.79a.

Actually, there is still an issue. While being in a template, make a new file (CTRL+N) will set the default Blender instead of the default template (except if the user has save his local "config" prefs before).

There is also two other issues related to the bl_app_templates_system folder if it is not placed into the Blender installation but in another folder and set to Blender when launched with env variable or --env-system-scripts: the template is not listed in the UI but the command bpy.ops.wm.read_homefile(use_splash=True, app_template="my_template") is switching to the right template except the file which is not excecuted at all.